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.0008643/0.0008643, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004721/0.004721, allocations: 170 kB / 16.26 MB, free: 6.613 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.27/1.27, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8783/0.8783, allocations: 135.7 MB / 427.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002634/0.0002634, allocations: 12 kB / 0.5081 GB, free: 4.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.141, allocations: 82.4 MB / 0.5886 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.2765/0.4175, allocations: 73.47 MB / 0.6603 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01539/0.4329, allocations: 15.02 MB / 0.675 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/0.4346, allocations: 57.41 kB / 0.675 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.4364, allocations: 0.6725 MB / 0.6757 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005405/0.4418, allocations: 2.385 MB / 0.678 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002984/0.4448, allocations: 1.272 MB / 0.6793 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006358/0.4511, allocations: 5.554 MB / 0.6847 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00196/0.4531, allocations: 1.171 MB / 0.6858 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002729/0.4559, allocations: 1.32 MB / 0.6871 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/0.458, allocations: 1.144 MB / 0.6882 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002872/0.4583, allocations: 59.44 kB / 0.6883 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.461, allocations: 1.242 MB / 0.6895 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004584/0.4615, allocations: 289.6 kB / 0.6898 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.4629, allocations: 0.7959 MB / 0.6906 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003967/0.4669, allocations: 2.717 MB / 0.6932 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4669, allocations: 0 / 0.6932 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.765e-06/0.4669, allocations: 2.219 kB / 0.6932 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.089e-05/0.467, allocations: 0 / 0.6932 GB, free: 3.688 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.003795/0.4708, allocations: 1.787 MB / 0.695 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.4708, allocations: 10.41 kB / 0.695 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007586/0.4716, allocations: 241.4 kB / 0.6952 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002422/0.474, allocations: 1.489 MB / 0.6967 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.737e-05/0.4741, allocations: 80.28 kB / 0.6967 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.4743, allocations: 100.7 kB / 0.6968 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.4764, allocations: 1.117 MB / 0.6979 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.4764, allocations: 1.406 kB / 0.6979 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-05/0.4765, allocations: 40.62 kB / 0.698 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-05/0.4766, allocations: 24.88 kB / 0.698 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001917/0.4785, allocations: 0.9317 MB / 0.6989 GB, free: 0.6055 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.005851/0.4843, allocations: 4.916 MB / 0.7037 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.4857, allocations: 0.6353 MB / 0.7043 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007046/0.4864, allocations: 372.2 kB / 0.7047 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006741/0.4871, allocations: 0.8236 MB / 0.7055 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.4872, allocations: 42.75 kB / 0.7055 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 3.627e-06/0.4872, allocations: 0 / 0.7055 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.006993/0.4942, allocations: 1.903 MB / 0.7074 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.4942, allocations: 58.06 kB / 0.7074 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001543/0.4958, allocations: 1.214 MB / 0.7086 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.482e-05/0.4959, allocations: 38.8 kB / 0.7087 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005362/0.4964, allocations: 0.6119 MB / 0.7093 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.4966, allocations: 211.3 kB / 0.7095 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.958e-05/0.4967, allocations: 67.64 kB / 0.7095 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.4969, allocations: 340.6 kB / 0.7098 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006515/0.4975, allocations: 298.7 kB / 0.7101 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008425/0.4984, allocations: 0.5127 MB / 0.7106 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.4998, allocations: 0.7562 MB / 0.7114 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.4998, allocations: 5.266 kB / 0.7114 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004596/0.5044, allocations: 1.399 MB / 0.7127 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.5046, allocations: 201.1 kB / 0.7129 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.5046, allocations: 3 kB / 0.7129 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005413/0.5051, allocations: 142.7 kB / 0.7131 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005604/0.5057, allocations: 169.6 kB / 0.7132 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008514/0.5066, allocations: 0.7247 MB / 0.7139 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.5076, allocations: 166.6 kB / 0.7141 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-05/0.5077, allocations: 35.23 kB / 0.7141 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/0.5077, allocations: 7.688 kB / 0.7141 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004404/0.5121, allocations: 1.253 MB / 0.7154 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.5121, allocations: 3.844 kB / 0.7154 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004572/0.5126, allocations: 155 kB / 0.7155 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005315/0.5131, allocations: 159.2 kB / 0.7157 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007992/0.514, allocations: 0.7221 MB / 0.7164 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009744/0.5149, allocations: 153.8 kB / 0.7165 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.386e-05/0.515, allocations: 31.42 kB / 0.7165 GB, free: 5.293 MB / 0.5294 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.0005315/0.5156, allocations: 424.8 kB / 0.717 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/0.5157, allocations: 135.1 kB / 0.7171 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004498/0.5202, allocations: 1.409 MB / 0.7185 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.5203, allocations: 6.438 kB / 0.7185 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.5203, allocations: 0 / 0.7185 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004141/0.5244, allocations: 1.238 MB / 0.7197 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006382/0.5308, allocations: 2.737 MB / 0.7223 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.5308, allocations: 4 kB / 0.7224 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004477/0.5313, allocations: 124.3 kB / 0.7225 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004488/0.5317, allocations: 132.8 kB / 0.7226 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.097e-05/0.5318, allocations: 23.98 kB / 0.7226 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004832/0.5366, allocations: 2.478 MB / 0.725 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.5367, allocations: 8.062 kB / 0.725 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005483/0.5422, allocations: 1.848 MB / 0.7268 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007155/0.5429, allocations: 331.1 kB / 0.7272 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002747/0.5432, allocations: 24.05 kB / 0.7272 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009701/0.5441, allocations: 97.72 kB / 0.7273 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.5443, allocations: 60.25 kB / 0.7273 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.427e-05/0.5443, allocations: 35.97 kB / 0.7274 GB, free: 11.99 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00135/0.5457, allocations: 0.8623 MB / 0.7282 GB, free: 11.13 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5457, allocations: 0 / 0.7282 GB, free: 11.13 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00203/0.5477, allocations: 0.7057 MB / 0.7289 GB, free: 10.42 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009689/0.5487, allocations: 468 kB / 0.7294 GB, free: 9.977 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002622/0.5513, allocations: 1.172 MB / 0.7305 GB, free: 8.812 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.5514, allocations: 4 kB / 0.7305 GB, free: 8.809 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001493/0.5529, allocations: 0.5917 MB / 0.7311 GB, free: 8.207 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003927/0.5568, allocations: 0.7978 MB / 0.7319 GB, free: 7.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/0.5607, allocations: 2.807 MB / 0.7346 GB, free: 4.543 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008372/0.5616, allocations: 1.187 MB / 0.7358 GB, free: 3.328 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001068/0.5627, allocations: 302.3 kB / 0.736 GB, free: 3.031 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/0.563, allocations: 111.4 kB / 0.7362 GB, free: 2.922 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.563, allocations: 3.938 kB / 0.7362 GB, free: 2.918 MB / 0.545 GB Notification: Performance of Templates: time 0.04968/0.6126, allocations: 31.93 MB / 0.7673 GB, free: 3.332 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)