Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Annex60.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001146/0.001146, allocations: 195.6 kB / 16.14 MB, free: 6.711 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.384/1.384, allocations: 205.1 MB / 222 MB, free: 4.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4216/0.4216, allocations: 54.93 MB / 324.3 MB, free: 84 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.002534/0.002534, allocations: 64.28 kB / 394.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1589, allocations: 59.59 MB / 454.3 MB, free: 496 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Examples.Carnot_y): time 0.2863/0.4453, allocations: 74.03 MB / 0.516 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02022/0.4655, allocations: 14.26 MB / 0.5299 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00253/0.4681, allocations: 56 kB / 0.5299 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002575/0.4707, allocations: 0.7357 MB / 0.5307 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00852/0.4792, allocations: 2.337 MB / 0.5329 GB, free: 8.961 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004094/0.4834, allocations: 1.129 MB / 0.534 GB, free: 8.277 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009723/0.4931, allocations: 5.704 MB / 0.5396 GB, free: 5.262 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003098/0.4963, allocations: 1.157 MB / 0.5407 GB, free: 4.559 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004636/0.5009, allocations: 1.432 MB / 0.5421 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003902/0.5049, allocations: 1.276 MB / 0.5434 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003802/0.5053, allocations: 72 kB / 0.5435 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003739/0.509, allocations: 1.099 MB / 0.5445 GB, free: 0.957 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005204/0.5096, allocations: 322.5 kB / 0.5448 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002121/0.5117, allocations: 0.8474 MB / 0.5457 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004112/0.5158, allocations: 2.761 MB / 0.5484 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5158, allocations: 0 / 0.5484 GB, free: 13.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.5158, allocations: 4 kB / 0.5484 GB, free: 13.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.5e-05/0.5159, allocations: 0 / 0.5484 GB, free: 13.02 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 0.004321/0.5202, allocations: 2.111 MB / 0.5504 GB, free: 10.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.5203, allocations: 8.031 kB / 0.5504 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.5213, allocations: 250.7 kB / 0.5507 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002526/0.5239, allocations: 1.462 MB / 0.5521 GB, free: 9.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-05/0.5239, allocations: 86.09 kB / 0.5522 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.5241, allocations: 108 kB / 0.5523 GB, free: 8.875 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002776/0.5269, allocations: 1.374 MB / 0.5536 GB, free: 7.375 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.5269, allocations: 7.938 kB / 0.5536 GB, free: 7.367 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.527, allocations: 44 kB / 0.5537 GB, free: 7.324 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.911e-05/0.5271, allocations: 39.98 kB / 0.5537 GB, free: 7.285 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/0.5295, allocations: 1.026 MB / 0.5547 GB, free: 6.262 MB / 430.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.006925/0.5364, allocations: 6.572 MB / 0.5611 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.5381, allocations: 0.6238 MB / 0.5617 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006532/0.5388, allocations: 335 kB / 0.5621 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003136/0.5391, allocations: 344.9 kB / 0.5624 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.5392, allocations: 44.06 kB / 0.5624 GB, free: 13.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=63): time 2.394e-06/0.5392, allocations: 0 / 0.5624 GB, free: 13.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=67): time 0.006125/0.5453, allocations: 2.308 MB / 0.5647 GB, free: 11.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.508e-05/0.5454, allocations: 166.7 kB / 0.5649 GB, free: 11.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00168/0.5471, allocations: 1.255 MB / 0.5661 GB, free: 10.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-05/0.5472, allocations: 41.7 kB / 0.5661 GB, free: 9.984 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005283/0.5478, allocations: 0.6567 MB / 0.5668 GB, free: 9.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.548, allocations: 236.6 kB / 0.567 GB, free: 9.086 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002956/0.5483, allocations: 182.5 kB / 0.5672 GB, free: 8.902 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.5485, allocations: 345.9 kB / 0.5675 GB, free: 8.559 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000766/0.5492, allocations: 328.6 kB / 0.5678 GB, free: 8.234 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.5503, allocations: 0.6574 MB / 0.5684 GB, free: 7.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.552, allocations: 0.9271 MB / 0.5693 GB, free: 6.402 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-05/0.552, allocations: 4 kB / 0.5694 GB, free: 6.398 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002273/0.5543, allocations: 1.08 MB / 0.5704 GB, free: 5.309 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.5543, allocations: 8 kB / 0.5704 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.5544, allocations: 11.94 kB / 0.5704 GB, free: 5.289 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.493e-05/0.5544, allocations: 15.94 kB / 0.5704 GB, free: 5.273 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008952/0.5553, allocations: 224.1 kB / 0.5707 GB, free: 5.055 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.744e-05/0.5553, allocations: 24.47 kB / 0.5707 GB, free: 5.031 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/0.5568, allocations: 125.4 kB / 0.5708 GB, free: 4.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.994e-05/0.5569, allocations: 39.98 kB / 0.5708 GB, free: 4.871 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001186/0.5581, allocations: 0.5847 MB / 0.5714 GB, free: 4.281 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008653/0.5589, allocations: 0.634 MB / 0.572 GB, free: 3.504 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001372/0.5603, allocations: 0.8754 MB / 0.5729 GB, free: 2.527 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.607e-06/0.5603, allocations: 4 kB / 0.5729 GB, free: 2.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002016/0.5624, allocations: 1.033 MB / 0.5739 GB, free: 1.484 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.5624, allocations: 8 kB / 0.5739 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.5624, allocations: 8 kB / 0.5739 GB, free: 1.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.5624, allocations: 12 kB / 0.5739 GB, free: 1.457 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007771/0.5632, allocations: 219.6 kB / 0.5741 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/0.5632, allocations: 23.86 kB / 0.5742 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.5644, allocations: 128.2 kB / 0.5743 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-05/0.5645, allocations: 36 kB / 0.5743 GB, free: 1.059 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (110): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003049/0.5648, allocations: 240 kB / 0.5745 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002607/0.5651, allocations: 142.3 kB / 0.5747 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002227/0.5673, allocations: 0.9239 MB / 0.5756 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.5673, allocations: 12 kB / 0.5756 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/0.5673, allocations: 0 / 0.5756 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001648/0.569, allocations: 0.8334 MB / 0.5764 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00465/0.5737, allocations: 2.482 MB / 0.5788 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.5737, allocations: 4 kB / 0.5788 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007091/0.5744, allocations: 164.4 kB / 0.579 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002815/0.5747, allocations: 85.67 kB / 0.5791 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.535e-05/0.5748, allocations: 19.98 kB / 0.5791 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007724/0.5755, allocations: 1.161 MB / 0.5802 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.5756, allocations: 7.938 kB / 0.5802 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002876/0.5784, allocations: 1.504 MB / 0.5817 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006717/0.5791, allocations: 315.1 kB / 0.582 GB, free: 8.816 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003004/0.5794, allocations: 19.94 kB / 0.582 GB, free: 8.797 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.5806, allocations: 107.8 kB / 0.5821 GB, free: 8.691 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.5807, allocations: 56.25 kB / 0.5822 GB, free: 8.637 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.438e-05/0.5808, allocations: 35.97 kB / 0.5822 GB, free: 8.602 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001296/0.5821, allocations: 0.8827 MB / 0.5831 GB, free: 7.719 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5821, allocations: 0 / 0.5831 GB, free: 7.719 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001898/0.584, allocations: 0.6366 MB / 0.5837 GB, free: 7.082 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007538/0.5848, allocations: 365.3 kB / 0.584 GB, free: 6.727 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002743/0.5875, allocations: 1.271 MB / 0.5853 GB, free: 5.457 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.5876, allocations: 0 / 0.5853 GB, free: 5.457 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009729/0.5885, allocations: 430.8 kB / 0.5857 GB, free: 5.043 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003842/0.5924, allocations: 0.8293 MB / 0.5865 GB, free: 4.246 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004507/0.5969, allocations: 2.951 MB / 0.5894 GB, free: 1.203 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008403/0.5978, allocations: 1.187 MB / 0.5905 GB, free: 15.99 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001617/0.5994, allocations: 331.2 kB / 0.5909 GB, free: 15.67 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003317/0.5997, allocations: 111.4 kB / 0.591 GB, free: 15.56 MB / 478.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5998, allocations: 4 kB / 0.591 GB, free: 15.55 MB / 478.1 MB Notification: Performance of Templates: time 0.04816/0.6479, allocations: 29.5 MB / 0.6198 GB, free: 2.305 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)