Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.000877/0.0008769, allocations: 99.39 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.0008752/0.0008752, 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.199/1.199, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8449/0.8449, allocations: 135.2 MB / 426.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002726/0.0002726, allocations: 11.98 kB / 0.5068 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1404, allocations: 82.31 MB / 0.5872 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.2916/0.432, allocations: 62.94 MB / 0.6487 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01372/0.4457, allocations: 12.98 MB / 0.6613 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001858/0.4476, allocations: 54.09 kB / 0.6614 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001871/0.4495, allocations: 0.7407 MB / 0.6621 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005708/0.4552, allocations: 2.407 MB / 0.6645 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003976/0.4592, allocations: 1.524 MB / 0.6659 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004272/0.4635, allocations: 2.515 MB / 0.6684 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001501/0.465, allocations: 1.052 MB / 0.6694 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002379/0.4674, allocations: 1.172 MB / 0.6706 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/0.4687, allocations: 0.7838 MB / 0.6713 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.4689, allocations: 55.94 kB / 0.6714 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.4712, allocations: 0.8392 MB / 0.6722 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002908/0.4715, allocations: 261.3 kB / 0.6725 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004069/0.4719, allocations: 356 kB / 0.6728 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002507/0.4744, allocations: 2.021 MB / 0.6748 GB, free: 64 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.4744, allocations: 1.188 kB / 0.6748 GB, free: 64 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4744, allocations: 4 kB / 0.6748 GB, free: 60 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.886e-05/0.4744, allocations: 0 / 0.6748 GB, free: 60 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.003562/0.478, allocations: 1.787 MB / 0.6765 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.478, allocations: 8.531 kB / 0.6765 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007984/0.4789, allocations: 239.9 kB / 0.6768 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002506/0.4814, allocations: 1.386 MB / 0.6781 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.719e-05/0.4814, allocations: 75.59 kB / 0.6782 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.4816, allocations: 105.4 kB / 0.6783 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.4838, allocations: 1.109 MB / 0.6794 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.4838, allocations: 1.375 kB / 0.6794 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.464e-05/0.4839, allocations: 42.11 kB / 0.6794 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.861e-05/0.484, allocations: 25.19 kB / 0.6794 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/0.4859, allocations: 0.9277 MB / 0.6803 GB, free: 13.06 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.006359/0.4923, allocations: 4.955 MB / 0.6852 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.4937, allocations: 0.635 MB / 0.6858 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006379/0.4943, allocations: 0.8299 MB / 0.6866 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/0.4944, allocations: 39.48 kB / 0.6866 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 3.487e-06/0.4944, allocations: 0 / 0.6866 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.007381/0.5018, allocations: 1.885 MB / 0.6885 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.5018, allocations: 62.92 kB / 0.6885 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/0.5039, allocations: 1.253 MB / 0.6898 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001436/0.5041, allocations: 38.52 kB / 0.6898 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005696/0.5046, allocations: 0.61 MB / 0.6904 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000262/0.5049, allocations: 213.7 kB / 0.6906 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.601e-05/0.5049, allocations: 10.97 kB / 0.6906 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.5051, allocations: 334.8 kB / 0.6909 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007069/0.5058, allocations: 293.3 kB / 0.6912 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008201/0.5066, allocations: 0.5046 MB / 0.6917 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007151/0.5074, allocations: 359 kB / 0.692 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.5074, allocations: 1.281 kB / 0.6921 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004683/0.5121, allocations: 1.399 MB / 0.6934 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004929/0.5126, allocations: 1.428 MB / 0.6948 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.5126, allocations: 3.562 kB / 0.6948 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005667/0.5132, allocations: 153.6 kB / 0.695 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006084/0.5138, allocations: 163.6 kB / 0.6951 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008357/0.5146, allocations: 0.713 MB / 0.6958 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.516, allocations: 174.4 kB / 0.696 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.917e-05/0.5161, allocations: 31.94 kB / 0.696 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/0.5161, allocations: 3.438 kB / 0.696 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004188/0.5203, allocations: 1.247 MB / 0.6972 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.5203, allocations: 7.938 kB / 0.6972 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004672/0.5208, allocations: 146.9 kB / 0.6974 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000558/0.5214, allocations: 169 kB / 0.6975 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007438/0.5221, allocations: 0.716 MB / 0.6982 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.5234, allocations: 165 kB / 0.6984 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-05/0.5235, allocations: 38.34 kB / 0.6984 GB, free: 2.008 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.000689/0.5242, allocations: 413.9 kB / 0.6988 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/0.5244, allocations: 138.8 kB / 0.699 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004332/0.5287, allocations: 1.393 MB / 0.7003 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.5287, allocations: 9.109 kB / 0.7003 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.892e-06/0.5287, allocations: 0 / 0.7003 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003924/0.5327, allocations: 1.234 MB / 0.7015 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006562/0.5392, allocations: 2.769 MB / 0.7042 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.5393, allocations: 8.328 kB / 0.7042 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004804/0.5398, allocations: 121 kB / 0.7044 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004758/0.5402, allocations: 138.1 kB / 0.7045 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.238e-05/0.5403, allocations: 20.55 kB / 0.7045 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004706/0.545, allocations: 2.551 MB / 0.707 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/0.545, allocations: 8.219 kB / 0.707 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005232/0.5503, allocations: 2.054 MB / 0.709 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008314/0.5511, allocations: 350.2 kB / 0.7094 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003147/0.5514, allocations: 14.91 kB / 0.7094 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.5525, allocations: 90.69 kB / 0.7095 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.5526, allocations: 57.02 kB / 0.7095 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.294e-05/0.5526, allocations: 32.97 kB / 0.7095 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001377/0.554, allocations: 0.898 MB / 0.7104 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.554, allocations: 0 / 0.7104 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002168/0.5562, allocations: 0.7325 MB / 0.7111 GB, free: 10.47 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.0008849/0.5571, allocations: 447.6 kB / 0.7116 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002445/0.5596, allocations: 1.163 MB / 0.7127 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5596, allocations: 0 / 0.7127 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00133/0.5609, allocations: 0.6024 MB / 0.7133 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003276/0.5642, allocations: 0.7514 MB / 0.714 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003834/0.568, allocations: 2.757 MB / 0.7167 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006653/0.5687, allocations: 1.21 MB / 0.7179 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001243/0.57, allocations: 304.1 kB / 0.7182 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.5702, allocations: 111.4 kB / 0.7183 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of SimCode: time 6.82e-07/0.5702, allocations: 0 / 0.7183 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of Templates: time 0.04405/0.6143, allocations: 30.06 MB / 0.7476 GB, free: 6.914 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: