Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, 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.001614/0.001614, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.436/1.436, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.412/0.412, allocations: 54.95 MB / 324.7 MB, free: 15.91 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.00151/0.00151, allocations: 75.84 kB / 395.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1412, allocations: 59.59 MB / 454.9 MB, free: 192 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.2972/0.4384, allocations: 60.49 MB / 0.5033 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01955/0.458, allocations: 11.24 MB / 0.5143 GB, free: 6.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003392/0.4615, allocations: 47 kB / 0.5143 GB, free: 6.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003476/0.465, allocations: 0.7258 MB / 0.5151 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008166/0.4732, allocations: 1.929 MB / 0.5169 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004845/0.4781, allocations: 1.023 MB / 0.5179 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007198/0.4853, allocations: 3.016 MB / 0.5209 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003925/0.4893, allocations: 1.082 MB / 0.5219 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005877/0.4952, allocations: 1.436 MB / 0.5233 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002946/0.4981, allocations: 0.9712 MB / 0.5243 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005988/0.4988, allocations: 122.9 kB / 0.5244 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00469/0.5035, allocations: 1.213 MB / 0.5256 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007924/0.5043, allocations: 297.4 kB / 0.5259 GB, free: 380 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002574/0.5069, allocations: 0.7349 MB / 0.5266 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006115/0.513, allocations: 2.214 MB / 0.5288 GB, free: 14.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.513, allocations: 0 / 0.5288 GB, free: 14.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.513, allocations: 1.062 kB / 0.5288 GB, free: 14.86 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.757e-05/0.5131, allocations: 4 kB / 0.5288 GB, free: 14.86 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.005732/0.5189, allocations: 1.744 MB / 0.5305 GB, free: 13.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.5189, allocations: 9.312 kB / 0.5305 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00255/0.5215, allocations: 360.9 kB / 0.5308 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003419/0.5249, allocations: 1.044 MB / 0.5318 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004397/0.5254, allocations: 121.7 kB / 0.5319 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002362/0.5256, allocations: 91.28 kB / 0.532 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003082/0.5287, allocations: 1.208 MB / 0.5332 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/0.5288, allocations: 1.844 kB / 0.5332 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.5289, allocations: 46.27 kB / 0.5333 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-05/0.529, allocations: 32.98 kB / 0.5333 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003105/0.5321, allocations: 0.9348 MB / 0.5342 GB, free: 11.09 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.0088/0.5409, allocations: 6.204 MB / 0.5403 GB, free: 4.895 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.543, allocations: 0.586 MB / 0.5408 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005969/0.5437, allocations: 233.4 kB / 0.5411 GB, free: 4.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/0.5448, allocations: 0.8749 MB / 0.5419 GB, free: 3.012 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.5449, allocations: 43.77 kB / 0.542 GB, free: 2.961 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 3.236e-06/0.5449, allocations: 0 / 0.542 GB, free: 2.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=39): time 0.008421/0.5533, allocations: 1.642 MB / 0.5436 GB, free: 1.289 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.5535, allocations: 166.2 kB / 0.5437 GB, free: 1.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002765/0.5563, allocations: 1.161 MB / 0.5448 GB, free: 15.92 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001243/0.5564, allocations: 37.69 kB / 0.5449 GB, free: 15.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006546/0.5571, allocations: 0.6005 MB / 0.5455 GB, free: 15.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000238/0.5573, allocations: 142 kB / 0.5456 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004119/0.5577, allocations: 158.5 kB / 0.5458 GB, free: 14.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.5579, allocations: 337.9 kB / 0.5461 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.5589, allocations: 312.6 kB / 0.5464 GB, free: 14.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.5603, allocations: 0.6442 MB / 0.547 GB, free: 13.53 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002008/0.5623, allocations: 0.8026 MB / 0.5478 GB, free: 12.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.575e-05/0.5623, allocations: 4 kB / 0.5478 GB, free: 12.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005523/0.5678, allocations: 1.387 MB / 0.5492 GB, free: 11.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.5679, allocations: 8 kB / 0.5492 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/0.5679, allocations: 9.5 kB / 0.5492 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.569, allocations: 265.2 kB / 0.5494 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007592/0.5698, allocations: 163.8 kB / 0.5496 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.5713, allocations: 0.8585 MB / 0.5504 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.5732, allocations: 186.9 kB / 0.5506 GB, free: 9.711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.5733, allocations: 32 kB / 0.5506 GB, free: 9.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001402/0.5747, allocations: 0.5019 MB / 0.5511 GB, free: 9.172 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001297/0.576, allocations: 0.6074 MB / 0.5517 GB, free: 8.418 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001766/0.5778, allocations: 0.7591 MB / 0.5524 GB, free: 7.551 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.035e-06/0.5778, allocations: 0 / 0.5524 GB, free: 7.551 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005265/0.5831, allocations: 1.36 MB / 0.5538 GB, free: 6.188 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.5831, allocations: 8 kB / 0.5538 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.5832, allocations: 11.94 kB / 0.5538 GB, free: 6.168 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000961/0.5841, allocations: 260.7 kB / 0.554 GB, free: 5.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005801/0.5847, allocations: 148.5 kB / 0.5542 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.5862, allocations: 0.8566 MB / 0.555 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.5879, allocations: 147.6 kB / 0.5552 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.013e-05/0.588, allocations: 35.98 kB / 0.5552 GB, free: 4.703 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.000317/0.5883, allocations: 228 kB / 0.5554 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003839/0.5887, allocations: 118.6 kB / 0.5555 GB, free: 4.355 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004945/0.5937, allocations: 1.061 MB / 0.5566 GB, free: 3.285 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.5937, allocations: 4 kB / 0.5566 GB, free: 3.281 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.5937, allocations: 0.8125 kB / 0.5566 GB, free: 3.281 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.5937, allocations: 0 / 0.5566 GB, free: 3.281 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006925/0.6007, allocations: 1.958 MB / 0.5585 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.6007, allocations: 8.297 kB / 0.5585 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003006/0.601, allocations: 67.89 kB / 0.5586 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00098/0.602, allocations: 260.6 kB / 0.5588 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.064e-05/0.6021, allocations: 11.98 kB / 0.5588 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002169/0.6043, allocations: 0.9112 MB / 0.5597 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.6043, allocations: 4 kB / 0.5597 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004007/0.6083, allocations: 1.059 MB / 0.5607 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009514/0.6093, allocations: 263.5 kB / 0.561 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000497/0.6098, allocations: 8 kB / 0.561 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.6111, allocations: 75.91 kB / 0.5611 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.6112, allocations: 35.89 kB / 0.5611 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.31e-05/0.6113, allocations: 19.98 kB / 0.5611 GB, free: 14.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0018/0.6131, allocations: 0.8035 MB / 0.5619 GB, free: 13.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6131, allocations: 0 / 0.5619 GB, free: 13.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003/0.6161, allocations: 0.5693 MB / 0.5625 GB, free: 13.05 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 (29): * Single equations (assignments): 27 * 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.0009536/0.6171, allocations: 302.7 kB / 0.5628 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003665/0.6207, allocations: 1.149 MB / 0.5639 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.998e-06/0.6208, allocations: 3.938 kB / 0.5639 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001457/0.6222, allocations: 352.8 kB / 0.5642 GB, free: 11.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003771/0.626, allocations: 0.5597 MB / 0.5648 GB, free: 10.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004444/0.6305, allocations: 1.827 MB / 0.5665 GB, free: 8.891 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007502/0.6313, allocations: 1.066 MB / 0.5676 GB, free: 7.797 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001703/0.633, allocations: 244.6 kB / 0.5678 GB, free: 7.562 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/0.6333, allocations: 87.36 kB / 0.5679 GB, free: 7.477 MB / 446.1 MB Notification: Performance of SimCode: time 1.964e-06/0.6334, allocations: 0 / 0.5679 GB, free: 7.477 MB / 446.1 MB Notification: Performance of Templates: time 0.04487/0.6782, allocations: 24.63 MB / 0.592 GB, free: 15.06 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)