Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007559/0.0007559, allocations: 97.33 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.004709/0.004709, allocations: 169.8 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.467/1.467, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4172/0.4172, allocations: 55.02 MB / 325.8 MB, free: 0.5469 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.000529/0.000529, allocations: 12 kB / 397.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3638, allocations: 60.71 MB / 458 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.04648/0.4103, allocations: 59.06 MB / 0.5049 GB, free: 15.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01755/0.4279, allocations: 11.18 MB / 0.5158 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002884/0.4309, allocations: 45.66 kB / 0.5159 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002555/0.4334, allocations: 0.5872 MB / 0.5165 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006774/0.4402, allocations: 1.793 MB / 0.5182 GB, free: 5.758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003542/0.4438, allocations: 0.9029 MB / 0.5191 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007426/0.4512, allocations: 3.976 MB / 0.523 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002099/0.4534, allocations: 0.8945 MB / 0.5238 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003738/0.4571, allocations: 1.201 MB / 0.525 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002557/0.4597, allocations: 0.9454 MB / 0.5259 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003538/0.4601, allocations: 45.19 kB / 0.526 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003981/0.4641, allocations: 1.092 MB / 0.527 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005129/0.4646, allocations: 219 kB / 0.5273 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001502/0.4661, allocations: 0.6775 MB / 0.5279 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004194/0.4703, allocations: 2.123 MB / 0.53 GB, free: 492 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.4703, allocations: 1.438 kB / 0.53 GB, free: 492 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4703, allocations: 0 / 0.53 GB, free: 492 kB / 398.1 MB Notification: Performance of Transformations before backend: time 2.902e-05/0.4704, allocations: 0 / 0.53 GB, free: 492 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.003609/0.474, allocations: 1.494 MB / 0.5315 GB, free: 15.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.4741, allocations: 13.88 kB / 0.5315 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0031/0.4772, allocations: 0.5357 MB / 0.532 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002778/0.48, allocations: 1.142 MB / 0.5331 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004302/0.4804, allocations: 134.5 kB / 0.5332 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.4806, allocations: 87.78 kB / 0.5333 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003234/0.4838, allocations: 1.306 MB / 0.5346 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.4839, allocations: 1.062 kB / 0.5346 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.484, allocations: 46.89 kB / 0.5346 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.468e-05/0.4841, allocations: 28.28 kB / 0.5347 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003328/0.4874, allocations: 1.145 MB / 0.5358 GB, free: 12.41 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.008877/0.4963, allocations: 6.121 MB / 0.5418 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00312/0.4994, allocations: 0.9718 MB / 0.5427 GB, free: 4.891 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.5005, allocations: 396.4 kB / 0.5431 GB, free: 4.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004017/0.5009, allocations: 418.3 kB / 0.5435 GB, free: 4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.501, allocations: 46.55 kB / 0.5435 GB, free: 3.945 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.524e-06/0.501, allocations: 0 / 0.5435 GB, free: 3.945 MB / 414.1 MB Notification: Performance of matching and sorting (n=43): time 0.01096/0.512, allocations: 2.469 MB / 0.5459 GB, free: 1.445 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.5121, allocations: 162.2 kB / 0.5461 GB, free: 1.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002266/0.5144, allocations: 1.04 MB / 0.5471 GB, free: 200 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001407/0.5146, allocations: 41.7 kB / 0.5472 GB, free: 152 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005658/0.5152, allocations: 0.5694 MB / 0.5477 GB, free: 15.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.5154, allocations: 153.8 kB / 0.5479 GB, free: 15.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.5155, allocations: 57.69 kB / 0.5479 GB, free: 15.36 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5156, allocations: 333.9 kB / 0.5482 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.5169, allocations: 409 kB / 0.5486 GB, free: 14.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001488/0.5184, allocations: 0.6855 MB / 0.5493 GB, free: 13.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002499/0.5209, allocations: 0.9618 MB / 0.5502 GB, free: 12.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.5209, allocations: 0 / 0.5502 GB, free: 12.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.006119/0.5271, allocations: 1.617 MB / 0.5518 GB, free: 11.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002221/0.5273, allocations: 278.2 kB / 0.5521 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/0.5273, allocations: 8 kB / 0.5521 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.5285, allocations: 277.1 kB / 0.5523 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008447/0.5293, allocations: 183.8 kB / 0.5525 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.5309, allocations: 0.8847 MB / 0.5534 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.5327, allocations: 219 kB / 0.5536 GB, free: 9.203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.5329, allocations: 31.98 kB / 0.5536 GB, free: 9.172 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.5329, allocations: 4 kB / 0.5536 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005195/0.5381, allocations: 1.42 MB / 0.555 GB, free: 7.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.5381, allocations: 4 kB / 0.555 GB, free: 7.746 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009825/0.5391, allocations: 286.2 kB / 0.5553 GB, free: 7.465 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007297/0.5399, allocations: 175.8 kB / 0.5555 GB, free: 7.293 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.5413, allocations: 0.8762 MB / 0.5563 GB, free: 6.391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.543, allocations: 191.1 kB / 0.5565 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.884e-05/0.5431, allocations: 31.98 kB / 0.5565 GB, free: 6.172 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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.0007797/0.5439, allocations: 364.9 kB / 0.5569 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003835/0.5443, allocations: 110.7 kB / 0.557 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004868/0.5492, allocations: 1.289 MB / 0.5582 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.5492, allocations: 4 kB / 0.5582 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.5492, allocations: 0 / 0.5582 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.5492, allocations: 3.938 kB / 0.5582 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007258/0.5565, allocations: 2.466 MB / 0.5607 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.5565, allocations: 0 / 0.5607 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006059/0.5571, allocations: 123.8 kB / 0.5608 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009057/0.5581, allocations: 272.6 kB / 0.561 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.648e-05/0.5581, allocations: 11.98 kB / 0.561 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.56, allocations: 0.962 MB / 0.562 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.56, allocations: 4.031 kB / 0.562 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004498/0.5646, allocations: 1.353 MB / 0.5633 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007142/0.5653, allocations: 279.4 kB / 0.5636 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003304/0.5656, allocations: 8 kB / 0.5636 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/0.567, allocations: 139.9 kB / 0.5637 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.189e-05/0.5671, allocations: 35.84 kB / 0.5637 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-05/0.5672, allocations: 23.97 kB / 0.5638 GB, free: 14.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001304/0.5685, allocations: 0.7123 MB / 0.5645 GB, free: 13.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.5685, allocations: 0 / 0.5645 GB, free: 13.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002264/0.5708, allocations: 0.5613 MB / 0.565 GB, free: 13.27 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (31): * Single equations (assignments): 30 * 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 Backend phase and start with SimCode phase: time 0.0007642/0.5715, allocations: 268.7 kB / 0.5653 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004212/0.5758, allocations: 1.43 MB / 0.5667 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5758, allocations: 0 / 0.5667 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001743/0.5775, allocations: 0.5087 MB / 0.5672 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003621/0.5812, allocations: 0.533 MB / 0.5677 GB, free: 10.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005048/0.5862, allocations: 2.374 MB / 0.57 GB, free: 8.137 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008567/0.5871, allocations: 1.069 MB / 0.571 GB, free: 7.035 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001457/0.5886, allocations: 236.6 kB / 0.5713 GB, free: 6.809 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/0.5889, allocations: 79.41 kB / 0.5713 GB, free: 6.73 MB / 446.1 MB Notification: Performance of SimCode: time 1.362e-06/0.5889, allocations: 0 / 0.5713 GB, free: 6.73 MB / 446.1 MB Notification: Performance of Templates: time 0.04651/0.6354, allocations: 22.57 MB / 0.5934 GB, free: 376 kB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1) Environment - environmentSimulation: