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.0008405/0.0008405, allocations: 91.84 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.005796/0.005796, allocations: 169.9 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.479/1.479, 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.4157/0.4157, allocations: 55.01 MB / 325.7 MB, free: 0.5625 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.0005483/0.0005484, allocations: 12 kB / 397.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3847, allocations: 60.72 MB / 458 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06055/0.4453, allocations: 72.81 MB / 0.5183 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02226/0.4677, allocations: 14.1 MB / 0.5321 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003307/0.471, allocations: 51.69 kB / 0.5322 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003251/0.4743, allocations: 0.7222 MB / 0.5329 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0112/0.4855, allocations: 2.347 MB / 0.5352 GB, free: 9.254 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004613/0.4902, allocations: 1.129 MB / 0.5363 GB, free: 8.574 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0112/0.5014, allocations: 5.683 MB / 0.5418 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002417/0.5038, allocations: 1.131 MB / 0.5429 GB, free: 5.043 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004104/0.508, allocations: 1.388 MB / 0.5443 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002845/0.5108, allocations: 1.229 MB / 0.5455 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002253/0.5111, allocations: 56 kB / 0.5455 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003485/0.5146, allocations: 1.088 MB / 0.5466 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003958/0.515, allocations: 290.5 kB / 0.5469 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.5163, allocations: 0.8412 MB / 0.5477 GB, free: 368 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004155/0.5204, allocations: 2.698 MB / 0.5503 GB, free: 13.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.5205, allocations: 0 / 0.5503 GB, free: 13.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5205, allocations: 4 kB / 0.5503 GB, free: 13.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.541e-05/0.5205, allocations: 0 / 0.5503 GB, free: 13.65 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.003373/0.5239, allocations: 1.785 MB / 0.5521 GB, free: 11.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.524, allocations: 8.031 kB / 0.5521 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.525, allocations: 262.7 kB / 0.5523 GB, free: 11.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002393/0.5274, allocations: 1.457 MB / 0.5537 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.737e-05/0.5275, allocations: 82.09 kB / 0.5538 GB, free: 9.934 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.5277, allocations: 112 kB / 0.5539 GB, free: 9.824 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002768/0.5304, allocations: 1.409 MB / 0.5553 GB, free: 8.289 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.43e-05/0.5305, allocations: 7.938 kB / 0.5553 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.5306, allocations: 51.94 kB / 0.5554 GB, free: 8.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.983e-05/0.5307, allocations: 39.98 kB / 0.5554 GB, free: 8.191 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002545/0.5332, allocations: 1.093 MB / 0.5565 GB, free: 7.098 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.006831/0.5401, allocations: 6.579 MB / 0.5629 GB, free: 128 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.5419, allocations: 0.6707 MB / 0.5636 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007401/0.5426, allocations: 362.3 kB / 0.5639 GB, free: 15.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002921/0.5429, allocations: 344.9 kB / 0.5642 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.543, allocations: 43.12 kB / 0.5643 GB, free: 14.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=63): time 2.695e-06/0.543, allocations: 0 / 0.5643 GB, free: 14.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=67): time 0.006623/0.5496, allocations: 2.468 MB / 0.5667 GB, free: 12.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.811e-05/0.5497, allocations: 166.7 kB / 0.5668 GB, free: 11.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.5515, allocations: 1.247 MB / 0.5681 GB, free: 10.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.913e-05/0.5516, allocations: 41.7 kB / 0.5681 GB, free: 10.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005654/0.5521, allocations: 0.6683 MB / 0.5687 GB, free: 9.906 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.5524, allocations: 232.7 kB / 0.569 GB, free: 9.676 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.5525, allocations: 73.67 kB / 0.569 GB, free: 9.598 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.5526, allocations: 338 kB / 0.5694 GB, free: 9.262 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008405/0.5535, allocations: 357.8 kB / 0.5697 GB, free: 8.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.5546, allocations: 0.6965 MB / 0.5704 GB, free: 8.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00185/0.5564, allocations: 0.9685 MB / 0.5713 GB, free: 6.996 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.5565, allocations: 0 / 0.5713 GB, free: 6.996 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002477/0.5589, allocations: 1.138 MB / 0.5724 GB, free: 5.852 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003152/0.5593, allocations: 317 kB / 0.5727 GB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.5593, allocations: 8 kB / 0.5727 GB, free: 5.426 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/0.5593, allocations: 16 kB / 0.5728 GB, free: 5.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009148/0.5602, allocations: 239.7 kB / 0.573 GB, free: 5.176 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.903e-05/0.5603, allocations: 19.94 kB / 0.573 GB, free: 5.156 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.5615, allocations: 139.7 kB / 0.5731 GB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.82e-05/0.5616, allocations: 39.98 kB / 0.5732 GB, free: 4.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.5616, allocations: 4 kB / 0.5732 GB, free: 4.977 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001762/0.5634, allocations: 0.9109 MB / 0.5741 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.5634, allocations: 12 kB / 0.5741 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.5634, allocations: 16 kB / 0.5741 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007786/0.5642, allocations: 236.4 kB / 0.5743 GB, free: 3.809 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/0.5642, allocations: 19.92 kB / 0.5743 GB, free: 3.789 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.5653, allocations: 131.6 kB / 0.5745 GB, free: 3.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-05/0.5654, allocations: 39.98 kB / 0.5745 GB, free: 3.621 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.0006998/0.5661, allocations: 432.8 kB / 0.5749 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.5663, allocations: 138.3 kB / 0.5751 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002333/0.5687, allocations: 0.9983 MB / 0.576 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.5687, allocations: 8 kB / 0.576 GB, free: 2.027 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5687, allocations: 0 / 0.576 GB, free: 2.027 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001883/0.5706, allocations: 0.8881 MB / 0.5769 GB, free: 1.102 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004881/0.5755, allocations: 2.537 MB / 0.5794 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.868e-06/0.5755, allocations: 7.984 kB / 0.5794 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000709/0.5763, allocations: 168.1 kB / 0.5796 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003118/0.5766, allocations: 89.66 kB / 0.5796 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.238e-05/0.5766, allocations: 28 kB / 0.5797 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000796/0.5774, allocations: 1.155 MB / 0.5808 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.5775, allocations: 11.94 kB / 0.5808 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003092/0.5806, allocations: 1.59 MB / 0.5824 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006666/0.5812, allocations: 327.2 kB / 0.5827 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.5814, allocations: 20 kB / 0.5827 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.5824, allocations: 119.8 kB / 0.5828 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.5826, allocations: 68.19 kB / 0.5829 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.576e-05/0.5827, allocations: 31.97 kB / 0.5829 GB, free: 10.66 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001274/0.5839, allocations: 0.8827 MB / 0.5838 GB, free: 9.777 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.584, allocations: 0 / 0.5838 GB, free: 9.777 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001931/0.5859, allocations: 0.6327 MB / 0.5844 GB, free: 9.145 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.0007998/0.5867, allocations: 379.4 kB / 0.5847 GB, free: 8.777 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003049/0.5898, allocations: 1.352 MB / 0.5861 GB, free: 7.434 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.5898, allocations: 4 kB / 0.5861 GB, free: 7.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.5909, allocations: 446.8 kB / 0.5865 GB, free: 7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004993/0.5959, allocations: 0.8485 MB / 0.5873 GB, free: 6.172 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004858/0.6007, allocations: 3.028 MB / 0.5903 GB, free: 3.051 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007701/0.6015, allocations: 1.192 MB / 0.5914 GB, free: 1.832 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001461/0.603, allocations: 328.3 kB / 0.5918 GB, free: 1.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003299/0.6033, allocations: 119.4 kB / 0.5919 GB, free: 1.402 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6033, allocations: 0 / 0.5919 GB, free: 1.402 MB / 462.1 MB Notification: Performance of Templates: time 0.05347/0.6568, allocations: 30.51 MB / 0.6217 GB, free: 3.145 MB / 494.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: