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.001227/0.001227, allocations: 99.34 kB / 16.37 MB, free: 6.48 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.001277/0.001277, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7962/0.7962, allocations: 132.2 MB / 423.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.89 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4142, allocations: 80.18 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06276/0.477, allocations: 75.21 MB / 0.6549 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02126/0.4983, allocations: 15.14 MB / 0.6697 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002856/0.5012, allocations: 63.62 kB / 0.6698 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002829/0.5041, allocations: 0.8306 MB / 0.6706 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007853/0.512, allocations: 2.58 MB / 0.6731 GB, free: 160 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004627/0.5166, allocations: 1.39 MB / 0.6745 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006871/0.5235, allocations: 4.407 MB / 0.6788 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002134/0.5257, allocations: 1.453 MB / 0.6802 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003411/0.5291, allocations: 1.632 MB / 0.6818 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001773/0.5309, allocations: 1.221 MB / 0.683 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002747/0.5312, allocations: 164 kB / 0.6831 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003013/0.5342, allocations: 1.423 MB / 0.6845 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004268/0.5347, allocations: 402.6 kB / 0.6849 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001126/0.5358, allocations: 0.9021 MB / 0.6858 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004247/0.54, allocations: 2.882 MB / 0.6886 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.5401, allocations: 0 / 0.6886 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5401, allocations: 0 / 0.6886 GB, free: 236 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.371e-05/0.5401, allocations: 0 / 0.6886 GB, free: 236 kB / 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.003571/0.5437, allocations: 2.099 MB / 0.6907 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.5437, allocations: 11.97 kB / 0.6907 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007455/0.5445, allocations: 234.8 kB / 0.6909 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00264/0.5471, allocations: 1.528 MB / 0.6924 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-05/0.5472, allocations: 82 kB / 0.6925 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.5474, allocations: 107.8 kB / 0.6926 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.5493, allocations: 1.096 MB / 0.6936 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.5493, allocations: 4 kB / 0.6936 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.472e-05/0.5494, allocations: 43.98 kB / 0.6937 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.839e-05/0.5495, allocations: 24 kB / 0.6937 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.5513, allocations: 0.8978 MB / 0.6946 GB, free: 9.953 MB / 0.5294 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.006861/0.5582, allocations: 4.911 MB / 0.6994 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.5597, allocations: 0.6274 MB / 0.7 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007056/0.5604, allocations: 351.3 kB / 0.7003 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008005/0.5613, allocations: 0.8277 MB / 0.7011 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.5613, allocations: 43.12 kB / 0.7012 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.414e-06/0.5613, allocations: 0 / 0.7012 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.004677/0.566, allocations: 1.405 MB / 0.7026 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.5661, allocations: 55.97 kB / 0.7026 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/0.5678, allocations: 1.234 MB / 0.7038 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.5679, allocations: 37.7 kB / 0.7038 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005073/0.5684, allocations: 0.6027 MB / 0.7044 GB, free: 15.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002282/0.5686, allocations: 216.7 kB / 0.7046 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/0.5689, allocations: 154.6 kB / 0.7048 GB, free: 14.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.569, allocations: 337.9 kB / 0.7051 GB, free: 14.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006292/0.5696, allocations: 292.7 kB / 0.7054 GB, free: 14.31 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008116/0.5704, allocations: 491.8 kB / 0.7059 GB, free: 13.76 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.5717, allocations: 0.712 MB / 0.7066 GB, free: 13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.5717, allocations: 0 / 0.7066 GB, free: 13 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004311/0.576, allocations: 1.265 MB / 0.7078 GB, free: 11.72 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.5761, allocations: 4 kB / 0.7078 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.5761, allocations: 4 kB / 0.7078 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006932/0.5768, allocations: 160.9 kB / 0.708 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/0.5774, allocations: 159.8 kB / 0.7081 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008284/0.5782, allocations: 0.7115 MB / 0.7088 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.5793, allocations: 123.1 kB / 0.7089 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.5794, allocations: 31.98 kB / 0.7089 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00104/0.5804, allocations: 0.5565 MB / 0.7095 GB, free: 9.949 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007442/0.5812, allocations: 487.8 kB / 0.71 GB, free: 9.398 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001302/0.5825, allocations: 0.7042 MB / 0.7106 GB, free: 8.648 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.825e-06/0.5825, allocations: 7.875 kB / 0.7107 GB, free: 8.641 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004152/0.5866, allocations: 1.273 MB / 0.7119 GB, free: 7.355 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.5867, allocations: 4 kB / 0.7119 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.5867, allocations: 4 kB / 0.7119 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005438/0.5872, allocations: 152.8 kB / 0.712 GB, free: 7.195 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005561/0.5878, allocations: 151.8 kB / 0.7122 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007729/0.5886, allocations: 0.72 MB / 0.7129 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.5896, allocations: 115.5 kB / 0.713 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.537e-05/0.5897, allocations: 28 kB / 0.713 GB, free: 6.16 MB / 0.545 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.0002435/0.59, allocations: 228.7 kB / 0.7133 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002321/0.5902, allocations: 142.2 kB / 0.7134 GB, free: 5.789 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004093/0.5943, allocations: 1.246 MB / 0.7146 GB, free: 4.527 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.5943, allocations: 11.94 kB / 0.7146 GB, free: 4.516 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5943, allocations: 0 / 0.7146 GB, free: 4.516 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003677/0.598, allocations: 1.092 MB / 0.7157 GB, free: 3.391 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003847/0.6019, allocations: 2.306 MB / 0.7179 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.964e-06/0.6019, allocations: 4 kB / 0.7179 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004601/0.6024, allocations: 111.8 kB / 0.718 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005314/0.6029, allocations: 157.1 kB / 0.7182 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.778e-05/0.603, allocations: 23.92 kB / 0.7182 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007229/0.6037, allocations: 0.7084 MB / 0.7189 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.6037, allocations: 7.984 kB / 0.7189 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/0.6061, allocations: 1.391 MB / 0.7203 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004983/0.6067, allocations: 315 kB / 0.7206 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.6068, allocations: 16 kB / 0.7206 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007344/0.6076, allocations: 55.98 kB / 0.7206 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.6077, allocations: 52.31 kB / 0.7207 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-05/0.6078, allocations: 31.98 kB / 0.7207 GB, free: 14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001134/0.6089, allocations: 0.8857 MB / 0.7216 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6089, allocations: 0 / 0.7216 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00165/0.6106, allocations: 0.7135 MB / 0.7223 GB, free: 12.39 MB / 0.5606 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.0008141/0.6114, allocations: 477.6 kB / 0.7227 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002304/0.6137, allocations: 1.125 MB / 0.7238 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6137, allocations: 0 / 0.7238 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008487/0.6146, allocations: 395.3 kB / 0.7242 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002863/0.6174, allocations: 0.802 MB / 0.725 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/0.6209, allocations: 2.285 MB / 0.7272 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006756/0.6216, allocations: 1.172 MB / 0.7284 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001034/0.6227, allocations: 308.1 kB / 0.7287 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/0.6229, allocations: 103.4 kB / 0.7288 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of SimCode: time 6.91e-07/0.6229, allocations: 0 / 0.7288 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of Templates: time 0.3664/0.9893, allocations: 32.02 MB / 0.76 GB, free: 149.7 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)