Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_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_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.449/1.449, allocations: 205.1 MB / 222.4 MB, free: 4.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4031/0.4031, allocations: 54.95 MB / 324.7 MB, free: 15.97 MB / 270.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.001462/0.001462, allocations: 63.91 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1319, allocations: 59.6 MB / 454.9 MB, free: 152 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.2613/0.3932, allocations: 60.48 MB / 0.5033 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01817/0.4115, allocations: 11.24 MB / 0.5143 GB, free: 6.176 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002767/0.4143, allocations: 55.44 kB / 0.5144 GB, free: 6.152 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002356/0.4167, allocations: 0.7262 MB / 0.5151 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006414/0.4231, allocations: 1.924 MB / 0.5169 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003783/0.4269, allocations: 1.013 MB / 0.5179 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005648/0.4326, allocations: 3.025 MB / 0.5209 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002437/0.435, allocations: 1.086 MB / 0.5219 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004015/0.4391, allocations: 1.432 MB / 0.5233 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002186/0.4413, allocations: 0.9651 MB / 0.5243 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004118/0.4417, allocations: 122.7 kB / 0.5244 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003366/0.4451, allocations: 1.205 MB / 0.5256 GB, free: 480 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004901/0.4456, allocations: 305.7 kB / 0.5259 GB, free: 276 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001735/0.4473, allocations: 0.7345 MB / 0.5266 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00442/0.4517, allocations: 2.214 MB / 0.5287 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4518, allocations: 0 / 0.5287 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4518, allocations: 0 / 0.5287 GB, free: 14.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.335e-05/0.4518, allocations: 1.375 kB / 0.5288 GB, free: 14.68 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.00471/0.4566, allocations: 1.743 MB / 0.5305 GB, free: 13.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.4566, allocations: 9.594 kB / 0.5305 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002682/0.4593, allocations: 461.9 kB / 0.5309 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003241/0.4625, allocations: 1.104 MB / 0.532 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005678/0.4631, allocations: 123.7 kB / 0.5321 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000253/0.4634, allocations: 88.5 kB / 0.5322 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004413/0.4678, allocations: 1.235 MB / 0.5334 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.913e-05/0.4679, allocations: 9.656 kB / 0.5334 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/0.4681, allocations: 43 kB / 0.5334 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.579e-05/0.4681, allocations: 33.08 kB / 0.5335 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004554/0.4727, allocations: 0.9871 MB / 0.5344 GB, free: 10.79 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.01224/0.485, allocations: 6.282 MB / 0.5406 GB, free: 4.543 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003315/0.4883, allocations: 0.6763 MB / 0.5412 GB, free: 3.859 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009421/0.4893, allocations: 273.3 kB / 0.5415 GB, free: 3.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005459/0.4899, allocations: 422.3 kB / 0.5419 GB, free: 3.086 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.161e-05/0.4899, allocations: 39.38 kB / 0.5419 GB, free: 3.039 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.705e-06/0.4899, allocations: 4 kB / 0.5419 GB, free: 3.035 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.01212/0.5021, allocations: 1.755 MB / 0.5436 GB, free: 1.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.5022, allocations: 162.2 kB / 0.5438 GB, free: 1.055 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003252/0.5055, allocations: 1.157 MB / 0.5449 GB, free: 15.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001488/0.5057, allocations: 37.7 kB / 0.545 GB, free: 15.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007858/0.5065, allocations: 0.6006 MB / 0.5456 GB, free: 15.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000241/0.5067, allocations: 149.9 kB / 0.5457 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004296/0.5072, allocations: 154.5 kB / 0.5458 GB, free: 14.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.5074, allocations: 341.9 kB / 0.5462 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.509, allocations: 344.6 kB / 0.5465 GB, free: 14.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002025/0.5111, allocations: 0.6698 MB / 0.5472 GB, free: 13.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002373/0.5135, allocations: 0.8584 MB / 0.548 GB, free: 12.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.5135, allocations: 4 kB / 0.548 GB, free: 12.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003321/0.5168, allocations: 1.14 MB / 0.5491 GB, free: 11.31 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.5168, allocations: 8 kB / 0.5491 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.5169, allocations: 8 kB / 0.5491 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.518, allocations: 271 kB / 0.5494 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007985/0.5188, allocations: 176.8 kB / 0.5496 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.5203, allocations: 0.8612 MB / 0.5504 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.522, allocations: 190.9 kB / 0.5506 GB, free: 9.785 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.227e-05/0.5221, allocations: 39.98 kB / 0.5506 GB, free: 9.746 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001338/0.5234, allocations: 0.5253 MB / 0.5511 GB, free: 9.215 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001206/0.5246, allocations: 0.6425 MB / 0.5518 GB, free: 8.426 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001836/0.5265, allocations: 0.8136 MB / 0.5525 GB, free: 7.504 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.803e-06/0.5265, allocations: 3.938 kB / 0.5526 GB, free: 7.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.003051/0.5295, allocations: 1.09 MB / 0.5536 GB, free: 6.402 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.5296, allocations: 11.94 kB / 0.5536 GB, free: 6.391 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.5296, allocations: 11.98 kB / 0.5536 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009538/0.5305, allocations: 261.7 kB / 0.5539 GB, free: 6.121 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006519/0.5312, allocations: 163.8 kB / 0.554 GB, free: 5.961 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.5326, allocations: 0.859 MB / 0.5549 GB, free: 5.078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.5342, allocations: 155.7 kB / 0.555 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.2e-05/0.5343, allocations: 39.98 kB / 0.5551 GB, free: 4.887 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003/0.5346, allocations: 228 kB / 0.5553 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003379/0.5349, allocations: 114.6 kB / 0.5554 GB, free: 4.543 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00382/0.5388, allocations: 0.9874 MB / 0.5564 GB, free: 3.547 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.5388, allocations: 4 kB / 0.5564 GB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.5388, allocations: 7.984 kB / 0.5564 GB, free: 3.535 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.5388, allocations: 3.984 kB / 0.5564 GB, free: 3.531 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005543/0.5444, allocations: 2.041 MB / 0.5584 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/0.5444, allocations: 0 / 0.5584 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003713/0.5448, allocations: 75.86 kB / 0.5584 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009439/0.5457, allocations: 258.1 kB / 0.5587 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.054e-05/0.5458, allocations: 12 kB / 0.5587 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/0.5471, allocations: 0.8535 MB / 0.5595 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.25e-05/0.5472, allocations: 4 kB / 0.5595 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003996/0.5512, allocations: 1.118 MB / 0.5606 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006823/0.5519, allocations: 263.5 kB / 0.5609 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002934/0.5522, allocations: 12 kB / 0.5609 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.5532, allocations: 87.89 kB / 0.561 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.197e-05/0.5533, allocations: 35.83 kB / 0.561 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.8e-05/0.5534, allocations: 23.98 kB / 0.561 GB, free: 14.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00139/0.5548, allocations: 0.7997 MB / 0.5618 GB, free: 13.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5548, allocations: 0 / 0.5618 GB, free: 13.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001968/0.5568, allocations: 0.5654 MB / 0.5624 GB, free: 13.21 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 simulation (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007929/0.5576, allocations: 292.7 kB / 0.5626 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003734/0.5613, allocations: 1.233 MB / 0.5638 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.5614, allocations: 0 / 0.5638 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009548/0.5623, allocations: 316.5 kB / 0.5642 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002842/0.5652, allocations: 0.569 MB / 0.5647 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005482/0.5707, allocations: 2.046 MB / 0.5667 GB, free: 8.766 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000705/0.5714, allocations: 1.058 MB / 0.5677 GB, free: 7.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001226/0.5726, allocations: 249.1 kB / 0.568 GB, free: 7.441 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.5729, allocations: 83.42 kB / 0.5681 GB, free: 7.359 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5729, allocations: 0 / 0.5681 GB, free: 7.359 MB / 446.1 MB Notification: Performance of Templates: time 0.04255/0.6155, allocations: 24.76 MB / 0.5922 GB, free: 14.81 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)