Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Annex60.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3999/0.3999, allocations: 54.94 MB / 324.7 MB, free: 15.88 MB / 270.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 67.91 kB / 395.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1352, allocations: 59.59 MB / 454.9 MB, free: 164 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Examples.Carnot_TEva): time 0.3219/0.4571, allocations: 60.47 MB / 0.5033 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01711/0.4743, allocations: 11.23 MB / 0.5143 GB, free: 6.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002198/0.4765, allocations: 50.88 kB / 0.5143 GB, free: 6.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00203/0.4786, allocations: 0.7328 MB / 0.515 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006243/0.4849, allocations: 1.929 MB / 0.5169 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003456/0.4883, allocations: 1.019 MB / 0.5179 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004842/0.4932, allocations: 3.017 MB / 0.5209 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001892/0.4951, allocations: 1.078 MB / 0.5219 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004125/0.4992, allocations: 1.434 MB / 0.5233 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002236/0.5015, allocations: 0.9719 MB / 0.5243 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005516/0.5021, allocations: 118.2 kB / 0.5244 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003891/0.506, allocations: 1.194 MB / 0.5255 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006794/0.5067, allocations: 301 kB / 0.5258 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00179/0.5085, allocations: 0.7315 MB / 0.5265 GB, free: 120 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005384/0.5138, allocations: 2.204 MB / 0.5287 GB, free: 14.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.5139, allocations: 4 kB / 0.5287 GB, free: 14.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5139, allocations: 0 / 0.5287 GB, free: 14.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.732e-05/0.5139, allocations: 0 / 0.5287 GB, free: 14.98 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.004046/0.518, allocations: 1.739 MB / 0.5304 GB, free: 13.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.5181, allocations: 10.31 kB / 0.5304 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002751/0.5208, allocations: 462.4 kB / 0.5308 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002529/0.5234, allocations: 1.092 MB / 0.5319 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004131/0.5238, allocations: 128.5 kB / 0.532 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.5239, allocations: 88.5 kB / 0.5321 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003022/0.527, allocations: 1.245 MB / 0.5333 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/0.527, allocations: 3.094 kB / 0.5333 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/0.5271, allocations: 35.28 kB / 0.5334 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-05/0.5272, allocations: 37.56 kB / 0.5334 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00383/0.5311, allocations: 0.983 MB / 0.5344 GB, free: 11.09 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00884/0.5399, allocations: 6.261 MB / 0.5405 GB, free: 4.641 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002324/0.5423, allocations: 0.6613 MB / 0.5411 GB, free: 3.973 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007471/0.5431, allocations: 281.2 kB / 0.5414 GB, free: 3.695 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000419/0.5435, allocations: 413.8 kB / 0.5418 GB, free: 3.199 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.5435, allocations: 38.89 kB / 0.5418 GB, free: 3.152 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.765e-06/0.5436, allocations: 0 / 0.5418 GB, free: 3.152 MB / 414.1 MB Notification: Performance of matching and sorting (n=39): time 0.00949/0.553, allocations: 1.889 MB / 0.5437 GB, free: 1.238 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.5532, allocations: 162.2 kB / 0.5438 GB, free: 1.043 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/0.5553, allocations: 1.157 MB / 0.545 GB, free: 15.87 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.5554, allocations: 41.7 kB / 0.545 GB, free: 15.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005043/0.556, allocations: 0.5967 MB / 0.5456 GB, free: 15.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.5561, allocations: 146 kB / 0.5457 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002589/0.5564, allocations: 158.5 kB / 0.5459 GB, free: 14.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.5566, allocations: 334 kB / 0.5462 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.5576, allocations: 352.5 kB / 0.5465 GB, free: 14.24 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.559, allocations: 0.662 MB / 0.5472 GB, free: 13.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002053/0.5611, allocations: 0.8495 MB / 0.548 GB, free: 12.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-06/0.5611, allocations: 4 kB / 0.548 GB, free: 12.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00587/0.567, allocations: 1.454 MB / 0.5494 GB, free: 11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.567, allocations: 8 kB / 0.5494 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.567, allocations: 8 kB / 0.5494 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.5681, allocations: 265.3 kB / 0.5497 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000802/0.5689, allocations: 175.7 kB / 0.5499 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.5704, allocations: 0.8533 MB / 0.5507 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.5722, allocations: 196.1 kB / 0.5509 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.203e-05/0.5723, allocations: 36 kB / 0.5509 GB, free: 9.441 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001354/0.5736, allocations: 0.5292 MB / 0.5514 GB, free: 8.906 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001482/0.5751, allocations: 0.6386 MB / 0.5521 GB, free: 8.121 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001827/0.577, allocations: 0.8095 MB / 0.5528 GB, free: 7.199 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.199e-06/0.577, allocations: 1.016 kB / 0.5528 GB, free: 7.199 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005477/0.5825, allocations: 1.399 MB / 0.5542 GB, free: 5.793 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.5825, allocations: 8 kB / 0.5542 GB, free: 5.785 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.5825, allocations: 12.73 kB / 0.5542 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.5836, allocations: 269.8 kB / 0.5545 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007189/0.5843, allocations: 167.8 kB / 0.5547 GB, free: 5.344 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.5859, allocations: 0.8597 MB / 0.5555 GB, free: 4.461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.5878, allocations: 145.4 kB / 0.5556 GB, free: 4.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.909e-05/0.5879, allocations: 41.23 kB / 0.5557 GB, free: 4.281 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003375/0.5882, allocations: 224.1 kB / 0.5559 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003485/0.5886, allocations: 122.5 kB / 0.556 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/0.5914, allocations: 0.8141 MB / 0.5568 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/0.5914, allocations: 4 kB / 0.5568 GB, free: 3.102 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.5914, allocations: 0 / 0.5568 GB, free: 3.102 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.5914, allocations: 8 kB / 0.5568 GB, free: 3.094 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004097/0.5955, allocations: 1.874 MB / 0.5586 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.5956, allocations: 0 / 0.5586 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003706/0.5959, allocations: 71.88 kB / 0.5587 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009301/0.5969, allocations: 252.8 kB / 0.5589 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.63e-05/0.5969, allocations: 20.73 kB / 0.559 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001428/0.5984, allocations: 0.8521 MB / 0.5598 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5984, allocations: 0 / 0.5598 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004805/0.6032, allocations: 1.246 MB / 0.561 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007151/0.6039, allocations: 251.5 kB / 0.5613 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001876/0.6041, allocations: 24.98 kB / 0.5613 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009649/0.6051, allocations: 83.89 kB / 0.5614 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.6052, allocations: 31.91 kB / 0.5614 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.546e-05/0.6053, allocations: 23.98 kB / 0.5614 GB, free: 14.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00132/0.6066, allocations: 0.7958 MB / 0.5622 GB, free: 13.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6066, allocations: 0 / 0.5622 GB, free: 13.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001724/0.6083, allocations: 0.5576 MB / 0.5627 GB, free: 12.84 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006542/0.609, allocations: 280 kB / 0.563 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003715/0.6127, allocations: 1.243 MB / 0.5642 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/0.6128, allocations: 4 kB / 0.5642 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009066/0.6137, allocations: 309.1 kB / 0.5645 GB, free: 11.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003028/0.6167, allocations: 0.5673 MB / 0.5651 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005691/0.6224, allocations: 2.015 MB / 0.567 GB, free: 8.441 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006613/0.6231, allocations: 1.062 MB / 0.5681 GB, free: 7.352 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001295/0.6244, allocations: 244.2 kB / 0.5683 GB, free: 7.113 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.6247, allocations: 87.41 kB / 0.5684 GB, free: 7.027 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6247, allocations: 0 / 0.5684 GB, free: 7.027 MB / 446.1 MB Notification: Performance of Templates: time 0.0434/0.6681, allocations: 24.55 MB / 0.5924 GB, free: 14.7 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)