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.00112/0.00112, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001295/0.001295, allocations: 191.7 kB / 16.25 MB, free: 6.617 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.414/1.414, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3726/0.3726, allocations: 54.93 MB / 324.4 MB, free: 168 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.001338/0.001339, allocations: 63.91 kB / 394.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1413, allocations: 59.59 MB / 454.4 MB, free: 0.543 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.3177/0.4591, allocations: 73.88 MB / 0.5159 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02376/0.4829, allocations: 14.1 MB / 0.5297 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003728/0.4867, allocations: 54.84 kB / 0.5297 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003464/0.4902, allocations: 0.7729 MB / 0.5305 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009202/0.4995, allocations: 2.363 MB / 0.5328 GB, free: 8.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00444/0.5039, allocations: 1.145 MB / 0.5339 GB, free: 8.152 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007881/0.5118, allocations: 4.383 MB / 0.5382 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002811/0.5147, allocations: 1.398 MB / 0.5396 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006228/0.5209, allocations: 1.707 MB / 0.5412 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003094/0.524, allocations: 1.329 MB / 0.5425 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003553/0.5244, allocations: 164 kB / 0.5427 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003639/0.528, allocations: 1.244 MB / 0.5439 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004206/0.5285, allocations: 422.5 kB / 0.5443 GB, free: 1.219 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.5296, allocations: 0.9372 MB / 0.5452 GB, free: 284 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003675/0.5333, allocations: 2.832 MB / 0.548 GB, free: 13.44 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.5333, allocations: 3.938 kB / 0.548 GB, free: 13.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5333, allocations: 0 / 0.548 GB, free: 13.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.171e-05/0.5334, allocations: 0 / 0.548 GB, free: 13.43 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.003648/0.537, allocations: 2.096 MB / 0.55 GB, free: 11.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.5371, allocations: 8.031 kB / 0.55 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009603/0.538, allocations: 255.4 kB / 0.5503 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002178/0.5402, allocations: 1.457 MB / 0.5517 GB, free: 9.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.92e-05/0.5403, allocations: 86.11 kB / 0.5518 GB, free: 9.414 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.5404, allocations: 108 kB / 0.5519 GB, free: 9.309 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002601/0.5431, allocations: 1.37 MB / 0.5532 GB, free: 7.812 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/0.5431, allocations: 7.938 kB / 0.5532 GB, free: 7.805 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.5432, allocations: 47.98 kB / 0.5533 GB, free: 7.758 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.626e-05/0.5433, allocations: 35.98 kB / 0.5533 GB, free: 7.723 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002341/0.5456, allocations: 1.038 MB / 0.5543 GB, free: 6.684 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.006772/0.5524, allocations: 6.558 MB / 0.5607 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.5541, allocations: 0.6316 MB / 0.5614 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006632/0.5547, allocations: 335.9 kB / 0.5617 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003116/0.5551, allocations: 340.9 kB / 0.562 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.5551, allocations: 47.06 kB / 0.562 GB, free: 14.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=63): time 2.424e-06/0.5551, allocations: 4 kB / 0.562 GB, free: 14.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=67): time 0.006029/0.5612, allocations: 2.301 MB / 0.5643 GB, free: 11.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/0.5612, allocations: 162.8 kB / 0.5644 GB, free: 11.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/0.5627, allocations: 1.247 MB / 0.5657 GB, free: 10.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.795e-05/0.5628, allocations: 49.7 kB / 0.5657 GB, free: 10.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004866/0.5633, allocations: 0.6644 MB / 0.5664 GB, free: 9.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.5635, allocations: 236.6 kB / 0.5666 GB, free: 9.516 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/0.5637, allocations: 182.5 kB / 0.5668 GB, free: 9.332 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.5639, allocations: 345.9 kB / 0.5671 GB, free: 8.988 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007517/0.5646, allocations: 332.6 kB / 0.5674 GB, free: 8.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009672/0.5656, allocations: 0.6613 MB / 0.5681 GB, free: 7.852 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.5672, allocations: 0.9252 MB / 0.569 GB, free: 6.828 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.5673, allocations: 4 kB / 0.569 GB, free: 6.824 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002129/0.5694, allocations: 1.067 MB / 0.57 GB, free: 5.746 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.5694, allocations: 8.844 kB / 0.57 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.5694, allocations: 8.703 kB / 0.57 GB, free: 5.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-05/0.5695, allocations: 19.92 kB / 0.57 GB, free: 5.711 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008794/0.5704, allocations: 231.7 kB / 0.5703 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/0.5704, allocations: 15.94 kB / 0.5703 GB, free: 5.469 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.5716, allocations: 131.7 kB / 0.5704 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.691e-05/0.5717, allocations: 36 kB / 0.5704 GB, free: 5.305 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001073/0.5727, allocations: 0.58 MB / 0.571 GB, free: 4.719 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008845/0.5736, allocations: 0.6418 MB / 0.5716 GB, free: 3.934 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001473/0.5751, allocations: 0.8807 MB / 0.5725 GB, free: 2.953 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.28e-06/0.5751, allocations: 1.328 kB / 0.5725 GB, free: 2.953 MB / 446.1 MB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.00202/0.5772, allocations: 1.02 MB / 0.5735 GB, free: 1.922 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.5772, allocations: 8 kB / 0.5735 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.5772, allocations: 8 kB / 0.5735 GB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.5772, allocations: 16.77 kB / 0.5735 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007865/0.578, allocations: 223.6 kB / 0.5737 GB, free: 1.672 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/0.578, allocations: 15.94 kB / 0.5737 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.5793, allocations: 131.9 kB / 0.5739 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.335e-05/0.5794, allocations: 40 kB / 0.5739 GB, free: 1.488 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.0002954/0.5797, allocations: 240.8 kB / 0.5741 GB, free: 1.246 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/0.5799, allocations: 139.8 kB / 0.5743 GB, free: 1.109 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/0.582, allocations: 0.9352 MB / 0.5752 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.5821, allocations: 8 kB / 0.5752 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.5821, allocations: 0 / 0.5752 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001673/0.5838, allocations: 0.8373 MB / 0.576 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004711/0.5885, allocations: 2.471 MB / 0.5784 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/0.5885, allocations: 7.984 kB / 0.5784 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006932/0.5892, allocations: 151.8 kB / 0.5786 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002118/0.5895, allocations: 93.23 kB / 0.5787 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.904e-05/0.5895, allocations: 23.98 kB / 0.5787 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007503/0.5903, allocations: 1.155 MB / 0.5798 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.5903, allocations: 7.938 kB / 0.5798 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003108/0.5934, allocations: 1.497 MB / 0.5813 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006951/0.5941, allocations: 307.2 kB / 0.5816 GB, free: 9.273 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.5943, allocations: 31.98 kB / 0.5816 GB, free: 9.242 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009552/0.5953, allocations: 95.75 kB / 0.5817 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.5954, allocations: 60.23 kB / 0.5818 GB, free: 9.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.322e-05/0.5955, allocations: 39.98 kB / 0.5818 GB, free: 9.051 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001285/0.5968, allocations: 0.8826 MB / 0.5827 GB, free: 8.168 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5968, allocations: 0 / 0.5827 GB, free: 8.168 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001861/0.5987, allocations: 0.6366 MB / 0.5833 GB, free: 7.531 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.0007885/0.5995, allocations: 371.2 kB / 0.5836 GB, free: 7.176 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003008/0.6025, allocations: 1.317 MB / 0.5849 GB, free: 5.863 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.6025, allocations: 4 kB / 0.5849 GB, free: 5.859 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009969/0.6035, allocations: 430.4 kB / 0.5853 GB, free: 5.445 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003795/0.6073, allocations: 0.8716 MB / 0.5862 GB, free: 4.664 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004461/0.6118, allocations: 2.945 MB / 0.5891 GB, free: 1.621 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007291/0.6126, allocations: 1.195 MB / 0.5902 GB, free: 408 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001873/0.6144, allocations: 332.7 kB / 0.5905 GB, free: 84 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003896/0.6148, allocations: 119.4 kB / 0.5907 GB, free: 15.96 MB / 478.1 MB Notification: Performance of SimCode: time 1.553e-06/0.6148, allocations: 0 / 0.5907 GB, free: 15.96 MB / 478.1 MB Notification: Performance of Templates: time 0.05071/0.6656, allocations: 30.56 MB / 0.6205 GB, free: 1.66 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)