Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008603/0.0008603, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005588/0.005588, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.518/1.518, 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.4223/0.4223, allocations: 55.01 MB / 325.7 MB, free: 0.5859 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.0005481/0.0005477, allocations: 19.98 kB / 397.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4029, allocations: 60.72 MB / 458 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07318/0.4761, allocations: 72.81 MB / 0.5183 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02367/0.4998, allocations: 14.1 MB / 0.5321 GB, free: 11.35 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004289/0.5042, allocations: 53.09 kB / 0.5322 GB, free: 11.33 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003953/0.5082, allocations: 0.7262 MB / 0.5329 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01123/0.5194, allocations: 2.348 MB / 0.5352 GB, free: 9.492 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005018/0.5245, allocations: 1.129 MB / 0.5363 GB, free: 8.812 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01073/0.5352, allocations: 5.692 MB / 0.5418 GB, free: 5.984 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003038/0.5383, allocations: 1.126 MB / 0.5429 GB, free: 5.289 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004731/0.5431, allocations: 1.38 MB / 0.5443 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003322/0.5464, allocations: 1.241 MB / 0.5455 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005922/0.547, allocations: 56 kB / 0.5455 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004249/0.5513, allocations: 1.099 MB / 0.5466 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006342/0.552, allocations: 302.5 kB / 0.5469 GB, free: 1.203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002098/0.5541, allocations: 0.8334 MB / 0.5477 GB, free: 368 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005551/0.5596, allocations: 2.714 MB / 0.5504 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.5597, allocations: 4 kB / 0.5504 GB, free: 13.63 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.5597, allocations: 4 kB / 0.5504 GB, free: 13.63 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.438e-05/0.5598, allocations: 0 / 0.5504 GB, free: 13.63 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.004807/0.5646, allocations: 1.801 MB / 0.5521 GB, free: 11.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.5647, allocations: 8.031 kB / 0.5521 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.566, allocations: 262.8 kB / 0.5524 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003285/0.5693, allocations: 1.461 MB / 0.5538 GB, free: 9.977 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.184e-05/0.5694, allocations: 86.09 kB / 0.5539 GB, free: 9.891 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/0.5696, allocations: 108 kB / 0.554 GB, free: 9.785 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002824/0.5724, allocations: 1.417 MB / 0.5554 GB, free: 8.242 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/0.5724, allocations: 3.938 kB / 0.5554 GB, free: 8.238 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.5726, allocations: 44 kB / 0.5554 GB, free: 8.195 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.567e-05/0.5726, allocations: 36 kB / 0.5555 GB, free: 8.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002613/0.5752, allocations: 1.097 MB / 0.5565 GB, free: 7.062 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.007795/0.583, allocations: 6.586 MB / 0.563 GB, free: 84 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.585, allocations: 0.6862 MB / 0.5636 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007276/0.5857, allocations: 358.9 kB / 0.564 GB, free: 15.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003523/0.5861, allocations: 341 kB / 0.5643 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.5861, allocations: 47.11 kB / 0.5643 GB, free: 14.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=64): time 2.836e-06/0.5861, allocations: 0 / 0.5643 GB, free: 14.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=68): time 0.00753/0.5937, allocations: 2.645 MB / 0.5669 GB, free: 11.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.5938, allocations: 166.8 kB / 0.5671 GB, free: 11.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/0.5957, allocations: 1.255 MB / 0.5683 GB, free: 10.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.5959, allocations: 45.7 kB / 0.5684 GB, free: 10.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005656/0.5964, allocations: 0.6529 MB / 0.569 GB, free: 9.656 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/0.5967, allocations: 244.5 kB / 0.5692 GB, free: 9.414 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.5969, allocations: 81.67 kB / 0.5693 GB, free: 9.328 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.597, allocations: 345.9 kB / 0.5696 GB, free: 8.984 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008432/0.5978, allocations: 353.8 kB / 0.57 GB, free: 8.637 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.5991, allocations: 0.6918 MB / 0.5706 GB, free: 7.805 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/0.601, allocations: 0.9754 MB / 0.5716 GB, free: 6.727 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.601, allocations: 0 / 0.5716 GB, free: 6.727 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002752/0.6037, allocations: 1.177 MB / 0.5727 GB, free: 5.539 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000276/0.604, allocations: 316.6 kB / 0.5731 GB, free: 5.125 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.604, allocations: 8 kB / 0.5731 GB, free: 5.117 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003802/0.6044, allocations: 66.77 kB / 0.5731 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009204/0.6054, allocations: 231.7 kB / 0.5733 GB, free: 4.824 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005028/0.6059, allocations: 0.5914 MB / 0.5739 GB, free: 4.207 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/0.6075, allocations: 139.8 kB / 0.5741 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-05/0.6075, allocations: 47.98 kB / 0.5741 GB, free: 4.023 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.906e-06/0.6076, allocations: 4 kB / 0.5741 GB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001963/0.6095, allocations: 0.9504 MB / 0.575 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.6096, allocations: 8 kB / 0.575 GB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000259/0.6098, allocations: 81.56 kB / 0.5751 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007833/0.6106, allocations: 215.7 kB / 0.5753 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005182/0.6111, allocations: 0.6037 MB / 0.5759 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.6126, allocations: 124 kB / 0.576 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.672e-05/0.6127, allocations: 43.98 kB / 0.5761 GB, free: 1.973 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (104): * Single equations (assignments): 103 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.001159/0.6139, allocations: 436.8 kB / 0.5765 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003084/0.6142, allocations: 142.2 kB / 0.5766 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002999/0.6172, allocations: 1.042 MB / 0.5776 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/0.6172, allocations: 8 kB / 0.5777 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.6173, allocations: 0 / 0.5777 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002116/0.6194, allocations: 0.9357 MB / 0.5786 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005342/0.6247, allocations: 2.573 MB / 0.5811 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.6248, allocations: 8 kB / 0.5811 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006935/0.6255, allocations: 160.3 kB / 0.5812 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004697/0.626, allocations: 151.4 kB / 0.5814 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-05/0.626, allocations: 23.98 kB / 0.5814 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/0.6272, allocations: 1.743 MB / 0.5831 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/0.6272, allocations: 8.875 kB / 0.5831 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003325/0.6306, allocations: 1.638 MB / 0.5847 GB, free: 8.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008112/0.6314, allocations: 335.1 kB / 0.585 GB, free: 8.383 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.6316, allocations: 23.94 kB / 0.5851 GB, free: 8.359 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.6326, allocations: 115.8 kB / 0.5852 GB, free: 8.246 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.6327, allocations: 56.25 kB / 0.5852 GB, free: 8.191 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-05/0.6328, allocations: 47.91 kB / 0.5853 GB, free: 8.145 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0013/0.6341, allocations: 0.8866 MB / 0.5861 GB, free: 7.258 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6341, allocations: 0 / 0.5861 GB, free: 7.258 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001915/0.636, allocations: 0.6405 MB / 0.5868 GB, free: 6.617 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,6), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008204/0.6369, allocations: 379.5 kB / 0.5871 GB, free: 6.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003376/0.6403, allocations: 1.375 MB / 0.5885 GB, free: 4.887 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.6403, allocations: 0 / 0.5885 GB, free: 4.887 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.6414, allocations: 480.6 kB / 0.5889 GB, free: 4.418 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004933/0.6464, allocations: 0.8505 MB / 0.5898 GB, free: 3.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004867/0.6513, allocations: 3.036 MB / 0.5927 GB, free: 476 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009174/0.6522, allocations: 1.191 MB / 0.5939 GB, free: 15.25 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001702/0.6539, allocations: 327.3 kB / 0.5942 GB, free: 14.93 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000353/0.6543, allocations: 127.3 kB / 0.5943 GB, free: 14.81 MB / 478.1 MB Notification: Performance of SimCode: time 1.162e-06/0.6543, allocations: 0 / 0.5943 GB, free: 14.81 MB / 478.1 MB Notification: Performance of Templates: time 0.05793/0.7122, allocations: 31.39 MB / 0.625 GB, free: 15.67 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: