Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001699/0.0017, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3891/0.3891, allocations: 54.98 MB / 325.4 MB, free: 0.7578 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.0006103/0.0006106, allocations: 12 kB / 396.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3388, allocations: 60.72 MB / 457.3 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.05291/0.3917, allocations: 62.39 MB / 0.5075 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01842/0.4102, allocations: 12.2 MB / 0.5194 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003165/0.4134, allocations: 52.97 kB / 0.5195 GB, free: 5.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003133/0.4165, allocations: 0.7167 MB / 0.5202 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009896/0.4265, allocations: 2.258 MB / 0.5224 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004597/0.4311, allocations: 1.01 MB / 0.5234 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00682/0.4379, allocations: 2.549 MB / 0.5258 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002921/0.4409, allocations: 1.018 MB / 0.5268 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004178/0.4451, allocations: 1.205 MB / 0.528 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002849/0.448, allocations: 0.8233 MB / 0.5288 GB, free: 456 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000312/0.4483, allocations: 60.59 kB / 0.5289 GB, free: 452 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003408/0.4517, allocations: 0.6726 MB / 0.5295 GB, free: 276 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004879/0.4522, allocations: 268.6 kB / 0.5298 GB, free: 136 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009209/0.4532, allocations: 380.1 kB / 0.5302 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002896/0.4561, allocations: 2.018 MB / 0.5321 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.4561, allocations: 0 / 0.5321 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4561, allocations: 0 / 0.5321 GB, free: 14.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.222e-05/0.4561, allocations: 0 / 0.5321 GB, free: 14.52 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: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 0.003606/0.4597, allocations: 1.796 MB / 0.5339 GB, free: 13.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.4598, allocations: 11.69 kB / 0.5339 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.4609, allocations: 259 kB / 0.5341 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002463/0.4634, allocations: 1.337 MB / 0.5354 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.261e-05/0.4634, allocations: 86.81 kB / 0.5355 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.4636, allocations: 110.2 kB / 0.5356 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002785/0.4664, allocations: 1.398 MB / 0.537 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.4665, allocations: 11.89 kB / 0.537 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.4666, allocations: 48 kB / 0.5371 GB, free: 10.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-05/0.4666, allocations: 39.94 kB / 0.5371 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002535/0.4692, allocations: 1.085 MB / 0.5382 GB, free: 9.461 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.006926/0.4761, allocations: 6.626 MB / 0.5446 GB, free: 2.441 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.4779, allocations: 0.6629 MB / 0.5453 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003034/0.4782, allocations: 345 kB / 0.5456 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.4783, allocations: 51.02 kB / 0.5456 GB, free: 1.297 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.434e-06/0.4783, allocations: 0 / 0.5456 GB, free: 1.297 MB / 414.1 MB Notification: Performance of matching and sorting (n=67): time 0.006597/0.4849, allocations: 2.453 MB / 0.548 GB, free: 14.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.058e-05/0.485, allocations: 166.8 kB / 0.5482 GB, free: 14.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/0.4866, allocations: 1.286 MB / 0.5495 GB, free: 13.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.122e-05/0.4867, allocations: 41.7 kB / 0.5495 GB, free: 13.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005008/0.4872, allocations: 0.6683 MB / 0.5502 GB, free: 12.56 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.4874, allocations: 236.5 kB / 0.5504 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.4875, allocations: 20 kB / 0.5504 GB, free: 12.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.4876, allocations: 337.9 kB / 0.5507 GB, free: 11.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008146/0.4884, allocations: 353.8 kB / 0.5511 GB, free: 11.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.4895, allocations: 0.677 MB / 0.5517 GB, free: 10.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009133/0.4904, allocations: 446.8 kB / 0.5521 GB, free: 10.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.4904, allocations: 7.953 kB / 0.5521 GB, free: 10.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002303/0.4927, allocations: 1.122 MB / 0.5532 GB, free: 9.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001046/0.4938, allocations: 3.014 MB / 0.5562 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.4938, allocations: 8 kB / 0.5562 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.4939, allocations: 16 kB / 0.5562 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009596/0.4948, allocations: 243.6 kB / 0.5564 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.792e-05/0.4949, allocations: 19.92 kB / 0.5565 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.4966, allocations: 140.6 kB / 0.5566 GB, free: 5.617 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.823e-05/0.4967, allocations: 40.69 kB / 0.5566 GB, free: 5.578 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.4967, allocations: 4 kB / 0.5566 GB, free: 5.574 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001903/0.4986, allocations: 0.8999 MB / 0.5575 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.4986, allocations: 8.844 kB / 0.5575 GB, free: 4.664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.4986, allocations: 16 kB / 0.5575 GB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008259/0.4995, allocations: 235.6 kB / 0.5578 GB, free: 4.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.4995, allocations: 12 kB / 0.5578 GB, free: 4.406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.5008, allocations: 135.7 kB / 0.5579 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.936e-05/0.5009, allocations: 32 kB / 0.5579 GB, free: 4.242 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000654/0.5015, allocations: 440.8 kB / 0.5584 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.5017, allocations: 146.3 kB / 0.5585 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002258/0.504, allocations: 0.9919 MB / 0.5595 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.504, allocations: 8.688 kB / 0.5595 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.5041, allocations: 0 / 0.5595 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0018/0.5059, allocations: 0.8881 MB / 0.5603 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004809/0.5107, allocations: 2.545 MB / 0.5628 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.5107, allocations: 4 kB / 0.5628 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007366/0.5115, allocations: 177 kB / 0.563 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003007/0.5118, allocations: 98.16 kB / 0.5631 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.375e-05/0.5118, allocations: 20 kB / 0.5631 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008307/0.5127, allocations: 1.16 MB / 0.5642 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.5127, allocations: 11.94 kB / 0.5643 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003407/0.5161, allocations: 1.882 MB / 0.5661 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008393/0.517, allocations: 339.1 kB / 0.5664 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002226/0.5172, allocations: 31.48 kB / 0.5664 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.5182, allocations: 103.9 kB / 0.5665 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.5184, allocations: 68.25 kB / 0.5666 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-05/0.5184, allocations: 31.98 kB / 0.5666 GB, free: 10.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001357/0.5198, allocations: 0.9138 MB / 0.5675 GB, free: 9.844 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5198, allocations: 0 / 0.5675 GB, free: 9.844 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002054/0.5219, allocations: 0.6483 MB / 0.5682 GB, free: 9.195 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007707/0.5227, allocations: 374.2 kB / 0.5685 GB, free: 8.832 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003111/0.5258, allocations: 1.348 MB / 0.5698 GB, free: 7.484 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.5258, allocations: 0 / 0.5698 GB, free: 7.484 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.5269, allocations: 454.8 kB / 0.5703 GB, free: 7.047 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004065/0.531, allocations: 0.814 MB / 0.5711 GB, free: 6.262 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0045/0.5355, allocations: 2.923 MB / 0.5739 GB, free: 3.254 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008198/0.5363, allocations: 1.226 MB / 0.5751 GB, free: 1.996 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001738/0.5381, allocations: 326.2 kB / 0.5754 GB, free: 1.688 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003129/0.5384, allocations: 115.4 kB / 0.5755 GB, free: 1.574 MB / 446.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5384, allocations: 0 / 0.5755 GB, free: 1.574 MB / 446.1 MB Notification: Performance of Templates: time 0.04907/0.5875, allocations: 29.17 MB / 0.604 GB, free: 4.66 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) Environment - environmentSimulation: