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.0009642/0.0009643, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001132/0.001132, allocations: 168.7 kB / 15.95 MB, free: 204 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.408/1.408, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7474/0.7474, allocations: 132.4 MB / 423.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002733/0.0002733, allocations: 12 kB / 0.5034 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3401, allocations: 81.57 MB / 0.5831 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.06297/0.4031, allocations: 69.42 MB / 0.6509 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01669/0.4199, allocations: 14.17 MB / 0.6647 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.4215, allocations: 59.62 kB / 0.6648 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.4231, allocations: 0.5666 MB / 0.6653 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004695/0.4278, allocations: 1.99 MB / 0.6672 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002482/0.4303, allocations: 0.9627 MB / 0.6682 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004936/0.4352, allocations: 4.809 MB / 0.6729 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001589/0.4369, allocations: 1.025 MB / 0.6739 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002237/0.4391, allocations: 1.271 MB / 0.6751 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.4405, allocations: 1.085 MB / 0.6762 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.4407, allocations: 56 kB / 0.6762 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.4426, allocations: 0.9238 MB / 0.6771 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002585/0.4429, allocations: 270.7 kB / 0.6774 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003269/0.4432, allocations: 360.9 kB / 0.6777 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001817/0.445, allocations: 2.089 MB / 0.6798 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.445, allocations: 0 / 0.6798 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4451, allocations: 0 / 0.6798 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.4451, allocations: 0 / 0.6798 GB, free: 13.27 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.002859/0.4479, allocations: 1.804 MB / 0.6815 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.448, allocations: 8.031 kB / 0.6816 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006771/0.4487, allocations: 245.8 kB / 0.6818 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002158/0.4508, allocations: 1.447 MB / 0.6832 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.468e-05/0.4509, allocations: 82 kB / 0.6833 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.451, allocations: 100 kB / 0.6834 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.4529, allocations: 1.112 MB / 0.6845 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.453, allocations: 7.922 kB / 0.6845 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.595e-05/0.4531, allocations: 44 kB / 0.6845 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.429e-05/0.4531, allocations: 28 kB / 0.6845 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.455, allocations: 0.9251 MB / 0.6854 GB, free: 7.32 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.005112/0.4601, allocations: 4.908 MB / 0.6902 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.4615, allocations: 0.6361 MB / 0.6909 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006858/0.4622, allocations: 363.1 kB / 0.6912 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005458/0.4627, allocations: 0.8316 MB / 0.692 GB, free: 112 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.4628, allocations: 43.12 kB / 0.6921 GB, free: 60 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 1.813e-06/0.4628, allocations: 0 / 0.6921 GB, free: 60 kB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.006401/0.4692, allocations: 1.896 MB / 0.6939 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.4692, allocations: 59.97 kB / 0.694 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.4707, allocations: 1.202 MB / 0.6951 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.753e-05/0.4707, allocations: 45.7 kB / 0.6952 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004718/0.4712, allocations: 0.6064 MB / 0.6958 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.4714, allocations: 212.9 kB / 0.696 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.4714, allocations: 12 kB / 0.696 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.4715, allocations: 334 kB / 0.6963 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006409/0.4722, allocations: 297.8 kB / 0.6966 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008068/0.473, allocations: 0.5085 MB / 0.6971 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007348/0.4737, allocations: 355 kB / 0.6974 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.4737, allocations: 0 / 0.6974 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004254/0.478, allocations: 1.402 MB / 0.6988 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.4781, allocations: 194.3 kB / 0.699 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4781, allocations: 4 kB / 0.699 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005304/0.4787, allocations: 148.7 kB / 0.6991 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005907/0.4793, allocations: 167.8 kB / 0.6993 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007502/0.48, allocations: 0.7084 MB / 0.7 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009058/0.481, allocations: 175 kB / 0.7001 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.481, allocations: 32 kB / 0.7002 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.813e-06/0.481, allocations: 7.938 kB / 0.7002 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004059/0.4851, allocations: 1.257 MB / 0.7014 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.4851, allocations: 0 / 0.7014 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004433/0.4856, allocations: 145.1 kB / 0.7015 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005761/0.4862, allocations: 175.6 kB / 0.7017 GB, free: 5.922 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006995/0.4869, allocations: 0.7085 MB / 0.7024 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008387/0.4877, allocations: 159.1 kB / 0.7026 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.544e-05/0.4878, allocations: 31.98 kB / 0.7026 GB, free: 5 MB / 0.5294 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.0004387/0.4882, allocations: 420.9 kB / 0.703 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.4884, allocations: 138.4 kB / 0.7031 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004242/0.4927, allocations: 1.396 MB / 0.7045 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.4927, allocations: 7.938 kB / 0.7045 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4927, allocations: 0 / 0.7045 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003804/0.4965, allocations: 1.236 MB / 0.7057 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005712/0.5022, allocations: 2.735 MB / 0.7084 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.5022, allocations: 4 kB / 0.7084 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004708/0.5027, allocations: 120.2 kB / 0.7085 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004264/0.5032, allocations: 148.4 kB / 0.7086 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/0.5032, allocations: 19.98 kB / 0.7086 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004258/0.5075, allocations: 2.486 MB / 0.7111 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.5075, allocations: 4 kB / 0.7111 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004725/0.5122, allocations: 1.851 MB / 0.7129 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004332/0.5127, allocations: 331.1 kB / 0.7132 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.5128, allocations: 24 kB / 0.7132 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000798/0.5136, allocations: 92 kB / 0.7133 GB, free: 9.598 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.5138, allocations: 60.25 kB / 0.7134 GB, free: 9.539 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.548e-05/0.5138, allocations: 35.92 kB / 0.7134 GB, free: 9.504 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001073/0.5149, allocations: 0.8623 MB / 0.7142 GB, free: 8.641 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5149, allocations: 4 kB / 0.7143 GB, free: 8.637 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001617/0.5165, allocations: 0.7056 MB / 0.7149 GB, free: 7.93 MB / 0.545 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.0006808/0.5172, allocations: 419.9 kB / 0.7153 GB, free: 7.516 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002297/0.5195, allocations: 1.157 MB / 0.7165 GB, free: 6.359 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5195, allocations: 4.062 kB / 0.7165 GB, free: 6.355 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001334/0.5209, allocations: 0.5993 MB / 0.7171 GB, free: 5.746 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003029/0.5239, allocations: 0.7559 MB / 0.7178 GB, free: 5.012 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/0.5274, allocations: 2.763 MB / 0.7205 GB, free: 2.184 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006362/0.5281, allocations: 1.183 MB / 0.7217 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001037/0.5291, allocations: 311 kB / 0.7219 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.5294, allocations: 103.4 kB / 0.722 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.5294, allocations: 0 / 0.722 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of Templates: time 0.04208/0.5715, allocations: 29.4 MB / 0.7508 GB, free: 3.527 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)