Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_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_dev_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.0008701/0.0008698, allocations: 98.64 kB / 16.02 MB, free: 76 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.001287/0.001287, allocations: 182.6 kB / 16.92 MB, free: 6.918 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.357/1.357, allocations: 223.3 MB / 241 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.962/0.962, allocations: 135.3 MB / 427.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003103, allocations: 10.59 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1665, allocations: 82.31 MB / 0.5886 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.4132/0.5798, allocations: 73.45 MB / 0.6603 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01979/0.5996, allocations: 15.03 MB / 0.675 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003099/0.6027, allocations: 56.72 kB / 0.6751 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00228/0.605, allocations: 0.6698 MB / 0.6757 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008647/0.6137, allocations: 2.392 MB / 0.6781 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004434/0.6181, allocations: 1.26 MB / 0.6793 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01198/0.6301, allocations: 5.557 MB / 0.6847 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002755/0.6329, allocations: 1.16 MB / 0.6858 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004168/0.6371, allocations: 1.342 MB / 0.6872 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002868/0.64, allocations: 1.147 MB / 0.6883 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003213/0.6403, allocations: 56.38 kB / 0.6883 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004524/0.6449, allocations: 1.257 MB / 0.6896 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007456/0.6456, allocations: 286 kB / 0.6898 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002493/0.6481, allocations: 0.8039 MB / 0.6906 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005181/0.6533, allocations: 2.172 MB / 0.6927 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.6534, allocations: 1.406 kB / 0.6927 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.304e-06/0.6534, allocations: 0 / 0.6927 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.613e-05/0.6534, allocations: 0 / 0.6927 GB, free: 4.887 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.004953/0.6584, allocations: 1.798 MB / 0.6945 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.6585, allocations: 9.344 kB / 0.6945 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009458/0.6594, allocations: 241.5 kB / 0.6947 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003045/0.6625, allocations: 1.5 MB / 0.6962 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.782e-05/0.6626, allocations: 80.58 kB / 0.6963 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.6628, allocations: 101.5 kB / 0.6964 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002448/0.6652, allocations: 1.119 MB / 0.6975 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.6653, allocations: 7.844 kB / 0.6975 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.791e-05/0.6654, allocations: 41.92 kB / 0.6975 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.095e-05/0.6654, allocations: 25.44 kB / 0.6975 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.6676, allocations: 0.9372 MB / 0.6985 GB, free: 1.781 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.007559/0.6752, allocations: 4.922 MB / 0.7033 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.6767, allocations: 0.6375 MB / 0.7039 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007977/0.6775, allocations: 378.6 kB / 0.7042 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008065/0.6784, allocations: 0.8325 MB / 0.7051 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.6784, allocations: 42.5 kB / 0.7051 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.595e-06/0.6784, allocations: 0 / 0.7051 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.005549/0.684, allocations: 1.52 MB / 0.7066 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.684, allocations: 61.89 kB / 0.7066 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/0.6861, allocations: 1.211 MB / 0.7078 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001265/0.6863, allocations: 43.42 kB / 0.7079 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006894/0.687, allocations: 0.6001 MB / 0.7085 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002617/0.6872, allocations: 224.8 kB / 0.7087 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.6873, allocations: 59.62 kB / 0.7087 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.6875, allocations: 336.6 kB / 0.709 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000817/0.6883, allocations: 302.6 kB / 0.7093 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.6894, allocations: 0.5065 MB / 0.7098 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/0.6911, allocations: 0.7495 MB / 0.7106 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.6911, allocations: 1.312 kB / 0.7106 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005501/0.6966, allocations: 1.411 MB / 0.7119 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001732/0.6968, allocations: 190.8 kB / 0.7121 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.6968, allocations: 3.938 kB / 0.7121 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008718/0.6977, allocations: 161.6 kB / 0.7123 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006948/0.6984, allocations: 167.1 kB / 0.7124 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.6997, allocations: 0.7303 MB / 0.7132 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00221/0.7019, allocations: 163.6 kB / 0.7133 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.7021, allocations: 35.64 kB / 0.7133 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.7021, allocations: 2.125 kB / 0.7133 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006274/0.7084, allocations: 1.249 MB / 0.7146 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.7084, allocations: 6.688 kB / 0.7146 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008403/0.7093, allocations: 159.8 kB / 0.7147 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.7103, allocations: 171.4 kB / 0.7149 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.7116, allocations: 0.728 MB / 0.7156 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/0.7139, allocations: 160.4 kB / 0.7157 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.714, allocations: 31.48 kB / 0.7158 GB, free: 6.746 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.001361/0.7154, allocations: 423.6 kB / 0.7162 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005362/0.716, allocations: 134.4 kB / 0.7163 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006677/0.7226, allocations: 1.395 MB / 0.7177 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/0.7227, allocations: 10.61 kB / 0.7177 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.7227, allocations: 0 / 0.7177 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005207/0.7279, allocations: 1.216 MB / 0.7189 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00763/0.7356, allocations: 2.366 MB / 0.7212 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.7356, allocations: 6.688 kB / 0.7212 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006586/0.7363, allocations: 114.7 kB / 0.7213 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008154/0.7371, allocations: 159.2 kB / 0.7214 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.194e-05/0.7372, allocations: 29.27 kB / 0.7215 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/0.7384, allocations: 0.7095 MB / 0.7222 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.174e-05/0.7385, allocations: 11.33 kB / 0.7222 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004497/0.743, allocations: 1.466 MB / 0.7236 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/0.7444, allocations: 327.1 kB / 0.7239 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006299/0.745, allocations: 23.98 kB / 0.7239 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001759/0.7468, allocations: 87.83 kB / 0.724 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.747, allocations: 64.23 kB / 0.7241 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000215/0.7472, allocations: 27.98 kB / 0.7241 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002681/0.7499, allocations: 0.8778 MB / 0.725 GB, free: 15.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7499, allocations: 0 / 0.725 GB, free: 15.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003898/0.7538, allocations: 0.7018 MB / 0.7257 GB, free: 14.98 MB / 0.545 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.001673/0.7555, allocations: 454.2 kB / 0.7261 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003056/0.7586, allocations: 1.174 MB / 0.7272 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.7586, allocations: 4 kB / 0.7272 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.7596, allocations: 417 kB / 0.7276 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005304/0.765, allocations: 0.7967 MB / 0.7284 GB, free: 12.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005032/0.77, allocations: 2.857 MB / 0.7312 GB, free: 9.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009557/0.771, allocations: 1.165 MB / 0.7323 GB, free: 8.059 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004476/0.7714, allocations: 119.4 kB / 0.7325 GB, free: 7.941 MB / 0.545 GB Notification: Performance of SimCode: time 6.32e-07/0.7715, allocations: 0 / 0.7325 GB, free: 7.941 MB / 0.545 GB Notification: Performance of Templates: time 0.04487/0.8163, allocations: 30.77 MB / 0.7625 GB, free: 9.348 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)