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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8063/0.8063, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 222.9 MB / 403.4 MB, free: 7.043 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 109 kB / 484.4 MB, free: 8.699 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009863/0.0009863, allocations: 47.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1296, allocations: 80.21 MB / 0.6402 GB, free: 6.789 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.3837/0.5134, allocations: 74.75 MB / 0.7132 GB, free: 22.72 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01791/0.5313, allocations: 15.19 MB / 0.728 GB, free: 17.7 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002992/0.5343, allocations: 60.38 kB / 0.7281 GB, free: 17.67 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002132/0.5365, allocations: 0.6845 MB / 0.7287 GB, free: 17.26 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006381/0.5429, allocations: 2.367 MB / 0.731 GB, free: 15.85 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003074/0.546, allocations: 1.273 MB / 0.7323 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.005799/0.5518, allocations: 5.565 MB / 0.7377 GB, free: 12.93 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/0.5536, allocations: 1.208 MB / 0.7389 GB, free: 12.39 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002416/0.556, allocations: 1.39 MB / 0.7402 GB, free: 11.67 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001405/0.5575, allocations: 1.205 MB / 0.7414 GB, free: 10.96 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.5576, allocations: 72.44 kB / 0.7415 GB, free: 10.96 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002718/0.5604, allocations: 1.276 MB / 0.7427 GB, free: 10.25 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003154/0.5607, allocations: 311.5 kB / 0.743 GB, free: 10.02 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000935/0.5616, allocations: 0.8133 MB / 0.7438 GB, free: 9.504 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003026/0.5647, allocations: 2.793 MB / 0.7466 GB, free: 7.617 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.5647, allocations: 4 kB / 0.7466 GB, free: 7.613 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.5647, allocations: 0 / 0.7466 GB, free: 7.613 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.891e-05/0.5647, allocations: 3.938 kB / 0.7466 GB, free: 7.609 MB / 490.7 MB 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.003116/0.5679, allocations: 2.097 MB / 0.7486 GB, free: 6.016 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.5679, allocations: 8.312 kB / 0.7486 GB, free: 6.016 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000719/0.5686, allocations: 235.6 kB / 0.7488 GB, free: 5.902 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/0.5706, allocations: 1.49 MB / 0.7503 GB, free: 4.719 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/0.5707, allocations: 74.72 kB / 0.7504 GB, free: 4.684 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.5708, allocations: 109.5 kB / 0.7505 GB, free: 4.645 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.5725, allocations: 1.103 MB / 0.7516 GB, free: 3.965 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.5726, allocations: 0 / 0.7516 GB, free: 3.965 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-05/0.5726, allocations: 40.19 kB / 0.7516 GB, free: 3.934 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.96e-05/0.5727, allocations: 34.34 kB / 0.7516 GB, free: 3.926 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.5743, allocations: 0.8926 MB / 0.7525 GB, free: 3.473 MB / 490.7 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.004685/0.579, allocations: 4.92 MB / 0.7573 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.5804, allocations: 0.6288 MB / 0.7579 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007035/0.5811, allocations: 356.3 kB / 0.7583 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005977/0.5817, allocations: 0.8277 MB / 0.7591 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.5818, allocations: 47.11 kB / 0.7591 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=62): time 2.084e-06/0.5818, allocations: 0 / 0.7591 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=62): time 0.004861/0.5866, allocations: 1.401 MB / 0.7605 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.5867, allocations: 59.97 kB / 0.7605 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/0.5882, allocations: 1.21 MB / 0.7617 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.236e-05/0.5883, allocations: 45.7 kB / 0.7618 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004676/0.5888, allocations: 0.5949 MB / 0.7623 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.5889, allocations: 228.8 kB / 0.7626 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.5892, allocations: 154.5 kB / 0.7627 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.5893, allocations: 337.9 kB / 0.763 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006656/0.59, allocations: 296.7 kB / 0.7633 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000838/0.5908, allocations: 495.8 kB / 0.7638 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.5922, allocations: 0.7004 MB / 0.7645 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5923, allocations: 4 kB / 0.7645 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004686/0.5969, allocations: 1.261 MB / 0.7657 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.597, allocations: 8.938 kB / 0.7657 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.597, allocations: 4 kB / 0.7657 GB, free: 6.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007087/0.5977, allocations: 165 kB / 0.7659 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005763/0.5983, allocations: 151.8 kB / 0.766 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008624/0.5992, allocations: 0.7162 MB / 0.7667 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.6004, allocations: 155 kB / 0.7669 GB, free: 5.023 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.804e-05/0.6004, allocations: 31.98 kB / 0.7669 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001045/0.6015, allocations: 0.5527 MB / 0.7674 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008379/0.6023, allocations: 0.4897 MB / 0.7679 GB, free: 3.867 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001416/0.6038, allocations: 0.7004 MB / 0.7686 GB, free: 3.117 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.385e-06/0.6038, allocations: 0 / 0.7686 GB, free: 3.117 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004622/0.6084, allocations: 1.269 MB / 0.7698 GB, free: 1.836 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.6084, allocations: 11.98 kB / 0.7698 GB, free: 1.824 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.6084, allocations: 7.984 kB / 0.7699 GB, free: 1.816 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005601/0.609, allocations: 149.1 kB / 0.77 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005752/0.6096, allocations: 163.8 kB / 0.7702 GB, free: 1.508 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008252/0.6104, allocations: 0.7178 MB / 0.7709 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.6117, allocations: 135.5 kB / 0.771 GB, free: 0.6328 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-05/0.6117, allocations: 28 kB / 0.771 GB, free: 0.6055 MB / 0.4948 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.0002662/0.612, allocations: 238 kB / 0.7712 GB, free: 376 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002966/0.6123, allocations: 138.3 kB / 0.7714 GB, free: 236 kB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004693/0.617, allocations: 1.244 MB / 0.7726 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.6171, allocations: 8 kB / 0.7726 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.6171, allocations: 3.938 kB / 0.7726 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004237/0.6213, allocations: 1.088 MB / 0.7737 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004649/0.626, allocations: 2.306 MB / 0.7759 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.626, allocations: 4 kB / 0.7759 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004692/0.6265, allocations: 107.9 kB / 0.776 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006061/0.6271, allocations: 152.9 kB / 0.7762 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.259e-05/0.6272, allocations: 20 kB / 0.7762 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008221/0.628, allocations: 0.7045 MB / 0.7769 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.628, allocations: 7.938 kB / 0.7769 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03734/0.6654, allocations: 11.68 MB / 0.7883 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006343/0.666, allocations: 319.1 kB / 0.7886 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.6663, allocations: 20 kB / 0.7886 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009386/0.6672, allocations: 79.81 kB / 0.7887 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.6673, allocations: 56.25 kB / 0.7887 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.318e-05/0.6674, allocations: 27.98 kB / 0.7888 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001325/0.6688, allocations: 0.8779 MB / 0.7896 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6688, allocations: 0 / 0.7896 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003098/0.6719, allocations: 1.1 MB / 0.7907 GB, free: 11.83 MB / 0.5261 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.000957/0.6728, allocations: 453.8 kB / 0.7911 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002741/0.6756, allocations: 1.11 MB / 0.7922 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.6756, allocations: 0 / 0.7922 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009698/0.6766, allocations: 391.2 kB / 0.7926 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003668/0.6803, allocations: 0.7711 MB / 0.7933 GB, free: 9.137 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004716/0.685, allocations: 3.37 MB / 0.7966 GB, free: 5.672 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008122/0.6858, allocations: 1.199 MB / 0.7978 GB, free: 4.445 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001247/0.6871, allocations: 315.1 kB / 0.7981 GB, free: 4.133 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.6874, allocations: 115.3 kB / 0.7982 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of SimCode: time 3.41e-07/0.6874, allocations: 0 / 0.7982 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of Templates: time 0.05059/0.738, allocations: 33.82 MB / 0.8312 GB, free: 2.484 MB / 0.5573 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)