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.001163/0.001163, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001068/0.001068, allocations: 195.2 kB / 16.14 MB, free: 6.738 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.451/1.451, allocations: 205.1 MB / 222 MB, free: 5.02 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3719/0.3719, allocations: 54.93 MB / 324.3 MB, free: 12 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.001339/0.001339, allocations: 72.23 kB / 394.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1386, allocations: 59.58 MB / 454.3 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.3162/0.4548, allocations: 74.06 MB / 0.516 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02602/0.4809, allocations: 14.26 MB / 0.5299 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004172/0.4851, allocations: 58.97 kB / 0.5299 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004441/0.4897, allocations: 0.733 MB / 0.5307 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01053/0.5002, allocations: 2.337 MB / 0.5329 GB, free: 9.129 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004694/0.5049, allocations: 1.132 MB / 0.534 GB, free: 8.441 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01057/0.5155, allocations: 5.694 MB / 0.5396 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002459/0.518, allocations: 1.164 MB / 0.5407 GB, free: 4.801 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004482/0.5225, allocations: 1.427 MB / 0.5421 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00245/0.525, allocations: 1.268 MB / 0.5434 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002254/0.5252, allocations: 75.94 kB / 0.5434 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00349/0.5287, allocations: 1.099 MB / 0.5445 GB, free: 1.051 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004361/0.5292, allocations: 334.5 kB / 0.5448 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001348/0.5305, allocations: 0.8396 MB / 0.5457 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004164/0.5347, allocations: 2.757 MB / 0.5483 GB, free: 13.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.5347, allocations: 0 / 0.5483 GB, free: 13.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.5348, allocations: 0 / 0.5483 GB, free: 13.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.558e-05/0.5348, allocations: 0 / 0.5483 GB, free: 13.11 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.004556/0.5394, allocations: 2.1 MB / 0.5504 GB, free: 10.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.5394, allocations: 12.03 kB / 0.5504 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.5405, allocations: 250.7 kB / 0.5507 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002521/0.5431, allocations: 1.461 MB / 0.5521 GB, free: 9.172 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.56e-05/0.5431, allocations: 86.86 kB / 0.5522 GB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.5433, allocations: 108 kB / 0.5523 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002848/0.5462, allocations: 1.366 MB / 0.5536 GB, free: 7.488 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.623e-05/0.5462, allocations: 7.938 kB / 0.5536 GB, free: 7.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.5463, allocations: 51.97 kB / 0.5537 GB, free: 7.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.878e-05/0.5464, allocations: 43.92 kB / 0.5537 GB, free: 7.387 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00237/0.5488, allocations: 1.03 MB / 0.5547 GB, free: 6.359 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.006872/0.5556, allocations: 6.569 MB / 0.5611 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.5574, allocations: 0.6277 MB / 0.5617 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006713/0.5581, allocations: 330.4 kB / 0.562 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003575/0.5585, allocations: 341 kB / 0.5624 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.5585, allocations: 47.12 kB / 0.5624 GB, free: 13.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=63): time 2.856e-06/0.5586, allocations: 0 / 0.5624 GB, free: 13.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=67): time 0.006688/0.5653, allocations: 2.304 MB / 0.5647 GB, free: 11.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.998e-05/0.5654, allocations: 162.8 kB / 0.5648 GB, free: 11.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/0.5671, allocations: 1.251 MB / 0.566 GB, free: 10.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.431e-05/0.5672, allocations: 41.7 kB / 0.5661 GB, free: 10.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005348/0.5677, allocations: 0.6684 MB / 0.5667 GB, free: 9.422 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.5679, allocations: 232.6 kB / 0.567 GB, free: 9.191 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/0.5682, allocations: 182.5 kB / 0.5671 GB, free: 9.008 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5683, allocations: 338 kB / 0.5675 GB, free: 8.672 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007786/0.5691, allocations: 332.6 kB / 0.5678 GB, free: 8.344 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.5702, allocations: 0.6652 MB / 0.5684 GB, free: 7.531 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/0.5719, allocations: 0.9164 MB / 0.5693 GB, free: 6.516 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.5719, allocations: 4 kB / 0.5693 GB, free: 6.512 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002361/0.5743, allocations: 1.071 MB / 0.5704 GB, free: 5.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.5744, allocations: 8.781 kB / 0.5704 GB, free: 5.422 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.5744, allocations: 12.78 kB / 0.5704 GB, free: 5.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.041e-05/0.5744, allocations: 15.94 kB / 0.5704 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009258/0.5754, allocations: 236.2 kB / 0.5706 GB, free: 5.164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.248e-05/0.5754, allocations: 16.48 kB / 0.5706 GB, free: 5.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.5768, allocations: 127.7 kB / 0.5708 GB, free: 5.023 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.34e-05/0.5769, allocations: 43.98 kB / 0.5708 GB, free: 4.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001273/0.5782, allocations: 0.58 MB / 0.5714 GB, free: 4.395 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009081/0.5791, allocations: 0.6448 MB / 0.572 GB, free: 3.609 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001481/0.5806, allocations: 0.8787 MB / 0.5729 GB, free: 2.633 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.524e-06/0.5806, allocations: 5.016 kB / 0.5729 GB, free: 2.629 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002195/0.5828, allocations: 1.016 MB / 0.5739 GB, free: 1.602 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.5828, allocations: 12 kB / 0.5739 GB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.5829, allocations: 4 kB / 0.5739 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.5829, allocations: 16.72 kB / 0.5739 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007866/0.5837, allocations: 223.6 kB / 0.5741 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.1e-05/0.5837, allocations: 19.88 kB / 0.5741 GB, free: 1.332 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.585, allocations: 128 kB / 0.5742 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-05/0.5851, allocations: 43.98 kB / 0.5743 GB, free: 1.164 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.0003154/0.5854, allocations: 236.9 kB / 0.5745 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002365/0.5856, allocations: 138.3 kB / 0.5746 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002236/0.5879, allocations: 0.935 MB / 0.5756 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.5879, allocations: 4 kB / 0.5756 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.5879, allocations: 4 kB / 0.5756 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001666/0.5896, allocations: 0.8295 MB / 0.5764 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004511/0.5941, allocations: 2.479 MB / 0.5788 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.5941, allocations: 8.094 kB / 0.5788 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006813/0.5948, allocations: 155.8 kB / 0.5789 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002835/0.5951, allocations: 87.11 kB / 0.579 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.017e-05/0.5952, allocations: 27.98 kB / 0.5791 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008261/0.596, allocations: 1.152 MB / 0.5802 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/0.596, allocations: 11.94 kB / 0.5802 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002956/0.599, allocations: 1.501 MB / 0.5817 GB, free: 9.266 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007927/0.5998, allocations: 307.2 kB / 0.582 GB, free: 8.945 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/0.6, allocations: 32 kB / 0.582 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009982/0.601, allocations: 103.9 kB / 0.5821 GB, free: 8.812 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.6012, allocations: 60.25 kB / 0.5821 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.777e-05/0.6013, allocations: 43.97 kB / 0.5822 GB, free: 8.711 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001216/0.6025, allocations: 0.8827 MB / 0.583 GB, free: 7.828 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6025, allocations: 0 / 0.583 GB, free: 7.828 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001902/0.6044, allocations: 0.6366 MB / 0.5837 GB, free: 7.191 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.0007755/0.6052, allocations: 373.1 kB / 0.584 GB, free: 6.832 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002947/0.6081, allocations: 1.27 MB / 0.5853 GB, free: 5.562 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.6082, allocations: 4.25 kB / 0.5853 GB, free: 5.559 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.6092, allocations: 426.5 kB / 0.5857 GB, free: 5.148 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003821/0.613, allocations: 0.8147 MB / 0.5865 GB, free: 4.359 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004793/0.6178, allocations: 2.951 MB / 0.5894 GB, free: 1.316 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008274/0.6187, allocations: 1.187 MB / 0.5905 GB, free: 104 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001819/0.6205, allocations: 335.9 kB / 0.5908 GB, free: 15.79 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003381/0.6209, allocations: 115.4 kB / 0.5909 GB, free: 15.67 MB / 478.1 MB Notification: Performance of SimCode: time 1.232e-06/0.6209, allocations: 0 / 0.5909 GB, free: 15.67 MB / 478.1 MB Notification: Performance of Templates: time 0.05247/0.6734, allocations: 29.51 MB / 0.6198 GB, free: 2.426 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (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)