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.001303/0.001303, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001665/0.001665, allocations: 193 kB / 16.13 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.455/1.455, allocations: 205.1 MB / 222 MB, free: 4.957 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.391/0.391, allocations: 54.94 MB / 324.3 MB, free: 68 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.001651/0.001651, allocations: 71.89 kB / 394.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1227, allocations: 59.59 MB / 454.3 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.2605/0.3832, allocations: 60.14 MB / 0.5024 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01642/0.3997, allocations: 11.32 MB / 0.5134 GB, free: 6.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002578/0.4023, allocations: 43.22 kB / 0.5135 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002027/0.4044, allocations: 0.5983 MB / 0.514 GB, free: 6.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006619/0.411, allocations: 1.78 MB / 0.5158 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003129/0.4141, allocations: 0.9056 MB / 0.5167 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006277/0.4204, allocations: 3.988 MB / 0.5206 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/0.4223, allocations: 0.92 MB / 0.5215 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003568/0.4259, allocations: 1.236 MB / 0.5227 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/0.4283, allocations: 0.9811 MB / 0.5236 GB, free: 2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002748/0.4286, allocations: 60.31 kB / 0.5237 GB, free: 2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003609/0.4322, allocations: 1.101 MB / 0.5247 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000435/0.4327, allocations: 248.7 kB / 0.525 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001694/0.4344, allocations: 0.6751 MB / 0.5256 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004368/0.4388, allocations: 2.167 MB / 0.5278 GB, free: 40 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4388, allocations: 0 / 0.5278 GB, free: 40 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.4388, allocations: 0 / 0.5278 GB, free: 40 kB / 398.1 MB Notification: Performance of Transformations before backend: time 3.174e-05/0.4388, allocations: 0 / 0.5278 GB, free: 40 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.005058/0.4439, allocations: 1.756 MB / 0.5295 GB, free: 14.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/0.444, allocations: 8.938 kB / 0.5295 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003245/0.4472, allocations: 0.4899 MB / 0.53 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002808/0.4501, allocations: 1.13 MB / 0.5311 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004236/0.4505, allocations: 120.8 kB / 0.5312 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.4507, allocations: 92.47 kB / 0.5313 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003127/0.4539, allocations: 1.258 MB / 0.5325 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.4539, allocations: 1.25 kB / 0.5325 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.454, allocations: 42.81 kB / 0.5325 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.519e-05/0.4541, allocations: 28.64 kB / 0.5326 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003097/0.4572, allocations: 1.061 MB / 0.5336 GB, free: 11.92 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.00813/0.4653, allocations: 6.097 MB / 0.5396 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00293/0.4683, allocations: 0.882 MB / 0.5404 GB, free: 4.523 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000954/0.4693, allocations: 352.6 kB / 0.5408 GB, free: 4.176 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003623/0.4697, allocations: 426.3 kB / 0.5412 GB, free: 3.668 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.4697, allocations: 46.5 kB / 0.5412 GB, free: 3.613 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.665e-06/0.4697, allocations: 0 / 0.5412 GB, free: 3.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=43): time 0.009697/0.4794, allocations: 2.16 MB / 0.5433 GB, free: 1.422 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.745e-05/0.4796, allocations: 158.2 kB / 0.5435 GB, free: 1.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/0.4811, allocations: 1.033 MB / 0.5445 GB, free: 188 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.4813, allocations: 41.64 kB / 0.5445 GB, free: 140 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005498/0.4818, allocations: 0.5849 MB / 0.5451 GB, free: 15.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.482, allocations: 145.9 kB / 0.5452 GB, free: 15.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002915/0.4823, allocations: 150.1 kB / 0.5454 GB, free: 15.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4825, allocations: 333.9 kB / 0.5457 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.4837, allocations: 379.2 kB / 0.5461 GB, free: 14.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.4851, allocations: 0.6503 MB / 0.5467 GB, free: 13.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002254/0.4874, allocations: 0.8876 MB / 0.5476 GB, free: 12.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.4874, allocations: 0 / 0.5476 GB, free: 12.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005597/0.493, allocations: 1.462 MB / 0.549 GB, free: 11.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.493, allocations: 11.94 kB / 0.549 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.4931, allocations: 4 kB / 0.549 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009981/0.4941, allocations: 262.1 kB / 0.5492 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008017/0.4949, allocations: 171.8 kB / 0.5494 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.4963, allocations: 0.8579 MB / 0.5502 GB, free: 9.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.4979, allocations: 203 kB / 0.5504 GB, free: 9.797 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.199e-05/0.498, allocations: 31.98 kB / 0.5505 GB, free: 9.766 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001369/0.4994, allocations: 0.5558 MB / 0.551 GB, free: 9.207 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00123/0.5006, allocations: 0.6152 MB / 0.5516 GB, free: 8.465 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001974/0.5026, allocations: 0.834 MB / 0.5524 GB, free: 7.551 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.891e-06/0.5026, allocations: 7.938 kB / 0.5524 GB, free: 7.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.005231/0.5079, allocations: 1.416 MB / 0.5538 GB, free: 6.121 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.5079, allocations: 11.94 kB / 0.5538 GB, free: 6.109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.5079, allocations: 4.781 kB / 0.5538 GB, free: 6.105 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009287/0.5088, allocations: 261.2 kB / 0.5541 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007137/0.5096, allocations: 159.8 kB / 0.5542 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.5111, allocations: 0.8532 MB / 0.5551 GB, free: 4.812 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/0.5129, allocations: 159.8 kB / 0.5552 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.513, allocations: 35.98 kB / 0.5553 GB, free: 4.621 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.0004579/0.5135, allocations: 228 kB / 0.5555 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004812/0.514, allocations: 110.7 kB / 0.5556 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004614/0.5186, allocations: 1.158 MB / 0.5567 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.5186, allocations: 7.938 kB / 0.5567 GB, free: 3.098 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.5186, allocations: 0 / 0.5567 GB, free: 3.098 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.5187, allocations: 0 / 0.5567 GB, free: 3.098 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007075/0.5257, allocations: 2.311 MB / 0.559 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/0.5258, allocations: 7.938 kB / 0.559 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005783/0.5264, allocations: 99.84 kB / 0.5591 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008672/0.5272, allocations: 250.9 kB / 0.5593 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.978e-05/0.5273, allocations: 11.98 kB / 0.5593 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/0.5291, allocations: 0.9112 MB / 0.5602 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.5291, allocations: 3.984 kB / 0.5602 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004043/0.5332, allocations: 1.22 MB / 0.5614 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000753/0.5339, allocations: 267.5 kB / 0.5617 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004219/0.5344, allocations: 17.17 kB / 0.5617 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/0.5358, allocations: 119.8 kB / 0.5618 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.876e-05/0.5359, allocations: 27.91 kB / 0.5618 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.772e-05/0.536, allocations: 27.97 kB / 0.5619 GB, free: 13.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001419/0.5374, allocations: 0.7123 MB / 0.5625 GB, free: 12.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5374, allocations: 0 / 0.5625 GB, free: 12.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002321/0.5397, allocations: 0.5613 MB / 0.5631 GB, free: 12.39 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.0007737/0.5405, allocations: 261.7 kB / 0.5633 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004108/0.5446, allocations: 1.336 MB / 0.5647 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.5447, allocations: 320 / 0.5647 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001586/0.5463, allocations: 456.7 kB / 0.5651 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003336/0.5497, allocations: 0.528 MB / 0.5656 GB, free: 9.852 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004741/0.5544, allocations: 2.302 MB / 0.5678 GB, free: 7.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007462/0.5552, allocations: 1.061 MB / 0.5689 GB, free: 6.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00139/0.5566, allocations: 245.2 kB / 0.5691 GB, free: 6.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.5569, allocations: 83.41 kB / 0.5692 GB, free: 6.098 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5569, allocations: 4 kB / 0.5692 GB, free: 6.094 MB / 446.1 MB Notification: Performance of Templates: time 0.03984/0.5967, allocations: 22.67 MB / 0.5913 GB, free: 15.66 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)