Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, 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.001286/0.001286, allocations: 195.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7039/0.7039, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001206, allocations: 72.34 kB / 0.5018 GB, free: 8.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.16, allocations: 80.21 MB / 0.5801 GB, free: 8.762 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.3113/0.4714, allocations: 75.19 MB / 0.6535 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01601/0.4875, allocations: 15.14 MB / 0.6683 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002362/0.4899, allocations: 65.97 kB / 0.6684 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002104/0.492, allocations: 0.8279 MB / 0.6692 GB, free: 204 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006547/0.4986, allocations: 2.597 MB / 0.6717 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003494/0.5021, allocations: 1.373 MB / 0.6731 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006006/0.5081, allocations: 4.393 MB / 0.6773 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002431/0.5106, allocations: 1.446 MB / 0.6788 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00403/0.5146, allocations: 1.632 MB / 0.6803 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002908/0.5175, allocations: 1.214 MB / 0.6815 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003618/0.5179, allocations: 163.5 kB / 0.6817 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003716/0.5216, allocations: 1.423 MB / 0.6831 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005697/0.5222, allocations: 402.8 kB / 0.6835 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001353/0.5236, allocations: 0.9066 MB / 0.6843 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005366/0.5289, allocations: 2.86 MB / 0.6871 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.529, allocations: 1.438 kB / 0.6871 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.154e-06/0.529, allocations: 0 / 0.6871 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.981e-05/0.529, allocations: 0 / 0.6871 GB, free: 7.148 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004162/0.5332, allocations: 2.099 MB / 0.6892 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.5332, allocations: 10.03 kB / 0.6892 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008819/0.5341, allocations: 227.5 kB / 0.6894 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00255/0.5367, allocations: 1.467 MB / 0.6909 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.333e-05/0.5368, allocations: 76.12 kB / 0.6909 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.5369, allocations: 105.4 kB / 0.691 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.539, allocations: 1.096 MB / 0.6921 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.5391, allocations: 9.266 kB / 0.6921 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.934e-05/0.5392, allocations: 37.16 kB / 0.6921 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.645e-05/0.5392, allocations: 30.11 kB / 0.6922 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.5412, allocations: 0.8912 MB / 0.693 GB, free: 3.875 MB / 0.5137 GB 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.006983/0.5481, allocations: 4.956 MB / 0.6979 GB, free: 420 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.5497, allocations: 0.6218 MB / 0.6985 GB, free: 188 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007098/0.5504, allocations: 354.8 kB / 0.6988 GB, free: 68 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006664/0.5511, allocations: 0.8249 MB / 0.6996 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.5511, allocations: 38.81 kB / 0.6997 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.535e-06/0.5511, allocations: 0 / 0.6997 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.005207/0.5563, allocations: 1.401 MB / 0.701 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.5564, allocations: 62.44 kB / 0.7011 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.5582, allocations: 1.23 MB / 0.7023 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00013/0.5583, allocations: 39.11 kB / 0.7023 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005012/0.5589, allocations: 0.612 MB / 0.7029 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002422/0.5591, allocations: 220.8 kB / 0.7031 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.5594, allocations: 160.1 kB / 0.7033 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.5595, allocations: 337 kB / 0.7036 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006873/0.5602, allocations: 293.6 kB / 0.7039 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008315/0.561, allocations: 0.4885 MB / 0.7044 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.5624, allocations: 0.7052 MB / 0.7051 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.5625, allocations: 0.9688 kB / 0.7051 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004822/0.5673, allocations: 1.258 MB / 0.7063 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.5673, allocations: 9.188 kB / 0.7063 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.5673, allocations: 7.281 kB / 0.7063 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006976/0.5681, allocations: 151.9 kB / 0.7065 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005862/0.5686, allocations: 154.8 kB / 0.7066 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008445/0.5695, allocations: 0.7172 MB / 0.7073 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.5708, allocations: 128.4 kB / 0.7074 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.339e-05/0.5709, allocations: 34.28 kB / 0.7075 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001156/0.5721, allocations: 0.5506 MB / 0.708 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008154/0.5729, allocations: 0.4906 MB / 0.7085 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00133/0.5742, allocations: 0.6943 MB / 0.7092 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.168e-06/0.5743, allocations: 3.438 kB / 0.7092 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004872/0.5791, allocations: 1.259 MB / 0.7104 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.5792, allocations: 7.531 kB / 0.7104 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.5792, allocations: 6.875 kB / 0.7104 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000673/0.5799, allocations: 156 kB / 0.7105 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006641/0.5806, allocations: 155 kB / 0.7107 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008352/0.5814, allocations: 0.7215 MB / 0.7114 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.583, allocations: 100.8 kB / 0.7115 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.831e-05/0.5831, allocations: 36.86 kB / 0.7115 GB, free: 8.43 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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.0003923/0.5835, allocations: 219.3 kB / 0.7117 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004936/0.584, allocations: 137 kB / 0.7119 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004777/0.5887, allocations: 1.26 MB / 0.7131 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/0.5888, allocations: 10.81 kB / 0.7131 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.5888, allocations: 1.375 kB / 0.7131 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004217/0.593, allocations: 1.091 MB / 0.7142 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004255/0.5973, allocations: 2.319 MB / 0.7164 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.5973, allocations: 2.562 kB / 0.7164 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004508/0.5978, allocations: 115.7 kB / 0.7166 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005698/0.5984, allocations: 143.3 kB / 0.7167 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.35e-05/0.5984, allocations: 16.38 kB / 0.7167 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007734/0.5992, allocations: 0.7122 MB / 0.7174 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.5992, allocations: 9 kB / 0.7174 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002701/0.6019, allocations: 1.397 MB / 0.7188 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006327/0.6026, allocations: 315.8 kB / 0.7191 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/0.6028, allocations: 13.5 kB / 0.7191 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008029/0.6036, allocations: 55.19 kB / 0.7191 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.6038, allocations: 58.34 kB / 0.7192 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.336e-05/0.6038, allocations: 38.02 kB / 0.7192 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001249/0.6051, allocations: 0.8831 MB / 0.7201 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6051, allocations: 0 / 0.7201 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001951/0.607, allocations: 0.7096 MB / 0.7208 GB, free: 1.699 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0009456/0.608, allocations: 486.5 kB / 0.7213 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002801/0.6108, allocations: 1.157 MB / 0.7224 GB, free: 80 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.6108, allocations: 1 kB / 0.7224 GB, free: 80 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009425/0.6118, allocations: 404.3 kB / 0.7228 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003651/0.6154, allocations: 0.7997 MB / 0.7236 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004108/0.6196, allocations: 2.312 MB / 0.7258 GB, free: 12.55 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007228/0.6203, allocations: 1.176 MB / 0.727 GB, free: 11.34 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001381/0.6217, allocations: 309.3 kB / 0.7273 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/0.622, allocations: 107.4 kB / 0.7274 GB, free: 10.94 MB / 0.545 GB Notification: Performance of SimCode: time 1.353e-06/0.622, allocations: 3.938 kB / 0.7274 GB, free: 10.93 MB / 0.545 GB Notification: Performance of Templates: time 0.04872/0.6707, allocations: 32.04 MB / 0.7586 GB, free: 11.29 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)