Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 99.78 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.724/1.724, allocations: 292.5 MB / 0.5497 GB, free: 14.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005771/0.0005774, allocations: 13.47 kB / 0.6735 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2429, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.00802/0.251, allocations: 6.501 MB / 0.7935 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6378/0.8888, allocations: 128.7 MB / 0.9191 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008763/0.8897, allocations: 22.19 kB / 0.9192 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004825/0.8902, allocations: 145.2 kB / 0.9193 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.8922, allocations: 0.634 MB / 0.9199 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003134/0.8953, allocations: 0.8524 MB / 0.9208 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002646/0.898, allocations: 1.21 MB / 0.9219 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001916/0.8999, allocations: 1.257 MB / 0.9232 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009313/0.9008, allocations: 0.5465 MB / 0.9237 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009402/0.9018, allocations: 0.583 MB / 0.9243 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.9019, allocations: 46.22 kB / 0.9243 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.903, allocations: 331.5 kB / 0.9246 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003187/0.9033, allocations: 318.8 kB / 0.9249 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000281/0.9036, allocations: 311.5 kB / 0.9252 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002344/0.906, allocations: 1.907 MB / 0.9271 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.906, allocations: 0 / 0.9271 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/0.906, allocations: 2.969 kB / 0.9271 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.689e-05/0.906, allocations: 0 / 0.9271 GB, free: 5.137 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 408 * Number of variables: 408 Notification: Performance of Generate backend data structure: time 0.003567/0.9096, allocations: 1.731 MB / 0.9288 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.9096, allocations: 7.875 kB / 0.9288 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005842/0.9155, allocations: 0.9485 MB / 0.9297 GB, free: 20.05 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001926/0.9174, allocations: 0.9819 MB / 0.9307 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.9176, allocations: 121.8 kB / 0.9308 GB, free: 19.72 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000241/0.9178, allocations: 153.8 kB / 0.9309 GB, free: 19.72 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005587/0.9234, allocations: 2.037 MB / 0.9329 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.867e-05/0.9235, allocations: 0 / 0.9329 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002027/0.9237, allocations: 69.86 kB / 0.933 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001749/0.9239, allocations: 78.75 kB / 0.9331 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006719/0.9306, allocations: 2.401 MB / 0.9354 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01173/0.9423, allocations: 6.406 MB / 0.9417 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004123/0.9465, allocations: 1.575 MB / 0.9432 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006757/0.9472, allocations: 485.6 kB / 0.9437 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002001/0.9492, allocations: 0.918 MB / 0.9446 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=128): time 3.427e-06/0.9492, allocations: 4 kB / 0.9446 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=128): time 0.005771/0.955, allocations: 2.185 MB / 0.9467 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001802/0.9552, allocations: 299.9 kB / 0.947 GB, free: 16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.9564, allocations: 0.8321 MB / 0.9478 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.9566, allocations: 48.61 kB / 0.9479 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004798/0.9571, allocations: 0.6291 MB / 0.9485 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/0.9574, allocations: 427.6 kB / 0.9489 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.868e-05/0.9575, allocations: 24.66 kB / 0.9489 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.9576, allocations: 354.4 kB / 0.9492 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/0.9592, allocations: 0.5844 MB / 0.9498 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001771/0.961, allocations: 0.7765 MB / 0.9506 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.9627, allocations: 0.655 MB / 0.9512 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.9627, allocations: 0 / 0.9512 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004067/0.9668, allocations: 1.605 MB / 0.9528 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005022/0.9673, allocations: 1.139 MB / 0.9539 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.9674, allocations: 4.312 kB / 0.9539 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002304/0.9676, allocations: 38.48 kB / 0.9539 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/0.9694, allocations: 332.5 kB / 0.9542 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/0.9705, allocations: 1.302 MB / 0.9555 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.9721, allocations: 187.2 kB / 0.9557 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.9723, allocations: 59.55 kB / 0.9558 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-06/0.9723, allocations: 8.312 kB / 0.9558 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003529/0.9758, allocations: 1.461 MB / 0.9572 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.9759, allocations: 3.5 kB / 0.9572 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.9759, allocations: 11.75 kB / 0.9572 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/0.9775, allocations: 334.9 kB / 0.9575 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.9775, allocations: 9.875 kB / 0.9575 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.979, allocations: 185.4 kB / 0.9577 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.9791, allocations: 61.45 kB / 0.9578 GB, free: 11.86 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001065/0.9802, allocations: 445 kB / 0.9582 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002803/0.9805, allocations: 117.6 kB / 0.9583 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004564/0.9851, allocations: 1.899 MB / 0.9602 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/0.9851, allocations: 14.09 kB / 0.9602 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.9851, allocations: 1.188 kB / 0.9602 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/0.9852, allocations: 7.969 kB / 0.9602 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007651/0.9928, allocations: 3.572 MB / 0.9637 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.9929, allocations: 0 / 0.9637 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/0.9944, allocations: 308.6 kB / 0.964 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001278/0.9945, allocations: 30.41 kB / 0.964 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-05/0.9946, allocations: 41.47 kB / 0.964 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009357/0.9956, allocations: 1.279 MB / 0.9653 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.9956, allocations: 6.031 kB / 0.9653 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00395/0.9996, allocations: 1.721 MB / 0.967 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007441/1, allocations: 405 kB / 0.9673 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/1.001, allocations: 27.89 kB / 0.9674 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/1.002, allocations: 141 kB / 0.9675 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/1.002, allocations: 91.12 kB / 0.9676 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/1.002, allocations: 51.3 kB / 0.9676 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000826/1.003, allocations: 0.6008 MB / 0.9682 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/1.003, allocations: 1.781 kB / 0.9682 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001901/1.005, allocations: 0.7218 MB / 0.9689 GB, free: 7.23 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 138 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00126/1.006, allocations: 0.5794 MB / 0.9695 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005596/1.012, allocations: 2.394 MB / 0.9718 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/1.012, allocations: 0 / 0.9718 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001838/1.014, allocations: 0.8978 MB / 0.9727 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/1.015, allocations: 287.4 kB / 0.973 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005105/1.02, allocations: 3.413 MB / 0.9763 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007719/1.021, allocations: 1.291 MB / 0.9776 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002331/1.023, allocations: 0.5164 MB / 0.9781 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004503/1.024, allocations: 156 kB / 0.9782 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of SimCode: time 9.91e-07/1.024, allocations: 3.938 kB / 0.9782 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of Templates: time 0.03297/1.057, allocations: 18.9 MB / 0.9967 GB, free: 9.059 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1) Environment - environmentSimulation: