Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 111.1 kB / 16.37 MB, free: 6.012 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.001231/0.001231, allocations: 192.2 kB / 17.3 MB, free: 5.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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7959/0.7959, allocations: 135.1 MB / 426.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.00132, allocations: 59.91 kB / 0.5067 GB, free: 7.609 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3255, allocations: 80.91 MB / 0.5858 GB, free: 25.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.06561/0.3912, allocations: 75.17 MB / 0.6592 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02126/0.4125, allocations: 15.14 MB / 0.674 GB, free: 8 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002774/0.4153, allocations: 63.67 kB / 0.674 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002494/0.4178, allocations: 0.8306 MB / 0.6748 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008405/0.4263, allocations: 2.592 MB / 0.6774 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004145/0.4305, allocations: 1.388 MB / 0.6787 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007349/0.4378, allocations: 4.393 MB / 0.683 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002444/0.4403, allocations: 1.457 MB / 0.6844 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003738/0.4441, allocations: 1.638 MB / 0.686 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00205/0.4461, allocations: 1.217 MB / 0.6872 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002387/0.4464, allocations: 164 kB / 0.6874 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003083/0.4495, allocations: 1.408 MB / 0.6887 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004008/0.4499, allocations: 398.6 kB / 0.6891 GB, free: 424 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009444/0.4508, allocations: 0.9099 MB / 0.69 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003868/0.4547, allocations: 2.861 MB / 0.6928 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4547, allocations: 4 kB / 0.6928 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.951e-06/0.4547, allocations: 0 / 0.6928 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.054e-05/0.4548, allocations: 3.938 kB / 0.6928 GB, free: 12.62 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.003726/0.4585, allocations: 2.087 MB / 0.6949 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.4586, allocations: 13.05 kB / 0.6949 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000818/0.4594, allocations: 226.8 kB / 0.6951 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002715/0.4621, allocations: 1.536 MB / 0.6966 GB, free: 8.645 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.927e-05/0.4622, allocations: 81.98 kB / 0.6967 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.4624, allocations: 100 kB / 0.6968 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/0.4643, allocations: 1.1 MB / 0.6978 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.4643, allocations: 3.938 kB / 0.6978 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-05/0.4644, allocations: 40 kB / 0.6979 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/0.4644, allocations: 24 kB / 0.6979 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.4662, allocations: 0.8978 MB / 0.6988 GB, free: 6.367 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.006129/0.4724, allocations: 4.903 MB / 0.7036 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.4738, allocations: 0.6134 MB / 0.7042 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000653/0.4745, allocations: 346.3 kB / 0.7045 GB, free: 224 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006593/0.4751, allocations: 0.8277 MB / 0.7053 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.4752, allocations: 43.11 kB / 0.7053 GB, free: 15.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=61): time 2.594e-06/0.4752, allocations: 0 / 0.7053 GB, free: 15.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=61): time 0.006715/0.4819, allocations: 1.693 MB / 0.707 GB, free: 13.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.482, allocations: 63.97 kB / 0.7071 GB, free: 13.36 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/0.4837, allocations: 1.234 MB / 0.7083 GB, free: 12.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.4838, allocations: 45.64 kB / 0.7083 GB, free: 12.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005156/0.4843, allocations: 0.6026 MB / 0.7089 GB, free: 11.45 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.4845, allocations: 220.9 kB / 0.7091 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/0.4847, allocations: 150.6 kB / 0.7092 GB, free: 11.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4849, allocations: 337.9 kB / 0.7096 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006371/0.4855, allocations: 288.7 kB / 0.7098 GB, free: 10.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007901/0.4863, allocations: 0.4976 MB / 0.7103 GB, free: 9.867 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.4876, allocations: 0.7012 MB / 0.711 GB, free: 9.117 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.4876, allocations: 4 kB / 0.711 GB, free: 9.113 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004313/0.492, allocations: 1.269 MB / 0.7123 GB, free: 7.832 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.492, allocations: 11.98 kB / 0.7123 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.492, allocations: 7.984 kB / 0.7123 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005793/0.4926, allocations: 143.9 kB / 0.7124 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005756/0.4932, allocations: 159.8 kB / 0.7126 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008388/0.494, allocations: 0.7122 MB / 0.7133 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009874/0.495, allocations: 115.1 kB / 0.7134 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.971e-05/0.4951, allocations: 31.98 kB / 0.7134 GB, free: 6.633 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001092/0.4962, allocations: 0.5527 MB / 0.7139 GB, free: 6.078 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007778/0.497, allocations: 0.489 MB / 0.7144 GB, free: 5.512 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001337/0.4984, allocations: 0.6973 MB / 0.7151 GB, free: 4.766 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.127e-06/0.4984, allocations: 7.938 kB / 0.7151 GB, free: 4.758 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004416/0.5028, allocations: 1.269 MB / 0.7163 GB, free: 3.477 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.5028, allocations: 10.34 kB / 0.7164 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5028, allocations: 7.938 kB / 0.7164 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004696/0.5033, allocations: 137 kB / 0.7165 GB, free: 3.324 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005638/0.5039, allocations: 159.8 kB / 0.7166 GB, free: 3.168 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007863/0.5047, allocations: 0.7045 MB / 0.7173 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.5058, allocations: 95.45 kB / 0.7174 GB, free: 2.344 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.141e-05/0.5059, allocations: 31.98 kB / 0.7175 GB, free: 2.312 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.000416/0.5063, allocations: 236.1 kB / 0.7177 GB, free: 2.074 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003483/0.5067, allocations: 130.4 kB / 0.7178 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004361/0.511, allocations: 1.263 MB / 0.719 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.5111, allocations: 7.984 kB / 0.719 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.5111, allocations: 0 / 0.719 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003775/0.5149, allocations: 1.107 MB / 0.7201 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006126/0.521, allocations: 2.618 MB / 0.7227 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.904e-06/0.521, allocations: 7.938 kB / 0.7227 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004687/0.5215, allocations: 111.8 kB / 0.7228 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004416/0.522, allocations: 130 kB / 0.7229 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-05/0.522, allocations: 19.98 kB / 0.7229 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004695/0.5267, allocations: 2.629 MB / 0.7255 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.5267, allocations: 4 kB / 0.7255 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005114/0.5319, allocations: 1.703 MB / 0.7272 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008598/0.5327, allocations: 303.2 kB / 0.7275 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.5329, allocations: 19.94 kB / 0.7275 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007584/0.5337, allocations: 59.98 kB / 0.7275 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.5338, allocations: 52.31 kB / 0.7276 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.967e-05/0.5339, allocations: 31.98 kB / 0.7276 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001235/0.5351, allocations: 0.8896 MB / 0.7285 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.11e-07/0.5352, allocations: 0 / 0.7285 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001806/0.537, allocations: 0.7174 MB / 0.7292 GB, free: 5.875 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.0009108/0.5379, allocations: 460.5 kB / 0.7296 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002506/0.5404, allocations: 1.121 MB / 0.7307 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.5404, allocations: 4.188 kB / 0.7307 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001355/0.5418, allocations: 0.5602 MB / 0.7313 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00318/0.545, allocations: 0.8074 MB / 0.7321 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003742/0.5487, allocations: 2.279 MB / 0.7343 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000772/0.5495, allocations: 1.183 MB / 0.7354 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001109/0.5507, allocations: 303.1 kB / 0.7357 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002358/0.5509, allocations: 103.4 kB / 0.7358 GB, free: 15 MB / 0.5762 GB Notification: Performance of SimCode: time 1.112e-06/0.5509, allocations: 0 / 0.7358 GB, free: 15 MB / 0.5762 GB Notification: Performance of Templates: time 0.2917/0.8426, allocations: 32.2 MB / 0.7673 GB, free: 148.8 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)