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.0008757/0.0008757, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0009842/0.0009842, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.207/1.207, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8341/0.8341, allocations: 135.2 MB / 426.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.0002748, allocations: 8 kB / 0.5068 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.138, allocations: 82.3 MB / 0.5872 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.3036/0.4417, allocations: 62.95 MB / 0.6487 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01407/0.4558, allocations: 12.97 MB / 0.6613 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/0.4578, allocations: 54.28 kB / 0.6614 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002222/0.46, allocations: 0.747 MB / 0.6621 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006676/0.4667, allocations: 2.4 MB / 0.6645 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003742/0.4704, allocations: 1.523 MB / 0.6659 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00397/0.4744, allocations: 2.52 MB / 0.6684 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.4759, allocations: 1.05 MB / 0.6694 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002266/0.4782, allocations: 1.165 MB / 0.6706 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.4793, allocations: 0.7917 MB / 0.6713 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.4795, allocations: 55.81 kB / 0.6714 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00215/0.4817, allocations: 0.8319 MB / 0.6722 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002725/0.4819, allocations: 261.1 kB / 0.6725 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003486/0.4823, allocations: 364.2 kB / 0.6728 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00239/0.4847, allocations: 2.025 MB / 0.6748 GB, free: 56 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.4847, allocations: 0 / 0.6748 GB, free: 56 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.505e-06/0.4847, allocations: 1.562 kB / 0.6748 GB, free: 56 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.006e-05/0.4847, allocations: 0 / 0.6748 GB, free: 56 kB / 0.4981 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.003471/0.4882, allocations: 1.782 MB / 0.6765 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.4883, allocations: 9.969 kB / 0.6765 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007854/0.489, allocations: 239.4 kB / 0.6768 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002493/0.4915, allocations: 1.381 MB / 0.6781 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.563e-05/0.4916, allocations: 84.11 kB / 0.6782 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.4918, allocations: 101.8 kB / 0.6783 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/0.4938, allocations: 1.115 MB / 0.6794 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.4939, allocations: 5.344 kB / 0.6794 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.675e-05/0.494, allocations: 37.12 kB / 0.6794 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.794e-05/0.494, allocations: 28.59 kB / 0.6794 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.4958, allocations: 0.9226 MB / 0.6803 GB, free: 13.05 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.006128/0.502, allocations: 4.959 MB / 0.6852 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.5034, allocations: 0.6349 MB / 0.6858 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005947/0.504, allocations: 0.8271 MB / 0.6866 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.504, allocations: 38.44 kB / 0.6866 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.775e-06/0.504, allocations: 4 kB / 0.6867 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.006953/0.511, allocations: 1.886 MB / 0.6885 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.5111, allocations: 62.48 kB / 0.6886 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/0.5129, allocations: 1.253 MB / 0.6898 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.513, allocations: 43.17 kB / 0.6898 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005234/0.5136, allocations: 0.6023 MB / 0.6904 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.5138, allocations: 210.2 kB / 0.6906 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.5138, allocations: 14.41 kB / 0.6906 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.514, allocations: 332.6 kB / 0.6909 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006703/0.5147, allocations: 295.1 kB / 0.6912 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008142/0.5155, allocations: 0.5046 MB / 0.6917 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000727/0.5162, allocations: 356.1 kB / 0.6921 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.5162, allocations: 1.219 kB / 0.6921 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004526/0.5208, allocations: 1.399 MB / 0.6934 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004861/0.5213, allocations: 1.419 MB / 0.6948 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.5213, allocations: 3.469 kB / 0.6948 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005556/0.5218, allocations: 160 kB / 0.695 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005954/0.5224, allocations: 159.2 kB / 0.6951 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008147/0.5233, allocations: 0.7103 MB / 0.6958 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.5246, allocations: 169.7 kB / 0.696 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.317e-05/0.5247, allocations: 35.64 kB / 0.696 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/0.5247, allocations: 8.312 kB / 0.696 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004106/0.5288, allocations: 1.248 MB / 0.6972 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.5288, allocations: 3.094 kB / 0.6972 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004726/0.5293, allocations: 150 kB / 0.6974 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005666/0.5299, allocations: 167.9 kB / 0.6975 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007374/0.5306, allocations: 0.716 MB / 0.6982 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.532, allocations: 159.7 kB / 0.6984 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.236e-05/0.5321, allocations: 40.52 kB / 0.6984 GB, free: 2.012 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007442/0.5328, allocations: 421.1 kB / 0.6988 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/0.5331, allocations: 134.8 kB / 0.699 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004362/0.5374, allocations: 1.4 MB / 0.7003 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.5375, allocations: 9.031 kB / 0.7003 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.5375, allocations: 0 / 0.7003 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003859/0.5413, allocations: 1.233 MB / 0.7015 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006619/0.548, allocations: 2.761 MB / 0.7042 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.548, allocations: 3.656 kB / 0.7042 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004603/0.5485, allocations: 125.3 kB / 0.7044 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004662/0.549, allocations: 140.3 kB / 0.7045 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/0.549, allocations: 20.41 kB / 0.7045 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00459/0.5536, allocations: 2.56 MB / 0.707 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5536, allocations: 4.906 kB / 0.707 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005443/0.5591, allocations: 2.057 MB / 0.709 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009537/0.5601, allocations: 345.6 kB / 0.7094 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.5603, allocations: 18.94 kB / 0.7094 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000989/0.5613, allocations: 89.75 kB / 0.7095 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.5614, allocations: 61.78 kB / 0.7095 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.397e-05/0.5615, allocations: 32.48 kB / 0.7095 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001389/0.5629, allocations: 0.9022 MB / 0.7104 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5629, allocations: 1.594 kB / 0.7104 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002032/0.565, allocations: 0.7262 MB / 0.7111 GB, free: 10.45 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007832/0.5657, allocations: 442.1 kB / 0.7116 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002388/0.5682, allocations: 1.163 MB / 0.7127 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.5682, allocations: 0 / 0.7127 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001391/0.5696, allocations: 0.6015 MB / 0.7133 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/0.5729, allocations: 0.7492 MB / 0.714 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003874/0.5768, allocations: 2.76 MB / 0.7167 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006971/0.5775, allocations: 1.21 MB / 0.7179 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001196/0.5787, allocations: 309.1 kB / 0.7182 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.579, allocations: 103.4 kB / 0.7183 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of SimCode: time 7.71e-07/0.579, allocations: 0 / 0.7183 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of Templates: time 0.04447/0.6235, allocations: 30.06 MB / 0.7476 GB, free: 6.887 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: