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.001033/0.001033, allocations: 96.78 kB / 15.36 MB, free: 0.7344 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.009471/0.009472, allocations: 171 kB / 16.27 MB, free: 6.652 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.581/1.581, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4227/0.4227, allocations: 55 MB / 325.7 MB, free: 0.5625 MB / 254.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.0005645/0.0005645, allocations: 12 kB / 397.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3421, allocations: 60.72 MB / 458 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Examples.Carnot_TEva): time 0.04835/0.3905, allocations: 59.04 MB / 0.5049 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01799/0.4086, allocations: 11.17 MB / 0.5158 GB, free: 7.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002699/0.4113, allocations: 46.12 kB / 0.5158 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00258/0.4139, allocations: 0.5948 MB / 0.5164 GB, free: 6.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0063/0.4202, allocations: 1.779 MB / 0.5182 GB, free: 5.852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003032/0.4233, allocations: 0.9068 MB / 0.5191 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005564/0.4289, allocations: 3.972 MB / 0.5229 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.4307, allocations: 0.8704 MB / 0.5238 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003172/0.4339, allocations: 1.21 MB / 0.525 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002233/0.4362, allocations: 0.9416 MB / 0.5259 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002967/0.4365, allocations: 45.06 kB / 0.5259 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003164/0.4397, allocations: 1.091 MB / 0.527 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004091/0.4401, allocations: 219.7 kB / 0.5272 GB, free: 2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001596/0.4417, allocations: 0.6734 MB / 0.5279 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004625/0.4463, allocations: 2.115 MB / 0.5299 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4463, allocations: 0 / 0.5299 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4464, allocations: 0 / 0.5299 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.471e-05/0.4464, allocations: 5.094 kB / 0.5299 GB, free: 0.5273 MB / 398.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.004692/0.4511, allocations: 1.495 MB / 0.5314 GB, free: 15.35 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.4512, allocations: 10.19 kB / 0.5314 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003143/0.4544, allocations: 0.4902 MB / 0.5319 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003068/0.4574, allocations: 1.137 MB / 0.533 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004025/0.4579, allocations: 133.7 kB / 0.5331 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002165/0.4581, allocations: 87.12 kB / 0.5332 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00326/0.4614, allocations: 1.263 MB / 0.5344 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.564e-05/0.4614, allocations: 4.969 kB / 0.5344 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/0.4615, allocations: 38.91 kB / 0.5345 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.039e-05/0.4616, allocations: 24.06 kB / 0.5345 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003315/0.4649, allocations: 1.066 MB / 0.5355 GB, free: 12.64 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.007989/0.4729, allocations: 5.878 MB / 0.5413 GB, free: 6.395 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002492/0.4754, allocations: 0.7461 MB / 0.542 GB, free: 5.641 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007566/0.4762, allocations: 289.3 kB / 0.5423 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004096/0.4766, allocations: 413.8 kB / 0.5427 GB, free: 4.859 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.4767, allocations: 38.89 kB / 0.5427 GB, free: 4.812 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.745e-06/0.4767, allocations: 0 / 0.5427 GB, free: 4.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=39): time 0.009889/0.4866, allocations: 2.161 MB / 0.5448 GB, free: 2.625 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.322e-05/0.4867, allocations: 162.2 kB / 0.545 GB, free: 2.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/0.4888, allocations: 1.148 MB / 0.5461 GB, free: 1.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.4889, allocations: 37.7 kB / 0.5461 GB, free: 1.227 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004863/0.4894, allocations: 0.5891 MB / 0.5467 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.4896, allocations: 138 kB / 0.5468 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.4897, allocations: 57.69 kB / 0.5469 GB, free: 444 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4899, allocations: 334 kB / 0.5472 GB, free: 104 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.4909, allocations: 365.1 kB / 0.5476 GB, free: 15.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.4922, allocations: 0.6625 MB / 0.5482 GB, free: 14.94 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/0.4943, allocations: 0.8735 MB / 0.5491 GB, free: 13.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.555e-06/0.4943, allocations: 0 / 0.5491 GB, free: 13.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003401/0.4977, allocations: 1.186 MB / 0.5502 GB, free: 12.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002182/0.498, allocations: 306.4 kB / 0.5505 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.498, allocations: 8 kB / 0.5505 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.499, allocations: 273.5 kB / 0.5508 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007406/0.4998, allocations: 183.8 kB / 0.551 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.5013, allocations: 0.8855 MB / 0.5518 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.5032, allocations: 234.9 kB / 0.552 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.974e-05/0.5033, allocations: 28 kB / 0.5521 GB, free: 10.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/0.5033, allocations: 4 kB / 0.5521 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002583/0.5059, allocations: 0.976 MB / 0.553 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.5059, allocations: 8.688 kB / 0.553 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000948/0.5069, allocations: 285.2 kB / 0.5533 GB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006288/0.5075, allocations: 163.7 kB / 0.5535 GB, free: 9.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.509, allocations: 0.8887 MB / 0.5543 GB, free: 8.406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.5107, allocations: 187.2 kB / 0.5545 GB, free: 8.223 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.618e-05/0.5107, allocations: 33.11 kB / 0.5545 GB, free: 8.191 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (71): * Single equations (assignments): 70 * 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.0007522/0.5115, allocations: 364.9 kB / 0.5549 GB, free: 7.824 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003694/0.5119, allocations: 122.5 kB / 0.555 GB, free: 7.703 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002623/0.5145, allocations: 0.8652 MB / 0.5559 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.5145, allocations: 7.984 kB / 0.5559 GB, free: 6.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.5146, allocations: 7.938 kB / 0.5559 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.5146, allocations: 0 / 0.5559 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004518/0.5191, allocations: 1.921 MB / 0.5577 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.5191, allocations: 4 kB / 0.5577 GB, free: 4.805 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003782/0.5195, allocations: 87.86 kB / 0.5578 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009521/0.5205, allocations: 268.8 kB / 0.5581 GB, free: 4.453 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.295e-05/0.5205, allocations: 16.86 kB / 0.5581 GB, free: 4.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/0.522, allocations: 0.876 MB / 0.559 GB, free: 3.539 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.522, allocations: 5.797 kB / 0.559 GB, free: 3.535 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004927/0.5269, allocations: 1.38 MB / 0.5603 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007216/0.5277, allocations: 283.4 kB / 0.5606 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003602/0.528, allocations: 15.94 kB / 0.5606 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/0.5294, allocations: 135.8 kB / 0.5607 GB, free: 1.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.5295, allocations: 29.28 kB / 0.5608 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.866e-05/0.5296, allocations: 23.98 kB / 0.5608 GB, free: 1.609 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001672/0.5313, allocations: 0.7914 MB / 0.5616 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5313, allocations: 0 / 0.5616 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00207/0.5334, allocations: 0.5459 MB / 0.5621 GB, free: 272 kB / 430.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.0007041/0.5341, allocations: 264 kB / 0.5623 GB, free: 8 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003627/0.5377, allocations: 1.265 MB / 0.5636 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.5378, allocations: 0.5 kB / 0.5636 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000955/0.5387, allocations: 348.2 kB / 0.5639 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003829/0.5426, allocations: 0.5682 MB / 0.5645 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006892/0.5495, allocations: 2.51 MB / 0.5669 GB, free: 11.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009926/0.5505, allocations: 1.065 MB / 0.568 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001427/0.5519, allocations: 240.3 kB / 0.5682 GB, free: 9.945 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/0.5522, allocations: 79.42 kB / 0.5683 GB, free: 9.867 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5522, allocations: 0 / 0.5683 GB, free: 9.867 MB / 446.1 MB Notification: Performance of Templates: time 0.0403/0.5925, allocations: 23.44 MB / 0.5911 GB, free: 2.629 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Chillers.Examples.Carnot_TEva.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: