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.00123/0.00123, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001192/0.001192, allocations: 187.7 kB / 16.25 MB, free: 6.145 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.468/1.468, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3877/0.3877, allocations: 54.93 MB / 324.4 MB, free: 64 kB / 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.001399/0.001399, allocations: 64.47 kB / 394.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1249, allocations: 59.59 MB / 454.4 MB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.2625/0.3874, allocations: 60 MB / 0.5024 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01784/0.4053, allocations: 11.16 MB / 0.5133 GB, free: 6.516 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00291/0.4083, allocations: 42.97 kB / 0.5133 GB, free: 6.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00325/0.4116, allocations: 0.6372 MB / 0.5139 GB, free: 6.129 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008815/0.4205, allocations: 1.791 MB / 0.5157 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004289/0.4248, allocations: 0.9354 MB / 0.5166 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006317/0.4311, allocations: 3.059 MB / 0.5196 GB, free: 3.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002507/0.4337, allocations: 1.084 MB / 0.5206 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004475/0.4382, allocations: 1.434 MB / 0.522 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003013/0.4412, allocations: 1.014 MB / 0.523 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005134/0.4418, allocations: 120.9 kB / 0.5231 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003904/0.4457, allocations: 1.201 MB / 0.5243 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005088/0.4462, allocations: 304.8 kB / 0.5246 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001608/0.4478, allocations: 0.7417 MB / 0.5253 GB, free: 344 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004208/0.452, allocations: 2.218 MB / 0.5275 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4521, allocations: 4.781 kB / 0.5275 GB, free: 15.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4521, allocations: 0 / 0.5275 GB, free: 15.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.888e-05/0.4521, allocations: 1.125 kB / 0.5275 GB, free: 15.49 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.003852/0.456, allocations: 1.746 MB / 0.5292 GB, free: 14.31 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.456, allocations: 9.375 kB / 0.5292 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003107/0.4592, allocations: 0.5024 MB / 0.5297 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002934/0.4621, allocations: 1.121 MB / 0.5308 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003904/0.4625, allocations: 125.5 kB / 0.5309 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/0.4627, allocations: 92.8 kB / 0.531 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003175/0.4659, allocations: 1.249 MB / 0.5322 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.466, allocations: 5.312 kB / 0.5322 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-05/0.4661, allocations: 39 kB / 0.5323 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.872e-05/0.4661, allocations: 28.75 kB / 0.5323 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003114/0.4692, allocations: 1.062 MB / 0.5333 GB, free: 11.71 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.008091/0.4774, allocations: 6.097 MB / 0.5393 GB, free: 5.594 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002974/0.4804, allocations: 0.8787 MB / 0.5401 GB, free: 4.707 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009322/0.4813, allocations: 360.6 kB / 0.5405 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003916/0.4817, allocations: 421.7 kB / 0.5409 GB, free: 3.848 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.4818, allocations: 46.55 kB / 0.5409 GB, free: 3.793 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.274e-06/0.4818, allocations: 0 / 0.5409 GB, free: 3.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=43): time 0.009927/0.4917, allocations: 2.16 MB / 0.543 GB, free: 1.602 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.185e-05/0.4918, allocations: 162.2 kB / 0.5432 GB, free: 1.406 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001798/0.4936, allocations: 1.033 MB / 0.5442 GB, free: 368 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001711/0.4938, allocations: 41.7 kB / 0.5442 GB, free: 320 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006097/0.4944, allocations: 0.5771 MB / 0.5448 GB, free: 15.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.4947, allocations: 149.9 kB / 0.5449 GB, free: 15.58 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.495, allocations: 150.1 kB / 0.5451 GB, free: 15.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002618/0.4952, allocations: 337.9 kB / 0.5454 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.4964, allocations: 379.2 kB / 0.5458 GB, free: 14.72 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/0.4978, allocations: 0.6464 MB / 0.5464 GB, free: 13.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002156/0.5, allocations: 0.8837 MB / 0.5473 GB, free: 12.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.5, allocations: 0 / 0.5473 GB, free: 12.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005558/0.5056, allocations: 1.476 MB / 0.5487 GB, free: 11.49 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.5056, allocations: 4 kB / 0.5487 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.5056, allocations: 8 kB / 0.5487 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009976/0.5066, allocations: 254 kB / 0.549 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008124/0.5075, allocations: 171.7 kB / 0.5491 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/0.509, allocations: 0.8598 MB / 0.55 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.5108, allocations: 203 kB / 0.5502 GB, free: 9.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.503e-05/0.5109, allocations: 24.88 kB / 0.5502 GB, free: 9.957 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00148/0.5124, allocations: 0.5597 MB / 0.5507 GB, free: 9.395 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001201/0.5136, allocations: 0.6152 MB / 0.5513 GB, free: 8.652 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001933/0.5155, allocations: 0.8371 MB / 0.5522 GB, free: 7.734 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.326e-06/0.5155, allocations: 4 kB / 0.5522 GB, free: 7.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.005272/0.5208, allocations: 1.415 MB / 0.5535 GB, free: 6.309 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.5209, allocations: 11.94 kB / 0.5535 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.5209, allocations: 11.98 kB / 0.5536 GB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008589/0.5217, allocations: 261.8 kB / 0.5538 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007141/0.5225, allocations: 159.8 kB / 0.554 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.5239, allocations: 0.845 MB / 0.5548 GB, free: 5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/0.5257, allocations: 163.7 kB / 0.5549 GB, free: 4.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-05/0.5258, allocations: 32.81 kB / 0.555 GB, free: 4.809 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.0003757/0.5262, allocations: 228 kB / 0.5552 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002544/0.5264, allocations: 110.6 kB / 0.5553 GB, free: 4.469 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004403/0.5308, allocations: 1.165 MB / 0.5564 GB, free: 3.293 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.5309, allocations: 11.88 kB / 0.5564 GB, free: 3.281 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.5309, allocations: 0 / 0.5564 GB, free: 3.281 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.5309, allocations: 3.984 kB / 0.5564 GB, free: 3.277 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006806/0.5377, allocations: 2.3 MB / 0.5587 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.5378, allocations: 0 / 0.5587 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005845/0.5383, allocations: 99.83 kB / 0.5588 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008835/0.5392, allocations: 263 kB / 0.559 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.023e-05/0.5393, allocations: 14.06 kB / 0.5591 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/0.5411, allocations: 0.9034 MB / 0.5599 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.5411, allocations: 7.969 kB / 0.5599 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004325/0.5454, allocations: 1.224 MB / 0.5611 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007722/0.5462, allocations: 263.5 kB / 0.5614 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.5464, allocations: 19.88 kB / 0.5614 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.5475, allocations: 119.9 kB / 0.5615 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.086e-05/0.5476, allocations: 31.89 kB / 0.5616 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-05/0.5477, allocations: 19.98 kB / 0.5616 GB, free: 13.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001143/0.5488, allocations: 0.7202 MB / 0.5623 GB, free: 13.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5488, allocations: 0 / 0.5623 GB, free: 13.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001801/0.5507, allocations: 0.5613 MB / 0.5628 GB, free: 12.58 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.000736/0.5514, allocations: 268.6 kB / 0.5631 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003957/0.5554, allocations: 1.348 MB / 0.5644 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.5554, allocations: 0 / 0.5644 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001601/0.557, allocations: 456.9 kB / 0.5648 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/0.5597, allocations: 0.5295 MB / 0.5654 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004532/0.5642, allocations: 2.298 MB / 0.5676 GB, free: 7.699 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007764/0.565, allocations: 1.061 MB / 0.5686 GB, free: 6.609 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001352/0.5664, allocations: 242 kB / 0.5689 GB, free: 6.383 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/0.5667, allocations: 83.41 kB / 0.5689 GB, free: 6.301 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5667, allocations: 0 / 0.5689 GB, free: 6.301 MB / 446.1 MB Notification: Performance of Templates: time 0.04481/0.6115, allocations: 23.3 MB / 0.5917 GB, free: 15.21 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (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)