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/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.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.001286/0.001286, allocations: 109.4 kB / 15.99 MB, free: 6.355 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.001445/0.001446, allocations: 199.2 kB / 16.91 MB, free: 6.191 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.335/1.335, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7807/0.7807, allocations: 132.2 MB / 422.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.91 kB / 0.5019 GB, free: 12.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3927, allocations: 80.19 MB / 0.5802 GB, free: 26.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.06149/0.4543, allocations: 74.53 MB / 0.653 GB, free: 3.766 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0201/0.4744, allocations: 15.03 MB / 0.6677 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003171/0.4776, allocations: 59.62 kB / 0.6677 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00344/0.4811, allocations: 0.719 MB / 0.6684 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008588/0.4897, allocations: 2.41 MB / 0.6708 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003827/0.4936, allocations: 1.271 MB / 0.672 GB, free: 244 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006748/0.5004, allocations: 4.435 MB / 0.6764 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002705/0.5031, allocations: 1.441 MB / 0.6778 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005194/0.5083, allocations: 1.654 MB / 0.6794 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002648/0.511, allocations: 1.256 MB / 0.6806 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005505/0.5115, allocations: 160 kB / 0.6808 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003652/0.5152, allocations: 1.431 MB / 0.6822 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004738/0.5157, allocations: 398.6 kB / 0.6825 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.517, allocations: 0.8983 MB / 0.6834 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003257/0.5203, allocations: 2.253 MB / 0.6856 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.5203, allocations: 0 / 0.6856 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.555e-06/0.5203, allocations: 0 / 0.6856 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.745e-05/0.5204, allocations: 0 / 0.6856 GB, free: 2.25 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.004062/0.5244, allocations: 2.091 MB / 0.6877 GB, free: 96 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.5245, allocations: 12.03 kB / 0.6877 GB, free: 84 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008392/0.5253, allocations: 230.8 kB / 0.6879 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00244/0.5278, allocations: 1.489 MB / 0.6893 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.824e-05/0.5279, allocations: 77.94 kB / 0.6894 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.528, allocations: 100 kB / 0.6895 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/0.53, allocations: 1.104 MB / 0.6906 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.53, allocations: 7.906 kB / 0.6906 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.314e-05/0.5301, allocations: 40 kB / 0.6906 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/0.5302, allocations: 24 kB / 0.6907 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.5319, allocations: 0.9016 MB / 0.6915 GB, free: 12.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.006759/0.5387, allocations: 4.911 MB / 0.6963 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.5401, allocations: 0.6081 MB / 0.6969 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006716/0.5408, allocations: 356.5 kB / 0.6973 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000739/0.5416, allocations: 0.8238 MB / 0.6981 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.5416, allocations: 47.06 kB / 0.6981 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.605e-06/0.5416, allocations: 0 / 0.6981 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.00708/0.5487, allocations: 1.685 MB / 0.6998 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.5488, allocations: 63.97 kB / 0.6998 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/0.5507, allocations: 1.21 MB / 0.701 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.5508, allocations: 41.7 kB / 0.701 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005371/0.5514, allocations: 0.6065 MB / 0.7016 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.5516, allocations: 208.9 kB / 0.7018 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/0.5519, allocations: 158.5 kB / 0.702 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.552, allocations: 341.9 kB / 0.7023 GB, free: 428 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006414/0.5527, allocations: 292.6 kB / 0.7026 GB, free: 132 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008506/0.5535, allocations: 496.8 kB / 0.7031 GB, free: 15.56 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.5549, allocations: 0.7206 MB / 0.7038 GB, free: 14.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.5549, allocations: 0 / 0.7038 GB, free: 14.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004657/0.5596, allocations: 1.265 MB / 0.705 GB, free: 13.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.5596, allocations: 12.03 kB / 0.705 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.5596, allocations: 4 kB / 0.705 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006069/0.5603, allocations: 136.7 kB / 0.7052 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005895/0.5609, allocations: 159.7 kB / 0.7053 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008681/0.5617, allocations: 0.7045 MB / 0.706 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.5631, allocations: 155 kB / 0.7061 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.153e-05/0.5632, allocations: 31.98 kB / 0.7062 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001158/0.5644, allocations: 0.5565 MB / 0.7067 GB, free: 11.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008052/0.5652, allocations: 496.7 kB / 0.7072 GB, free: 11.17 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001365/0.5666, allocations: 0.7128 MB / 0.7079 GB, free: 10.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.006e-06/0.5666, allocations: 0 / 0.7079 GB, free: 10.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004639/0.5712, allocations: 1.269 MB / 0.7091 GB, free: 9.125 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.5713, allocations: 4 kB / 0.7091 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.5713, allocations: 7.938 kB / 0.7091 GB, free: 9.113 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005018/0.5718, allocations: 136.8 kB / 0.7093 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005821/0.5724, allocations: 159.7 kB / 0.7094 GB, free: 8.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008588/0.5732, allocations: 0.7076 MB / 0.7101 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.5746, allocations: 135.5 kB / 0.7102 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-05/0.5747, allocations: 32 kB / 0.7103 GB, free: 7.926 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.000328/0.5751, allocations: 224.7 kB / 0.7105 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003914/0.5754, allocations: 138.3 kB / 0.7106 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004558/0.58, allocations: 1.264 MB / 0.7118 GB, free: 6.281 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-05/0.5801, allocations: 11.94 kB / 0.7119 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5801, allocations: 0 / 0.7119 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003989/0.5841, allocations: 1.111 MB / 0.7129 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007056/0.5911, allocations: 2.598 MB / 0.7155 GB, free: 2.414 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.5912, allocations: 4 kB / 0.7155 GB, free: 2.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004846/0.5917, allocations: 115.8 kB / 0.7156 GB, free: 2.297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000484/0.5922, allocations: 132.8 kB / 0.7157 GB, free: 2.164 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.586e-05/0.5922, allocations: 16 kB / 0.7157 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005051/0.5973, allocations: 2.627 MB / 0.7183 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-06/0.5973, allocations: 7.938 kB / 0.7183 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005619/0.6029, allocations: 1.699 MB / 0.72 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009787/0.604, allocations: 307.2 kB / 0.7203 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004598/0.6044, allocations: 20.09 kB / 0.7203 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.6057, allocations: 83.83 kB / 0.7204 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.6059, allocations: 60.23 kB / 0.7204 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.47e-05/0.606, allocations: 35.98 kB / 0.7205 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001798/0.6078, allocations: 0.8701 MB / 0.7213 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.52e-07/0.6078, allocations: 0 / 0.7213 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003021/0.6109, allocations: 0.7135 MB / 0.722 GB, free: 11.49 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.001197/0.6121, allocations: 434.5 kB / 0.7224 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00291/0.615, allocations: 1.168 MB / 0.7236 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.615, allocations: 0 / 0.7236 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001419/0.6164, allocations: 0.5648 MB / 0.7241 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003745/0.6202, allocations: 0.8047 MB / 0.7249 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004098/0.6243, allocations: 2.808 MB / 0.7276 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006999/0.625, allocations: 1.168 MB / 0.7288 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/0.6253, allocations: 111.3 kB / 0.7289 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of SimCode: time 1.032e-06/0.6253, allocations: 0 / 0.7289 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of Templates: time 0.3321/0.9575, allocations: 30.94 MB / 0.7591 GB, free: 153.9 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.makefile (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)