Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.001133/0.001133, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.00113/0.001129, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7706/0.7706, allocations: 132.2 MB / 423.3 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001217, allocations: 71.83 kB / 0.5032 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3183, allocations: 80.17 MB / 0.5815 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06466/0.383, allocations: 75.21 MB / 0.6549 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01977/0.4028, allocations: 15.14 MB / 0.6697 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002383/0.4053, allocations: 67.56 kB / 0.6698 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00214/0.4075, allocations: 0.8268 MB / 0.6706 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006638/0.4141, allocations: 2.589 MB / 0.6731 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003366/0.4175, allocations: 1.396 MB / 0.6745 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005479/0.423, allocations: 4.389 MB / 0.6788 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001924/0.425, allocations: 1.453 MB / 0.6802 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003088/0.4281, allocations: 1.642 MB / 0.6818 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001408/0.4295, allocations: 1.214 MB / 0.683 GB, free: 6 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002011/0.4297, allocations: 171.9 kB / 0.6831 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002785/0.4325, allocations: 1.4 MB / 0.6845 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003985/0.4329, allocations: 398.6 kB / 0.6849 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000965/0.4339, allocations: 0.9021 MB / 0.6858 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00367/0.4376, allocations: 2.863 MB / 0.6885 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.4376, allocations: 3.984 kB / 0.6886 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4376, allocations: 4 kB / 0.6886 GB, free: 260 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.673e-05/0.4376, allocations: 0 / 0.6886 GB, free: 260 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.00375/0.4414, allocations: 2.083 MB / 0.6906 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.4414, allocations: 8.031 kB / 0.6906 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008236/0.4423, allocations: 226.8 kB / 0.6908 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002584/0.4449, allocations: 1.528 MB / 0.6923 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.239e-05/0.4449, allocations: 78 kB / 0.6924 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.4451, allocations: 103.9 kB / 0.6925 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/0.447, allocations: 1.1 MB / 0.6936 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.447, allocations: 0 / 0.6936 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.035e-05/0.4471, allocations: 36 kB / 0.6936 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/0.4472, allocations: 32 kB / 0.6936 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.449, allocations: 0.8861 MB / 0.6945 GB, free: 10.02 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.005849/0.4548, allocations: 4.915 MB / 0.6993 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.4562, allocations: 0.612 MB / 0.6999 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006676/0.4569, allocations: 351.3 kB / 0.7002 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006297/0.4575, allocations: 0.8238 MB / 0.701 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.4576, allocations: 43.11 kB / 0.7011 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 3.707e-06/0.4576, allocations: 0 / 0.7011 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.006861/0.4645, allocations: 1.693 MB / 0.7027 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.4645, allocations: 67.89 kB / 0.7028 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.4662, allocations: 1.226 MB / 0.704 GB, free: 15.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.725e-05/0.4663, allocations: 41.7 kB / 0.704 GB, free: 15.71 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004965/0.4668, allocations: 0.6026 MB / 0.7046 GB, free: 15.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.467, allocations: 216.9 kB / 0.7048 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/0.4672, allocations: 154.6 kB / 0.705 GB, free: 14.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4674, allocations: 333.9 kB / 0.7053 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006462/0.468, allocations: 288.7 kB / 0.7056 GB, free: 14.11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008843/0.4689, allocations: 0.4929 MB / 0.706 GB, free: 13.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.4703, allocations: 0.7129 MB / 0.7067 GB, free: 12.78 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.4703, allocations: 0 / 0.7067 GB, free: 12.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004485/0.4748, allocations: 1.269 MB / 0.708 GB, free: 11.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.4748, allocations: 11.98 kB / 0.708 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.4748, allocations: 4.375 kB / 0.708 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005744/0.4754, allocations: 136.8 kB / 0.7081 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006109/0.4761, allocations: 163.7 kB / 0.7083 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008122/0.4769, allocations: 0.7029 MB / 0.709 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009969/0.4779, allocations: 115 kB / 0.7091 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-05/0.478, allocations: 35.98 kB / 0.7091 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001119/0.4791, allocations: 0.5527 MB / 0.7096 GB, free: 9.754 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008136/0.4799, allocations: 0.489 MB / 0.7101 GB, free: 9.188 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001374/0.4813, allocations: 0.705 MB / 0.7108 GB, free: 8.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.993e-06/0.4813, allocations: 4 kB / 0.7108 GB, free: 8.426 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004736/0.4861, allocations: 1.265 MB / 0.712 GB, free: 7.148 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.4861, allocations: 8 kB / 0.7121 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4861, allocations: 7.938 kB / 0.7121 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004816/0.4866, allocations: 129.1 kB / 0.7122 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006057/0.4872, allocations: 171.7 kB / 0.7124 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007761/0.488, allocations: 0.6928 MB / 0.713 GB, free: 6.117 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.4891, allocations: 99.44 kB / 0.7131 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.32e-05/0.4892, allocations: 35.94 kB / 0.7132 GB, free: 5.984 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.0002575/0.4894, allocations: 232.7 kB / 0.7134 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000326/0.4898, allocations: 134.4 kB / 0.7135 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004531/0.4943, allocations: 1.263 MB / 0.7147 GB, free: 4.344 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.4943, allocations: 8 kB / 0.7147 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.4944, allocations: 0 / 0.7147 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003981/0.4983, allocations: 1.111 MB / 0.7158 GB, free: 3.188 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006979/0.5053, allocations: 2.614 MB / 0.7184 GB, free: 472 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/0.5054, allocations: 8 kB / 0.7184 GB, free: 464 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005222/0.5059, allocations: 111.8 kB / 0.7185 GB, free: 352 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004924/0.5064, allocations: 133 kB / 0.7186 GB, free: 216 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.267e-05/0.5065, allocations: 16 kB / 0.7186 GB, free: 200 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005053/0.5116, allocations: 2.63 MB / 0.7212 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.5116, allocations: 4 kB / 0.7212 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005353/0.517, allocations: 1.707 MB / 0.7229 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007156/0.5177, allocations: 303.2 kB / 0.7232 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002905/0.518, allocations: 20.08 kB / 0.7232 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008927/0.5189, allocations: 59.94 kB / 0.7232 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.519, allocations: 56.25 kB / 0.7233 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.505e-05/0.5191, allocations: 31.97 kB / 0.7233 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00136/0.5205, allocations: 0.8857 MB / 0.7242 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5205, allocations: 0 / 0.7242 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00202/0.5225, allocations: 0.7175 MB / 0.7249 GB, free: 9.555 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.0009379/0.5235, allocations: 456 kB / 0.7253 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002785/0.5263, allocations: 1.125 MB / 0.7264 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.5263, allocations: 0 / 0.7264 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001479/0.5278, allocations: 0.5642 MB / 0.727 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003577/0.5314, allocations: 0.8092 MB / 0.7278 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/0.5353, allocations: 2.276 MB / 0.73 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000839/0.5361, allocations: 1.171 MB / 0.7311 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001065/0.5372, allocations: 302.1 kB / 0.7314 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.5375, allocations: 111.3 kB / 0.7315 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of SimCode: time 7.32e-07/0.5375, allocations: 0 / 0.7315 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of Templates: time 0.2695/0.807, allocations: 32.19 MB / 0.763 GB, free: 151.5 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)