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.00101/0.00101, allocations: 89.89 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.009516/0.009516, allocations: 171.8 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.502/1.502, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4433/0.4433, allocations: 55.01 MB / 325.7 MB, free: 0.6328 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.0006098/0.0006098, allocations: 12.66 kB / 397.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3351, allocations: 60.73 MB / 458 MB, free: 38.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.04827/0.3834, allocations: 59.07 MB / 0.5049 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01568/0.3991, allocations: 11.17 MB / 0.5158 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002652/0.4018, allocations: 42 kB / 0.5159 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002477/0.4043, allocations: 0.5999 MB / 0.5165 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00678/0.4112, allocations: 1.773 MB / 0.5182 GB, free: 6.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003315/0.4145, allocations: 0.9047 MB / 0.5191 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007688/0.4222, allocations: 3.97 MB / 0.5229 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/0.4241, allocations: 0.8744 MB / 0.5238 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00356/0.4277, allocations: 1.22 MB / 0.525 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/0.43, allocations: 0.9284 MB / 0.5259 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001846/0.4302, allocations: 45.81 kB / 0.5259 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002868/0.433, allocations: 1.101 MB / 0.527 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003351/0.4334, allocations: 229.3 kB / 0.5272 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.4346, allocations: 0.6692 MB / 0.5279 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003758/0.4383, allocations: 2.133 MB / 0.53 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4384, allocations: 1.062 kB / 0.53 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4384, allocations: 4 kB / 0.53 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.4384, allocations: 0 / 0.53 GB, free: 0.6914 MB / 398.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.003101/0.4415, allocations: 1.501 MB / 0.5314 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/0.4416, allocations: 9.438 kB / 0.5315 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002744/0.4443, allocations: 492.5 kB / 0.5319 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002474/0.4468, allocations: 1.136 MB / 0.533 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003852/0.4472, allocations: 143.2 kB / 0.5332 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.4474, allocations: 91.7 kB / 0.5333 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002801/0.4502, allocations: 1.259 MB / 0.5345 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.051e-05/0.4502, allocations: 5.25 kB / 0.5345 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.905e-05/0.4504, allocations: 39.75 kB / 0.5345 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.194e-05/0.4504, allocations: 28.48 kB / 0.5346 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002902/0.4533, allocations: 1.065 MB / 0.5356 GB, free: 12.74 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.007037/0.4604, allocations: 5.902 MB / 0.5414 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002273/0.4627, allocations: 0.7516 MB / 0.5421 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007138/0.4634, allocations: 293.3 kB / 0.5424 GB, free: 5.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003821/0.4638, allocations: 422.3 kB / 0.5428 GB, free: 4.906 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.4638, allocations: 38.89 kB / 0.5428 GB, free: 4.859 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.805e-06/0.4638, allocations: 0 / 0.5428 GB, free: 4.859 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.008719/0.4726, allocations: 2.009 MB / 0.5448 GB, free: 2.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.4727, allocations: 162.2 kB / 0.5449 GB, free: 2.625 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/0.4746, allocations: 1.14 MB / 0.546 GB, free: 1.473 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.66e-05/0.4747, allocations: 37.7 kB / 0.5461 GB, free: 1.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004384/0.4752, allocations: 0.5892 MB / 0.5467 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.4753, allocations: 142 kB / 0.5468 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.364e-05/0.4754, allocations: 53.69 kB / 0.5468 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.4755, allocations: 337.9 kB / 0.5472 GB, free: 308 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.4766, allocations: 369.1 kB / 0.5475 GB, free: 15.94 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.4779, allocations: 0.6703 MB / 0.5482 GB, free: 15.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002048/0.48, allocations: 0.8809 MB / 0.549 GB, free: 14.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.48, allocations: 0 / 0.549 GB, free: 14.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005969/0.486, allocations: 1.555 MB / 0.5505 GB, free: 12.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000288/0.4863, allocations: 293.7 kB / 0.5508 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.4864, allocations: 11.98 kB / 0.5508 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/0.4876, allocations: 285.6 kB / 0.5511 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007753/0.4883, allocations: 191.6 kB / 0.5513 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.4898, allocations: 0.8811 MB / 0.5522 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/0.4918, allocations: 231 kB / 0.5524 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.4919, allocations: 28 kB / 0.5524 GB, free: 10.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.4919, allocations: 4 kB / 0.5524 GB, free: 10.56 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005065/0.497, allocations: 1.367 MB / 0.5537 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.4971, allocations: 8 kB / 0.5538 GB, free: 9.188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009837/0.4981, allocations: 285.9 kB / 0.554 GB, free: 8.906 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006895/0.4988, allocations: 167.8 kB / 0.5542 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.5002, allocations: 0.8839 MB / 0.555 GB, free: 7.832 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/0.5019, allocations: 187.2 kB / 0.5552 GB, free: 7.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.5021, allocations: 31.98 kB / 0.5553 GB, free: 7.617 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (71): * Single equations (assignments): 70 * 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.0007614/0.5028, allocations: 372.8 kB / 0.5556 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003515/0.5032, allocations: 114.6 kB / 0.5557 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004263/0.5075, allocations: 1.094 MB / 0.5568 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.5075, allocations: 7.938 kB / 0.5568 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.5075, allocations: 0 / 0.5568 GB, free: 6.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.5075, allocations: 3.984 kB / 0.5568 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005856/0.5134, allocations: 2.154 MB / 0.5589 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.5134, allocations: 4 kB / 0.5589 GB, free: 3.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003982/0.5138, allocations: 83.94 kB / 0.559 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009931/0.5148, allocations: 282.7 kB / 0.5593 GB, free: 3.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.225e-05/0.5149, allocations: 19.98 kB / 0.5593 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001478/0.5164, allocations: 0.8723 MB / 0.5601 GB, free: 2.492 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.5164, allocations: 4 kB / 0.5601 GB, free: 2.488 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004405/0.5208, allocations: 1.227 MB / 0.5613 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008912/0.5217, allocations: 283.4 kB / 0.5616 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004079/0.5222, allocations: 12 kB / 0.5616 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/0.5235, allocations: 131.7 kB / 0.5617 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.851e-05/0.5237, allocations: 39.83 kB / 0.5618 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.032e-05/0.5237, allocations: 23.98 kB / 0.5618 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001523/0.5253, allocations: 0.7952 MB / 0.5626 GB, free: 15.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5253, allocations: 0 / 0.5626 GB, free: 15.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002294/0.5276, allocations: 0.5537 MB / 0.5631 GB, free: 15.36 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.0008244/0.5284, allocations: 270 kB / 0.5634 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003907/0.5323, allocations: 1.283 MB / 0.5646 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.5324, allocations: 0 / 0.5646 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009718/0.5333, allocations: 360.7 kB / 0.565 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003982/0.5373, allocations: 0.5498 MB / 0.5655 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006482/0.5438, allocations: 2.559 MB / 0.568 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007603/0.5446, allocations: 1.058 MB / 0.569 GB, free: 9.215 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00148/0.5461, allocations: 244.5 kB / 0.5693 GB, free: 8.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/0.5464, allocations: 87.41 kB / 0.5694 GB, free: 8.898 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5464, allocations: 0 / 0.5694 GB, free: 8.898 MB / 446.1 MB Notification: Performance of Templates: time 0.04611/0.5925, allocations: 23.76 MB / 0.5926 GB, free: 1.344 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: