Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 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_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001398/0.001398, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001479/0.001479, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7872/0.7872, allocations: 135.1 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.00123, allocations: 63.91 kB / 0.5068 GB, free: 7.684 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3814, allocations: 80.9 MB / 0.5858 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.0616/0.443, allocations: 75.21 MB / 0.6592 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01957/0.4626, allocations: 15.15 MB / 0.674 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002421/0.465, allocations: 63.62 kB / 0.6741 GB, free: 76 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002136/0.4672, allocations: 0.8228 MB / 0.6749 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006292/0.4736, allocations: 2.581 MB / 0.6774 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003257/0.4768, allocations: 1.398 MB / 0.6787 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005113/0.482, allocations: 4.396 MB / 0.683 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001839/0.4838, allocations: 1.445 MB / 0.6844 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003313/0.4871, allocations: 1.64 MB / 0.686 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002023/0.4892, allocations: 1.22 MB / 0.6872 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002616/0.4894, allocations: 164 kB / 0.6874 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002787/0.4922, allocations: 1.4 MB / 0.6888 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003782/0.4926, allocations: 398.6 kB / 0.6891 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.4937, allocations: 0.906 MB / 0.69 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004064/0.4978, allocations: 2.863 MB / 0.6928 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4978, allocations: 0 / 0.6928 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4978, allocations: 0 / 0.6928 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.284e-05/0.4978, allocations: 0 / 0.6928 GB, free: 12.79 MB / 0.5294 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.003391/0.5012, allocations: 2.091 MB / 0.6949 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.5013, allocations: 9.109 kB / 0.6949 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007357/0.502, allocations: 230.8 kB / 0.6951 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002338/0.5044, allocations: 1.52 MB / 0.6966 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.873e-05/0.5044, allocations: 74 kB / 0.6966 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.5046, allocations: 108 kB / 0.6968 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.5064, allocations: 1.096 MB / 0.6978 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.5065, allocations: 4 kB / 0.6978 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.122e-05/0.5065, allocations: 36 kB / 0.6979 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.334e-05/0.5066, allocations: 24 kB / 0.6979 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.5083, allocations: 0.8978 MB / 0.6988 GB, free: 6.551 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.005448/0.5138, allocations: 4.911 MB / 0.7036 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.5151, allocations: 0.6134 MB / 0.7042 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006351/0.5157, allocations: 346.3 kB / 0.7045 GB, free: 404 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005964/0.5163, allocations: 0.8316 MB / 0.7053 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.5164, allocations: 35.12 kB / 0.7053 GB, free: 15.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=61): time 3.587e-06/0.5164, allocations: 11.94 kB / 0.7053 GB, free: 15.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=61): time 0.006451/0.5229, allocations: 1.689 MB / 0.707 GB, free: 13.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.5229, allocations: 55.97 kB / 0.707 GB, free: 13.54 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/0.5245, allocations: 1.23 MB / 0.7082 GB, free: 12.29 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.465e-05/0.5246, allocations: 41.7 kB / 0.7083 GB, free: 12.24 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004598/0.5251, allocations: 0.6066 MB / 0.7089 GB, free: 11.63 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/0.5253, allocations: 212.8 kB / 0.7091 GB, free: 11.42 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.5255, allocations: 158.6 kB / 0.7092 GB, free: 11.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5257, allocations: 341.8 kB / 0.7096 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006202/0.5263, allocations: 288.7 kB / 0.7098 GB, free: 10.63 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007722/0.5271, allocations: 0.4898 MB / 0.7103 GB, free: 10.05 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.5284, allocations: 0.7129 MB / 0.711 GB, free: 9.293 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.5284, allocations: 0 / 0.711 GB, free: 9.293 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004392/0.5328, allocations: 1.273 MB / 0.7123 GB, free: 8.008 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.5328, allocations: 8 kB / 0.7123 GB, free: 8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.5329, allocations: 4 kB / 0.7123 GB, free: 7.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005474/0.5334, allocations: 132.8 kB / 0.7124 GB, free: 7.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005792/0.534, allocations: 159.7 kB / 0.7125 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007809/0.5348, allocations: 0.7094 MB / 0.7132 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009805/0.5358, allocations: 123.1 kB / 0.7134 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.319e-05/0.5359, allocations: 31.98 kB / 0.7134 GB, free: 6.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001022/0.5369, allocations: 0.5488 MB / 0.7139 GB, free: 6.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008379/0.5377, allocations: 0.489 MB / 0.7144 GB, free: 5.703 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001468/0.5392, allocations: 0.7128 MB / 0.7151 GB, free: 4.941 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/0.5392, allocations: 0 / 0.7151 GB, free: 4.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00429/0.5435, allocations: 1.261 MB / 0.7163 GB, free: 3.668 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.5436, allocations: 8.375 kB / 0.7163 GB, free: 3.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.5436, allocations: 11.94 kB / 0.7163 GB, free: 3.648 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004501/0.544, allocations: 141.7 kB / 0.7165 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005708/0.5446, allocations: 155.8 kB / 0.7166 GB, free: 3.355 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007149/0.5453, allocations: 0.7006 MB / 0.7173 GB, free: 2.629 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.5464, allocations: 95.45 kB / 0.7174 GB, free: 2.535 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.544e-05/0.5465, allocations: 40.05 kB / 0.7174 GB, free: 2.496 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002468/0.5467, allocations: 224 kB / 0.7177 GB, free: 2.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/0.547, allocations: 134.4 kB / 0.7178 GB, free: 2.137 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004208/0.5512, allocations: 1.272 MB / 0.719 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.5512, allocations: 8 kB / 0.719 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.5512, allocations: 4 kB / 0.719 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003695/0.5549, allocations: 1.107 MB / 0.7201 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006462/0.5614, allocations: 2.614 MB / 0.7227 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.5614, allocations: 0 / 0.7227 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/0.5619, allocations: 115.8 kB / 0.7228 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004384/0.5623, allocations: 125.2 kB / 0.7229 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.027e-05/0.5624, allocations: 27.98 kB / 0.7229 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004904/0.5673, allocations: 2.615 MB / 0.7255 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.5673, allocations: 7.938 kB / 0.7255 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005096/0.5724, allocations: 1.711 MB / 0.7272 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007073/0.5732, allocations: 311.2 kB / 0.7275 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.5734, allocations: 12 kB / 0.7275 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007438/0.5741, allocations: 55.94 kB / 0.7275 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.5742, allocations: 64.23 kB / 0.7276 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.5744, allocations: 27.98 kB / 0.7276 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001191/0.5755, allocations: 0.8818 MB / 0.7285 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5756, allocations: 0 / 0.7285 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001809/0.5774, allocations: 0.7174 MB / 0.7292 GB, free: 6.066 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008192/0.5782, allocations: 466.9 kB / 0.7296 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002483/0.5807, allocations: 1.125 MB / 0.7307 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5807, allocations: 0 / 0.7307 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.5821, allocations: 0.5571 MB / 0.7313 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00306/0.5851, allocations: 0.812 MB / 0.7321 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003644/0.5888, allocations: 2.279 MB / 0.7343 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007385/0.5895, allocations: 1.183 MB / 0.7354 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001014/0.5906, allocations: 302.3 kB / 0.7357 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.5908, allocations: 111.4 kB / 0.7358 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.5908, allocations: 0 / 0.7358 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of Templates: time 0.3028/0.8937, allocations: 32.2 MB / 0.7673 GB, free: 149.1 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)