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.001671/0.001671, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002262/0.002263, allocations: 194.5 kB / 16.14 MB, free: 6.691 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.414/1.414, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9618/0.9618, allocations: 135.1 MB / 425.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.69 kB / 0.5047 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1746, allocations: 80.93 MB / 0.5837 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.3916/0.5663, allocations: 74.73 MB / 0.6567 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01875/0.5851, allocations: 15.19 MB / 0.6715 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003058/0.5882, allocations: 64.88 kB / 0.6716 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002435/0.5907, allocations: 0.6756 MB / 0.6722 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007258/0.5979, allocations: 2.38 MB / 0.6746 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003811/0.6018, allocations: 1.265 MB / 0.6758 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008991/0.6108, allocations: 5.563 MB / 0.6812 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003512/0.6143, allocations: 1.193 MB / 0.6824 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004579/0.6189, allocations: 1.363 MB / 0.6837 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003303/0.6222, allocations: 1.207 MB / 0.6849 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006016/0.6229, allocations: 73.16 kB / 0.685 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004083/0.627, allocations: 1.252 MB / 0.6862 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007514/0.6277, allocations: 322.9 kB / 0.6865 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002192/0.6299, allocations: 0.8072 MB / 0.6873 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005795/0.6358, allocations: 2.776 MB / 0.69 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.6358, allocations: 0 / 0.69 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.61e-07/0.6358, allocations: 0 / 0.69 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.372e-05/0.6359, allocations: 0 / 0.69 GB, free: 4.008 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.005864/0.6417, allocations: 2.089 MB / 0.692 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.6418, allocations: 9.438 kB / 0.6921 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/0.643, allocations: 231.9 kB / 0.6923 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003237/0.6462, allocations: 1.492 MB / 0.6937 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.998e-05/0.6463, allocations: 80.44 kB / 0.6938 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002369/0.6466, allocations: 100.3 kB / 0.6939 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002394/0.649, allocations: 1.099 MB / 0.695 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/0.649, allocations: 6.016 kB / 0.695 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.6491, allocations: 36.75 kB / 0.695 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-05/0.6492, allocations: 29.61 kB / 0.695 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002424/0.6516, allocations: 0.8912 MB / 0.6959 GB, free: 0.7148 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.009417/0.6611, allocations: 4.898 MB / 0.7007 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.6626, allocations: 0.6176 MB / 0.7013 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007449/0.6634, allocations: 350.5 kB / 0.7016 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006987/0.6641, allocations: 0.8286 MB / 0.7024 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.6642, allocations: 40.97 kB / 0.7025 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.535e-06/0.6642, allocations: 1.469 kB / 0.7025 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007373/0.6716, allocations: 1.692 MB / 0.7041 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.6716, allocations: 62.72 kB / 0.7042 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002606/0.6743, allocations: 1.21 MB / 0.7054 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001726/0.6744, allocations: 42.7 kB / 0.7054 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006457/0.6751, allocations: 0.6071 MB / 0.706 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002867/0.6754, allocations: 216 kB / 0.7062 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002892/0.6757, allocations: 151.7 kB / 0.7064 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002435/0.676, allocations: 336.8 kB / 0.7067 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007124/0.6767, allocations: 291.4 kB / 0.707 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008927/0.6776, allocations: 0.4935 MB / 0.7074 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.6791, allocations: 0.7046 MB / 0.7081 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.6791, allocations: 6.156 kB / 0.7081 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004876/0.684, allocations: 1.273 MB / 0.7094 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.684, allocations: 6.5 kB / 0.7094 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.684, allocations: 3.406 kB / 0.7094 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006318/0.6847, allocations: 138.7 kB / 0.7095 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006236/0.6853, allocations: 153.9 kB / 0.7097 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008903/0.6862, allocations: 0.7155 MB / 0.7104 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.6878, allocations: 150.4 kB / 0.7105 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.6879, allocations: 32.05 kB / 0.7105 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001244/0.6892, allocations: 0.5498 MB / 0.7111 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008672/0.69, allocations: 0.4937 MB / 0.7116 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001506/0.6916, allocations: 0.702 MB / 0.7122 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.31e-06/0.6916, allocations: 1.938 kB / 0.7123 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004864/0.6964, allocations: 1.267 MB / 0.7135 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.6965, allocations: 14.61 kB / 0.7135 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.6965, allocations: 3.719 kB / 0.7135 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005293/0.697, allocations: 138.4 kB / 0.7136 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006184/0.6977, allocations: 160.7 kB / 0.7138 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008919/0.6986, allocations: 0.7012 MB / 0.7145 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.7002, allocations: 138.1 kB / 0.7146 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.7003, allocations: 36.33 kB / 0.7146 GB, free: 4.652 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.0003424/0.7007, allocations: 226.8 kB / 0.7149 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005076/0.7012, allocations: 131.5 kB / 0.715 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004694/0.7059, allocations: 1.269 MB / 0.7162 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/0.7059, allocations: 7 kB / 0.7162 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.7059, allocations: 4 kB / 0.7162 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003896/0.7098, allocations: 1.106 MB / 0.7173 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007351/0.7172, allocations: 2.602 MB / 0.7199 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.7172, allocations: 4 kB / 0.7199 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004758/0.7177, allocations: 107.9 kB / 0.72 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004821/0.7182, allocations: 133.2 kB / 0.7201 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.805e-05/0.7183, allocations: 27.98 kB / 0.7201 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004764/0.7231, allocations: 2.381 MB / 0.7224 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.348e-06/0.7231, allocations: 11.94 kB / 0.7225 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005503/0.7286, allocations: 1.699 MB / 0.7241 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008278/0.7294, allocations: 303.2 kB / 0.7244 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003962/0.7299, allocations: 16 kB / 0.7244 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.731, allocations: 83.88 kB / 0.7245 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.7312, allocations: 64.23 kB / 0.7246 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.028e-05/0.7313, allocations: 31.98 kB / 0.7246 GB, free: 11.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001483/0.7328, allocations: 0.8662 MB / 0.7254 GB, free: 11.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7328, allocations: 0 / 0.7254 GB, free: 11.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002687/0.7355, allocations: 0.7174 MB / 0.7261 GB, free: 10.35 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.001159/0.7367, allocations: 440.7 kB / 0.7266 GB, free: 9.922 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002795/0.7395, allocations: 1.109 MB / 0.7276 GB, free: 8.816 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.7395, allocations: 1 kB / 0.7276 GB, free: 8.816 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001542/0.741, allocations: 0.5641 MB / 0.7282 GB, free: 8.242 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00409/0.7451, allocations: 0.7608 MB / 0.7289 GB, free: 7.508 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004629/0.7498, allocations: 2.76 MB / 0.7316 GB, free: 4.672 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009119/0.7507, allocations: 1.179 MB / 0.7328 GB, free: 3.465 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00155/0.7523, allocations: 301.6 kB / 0.7331 GB, free: 3.172 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003578/0.7527, allocations: 107.3 kB / 0.7332 GB, free: 3.066 MB / 0.545 GB Notification: Performance of SimCode: time 7.61e-07/0.7527, allocations: 0 / 0.7332 GB, free: 3.066 MB / 0.545 GB Notification: Performance of Templates: time 0.05169/0.8044, allocations: 30.5 MB / 0.763 GB, free: 4.906 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)