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.001027/0.001027, allocations: 116.4 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.001193/0.001193, allocations: 192.1 kB / 17.31 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8039/0.8039, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 59.89 kB / 0.5032 GB, free: 10.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3269, allocations: 80.18 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.06177/0.3887, allocations: 75.18 MB / 0.6549 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01896/0.4077, allocations: 15.14 MB / 0.6697 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002597/0.4103, allocations: 63.62 kB / 0.6698 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00216/0.4125, allocations: 0.8306 MB / 0.6706 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006763/0.4193, allocations: 2.585 MB / 0.6731 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003228/0.4226, allocations: 1.392 MB / 0.6744 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005071/0.4276, allocations: 4.407 MB / 0.6788 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.4295, allocations: 1.453 MB / 0.6802 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003139/0.4326, allocations: 1.635 MB / 0.6818 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001623/0.4342, allocations: 1.21 MB / 0.6829 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002216/0.4345, allocations: 164 kB / 0.6831 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002632/0.4371, allocations: 1.408 MB / 0.6845 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003561/0.4375, allocations: 402.6 kB / 0.6849 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008836/0.4384, allocations: 0.9138 MB / 0.6858 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003248/0.4416, allocations: 2.867 MB / 0.6886 GB, free: 320 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4416, allocations: 4 kB / 0.6886 GB, free: 316 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4417, allocations: 0 / 0.6886 GB, free: 316 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.068e-05/0.4417, allocations: 0 / 0.6886 GB, free: 316 kB / 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.003895/0.4456, allocations: 2.089 MB / 0.6906 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.4456, allocations: 8.031 kB / 0.6906 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007659/0.4464, allocations: 230.8 kB / 0.6908 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002509/0.4489, allocations: 1.528 MB / 0.6923 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.892e-05/0.449, allocations: 82 kB / 0.6924 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.4491, allocations: 103.9 kB / 0.6925 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.451, allocations: 1.1 MB / 0.6936 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.451, allocations: 0 / 0.6936 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-05/0.4511, allocations: 44 kB / 0.6936 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.242e-05/0.4512, allocations: 24 kB / 0.6936 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.453, allocations: 0.8939 MB / 0.6945 GB, free: 10.06 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.005573/0.4586, allocations: 4.907 MB / 0.6993 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.4599, allocations: 0.612 MB / 0.6999 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000661/0.4606, allocations: 355.2 kB / 0.7002 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006078/0.4612, allocations: 0.8277 MB / 0.701 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.4613, allocations: 43.12 kB / 0.7011 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 3.166e-06/0.4613, allocations: 0 / 0.7011 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.006815/0.4681, allocations: 1.697 MB / 0.7027 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.4681, allocations: 59.97 kB / 0.7028 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.4698, allocations: 1.23 MB / 0.704 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.267e-05/0.4698, allocations: 37.7 kB / 0.704 GB, free: 15.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004735/0.4703, allocations: 0.6143 MB / 0.7046 GB, free: 15.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/0.4705, allocations: 208.9 kB / 0.7048 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.4707, allocations: 154.6 kB / 0.705 GB, free: 14.76 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4709, allocations: 341.9 kB / 0.7053 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006328/0.4715, allocations: 288.7 kB / 0.7056 GB, free: 14.14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007795/0.4723, allocations: 496.7 kB / 0.7061 GB, free: 13.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.4737, allocations: 0.709 MB / 0.7068 GB, free: 12.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.4737, allocations: 0 / 0.7068 GB, free: 12.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0045/0.4782, allocations: 1.277 MB / 0.708 GB, free: 11.53 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.4782, allocations: 8 kB / 0.708 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.4782, allocations: 4 kB / 0.708 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006533/0.4789, allocations: 143.5 kB / 0.7081 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000633/0.4795, allocations: 159.7 kB / 0.7083 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008547/0.4804, allocations: 0.7006 MB / 0.709 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.4816, allocations: 119.1 kB / 0.7091 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.247e-05/0.4816, allocations: 32 kB / 0.7091 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001044/0.4827, allocations: 0.5487 MB / 0.7097 GB, free: 9.793 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007442/0.4834, allocations: 0.4928 MB / 0.7101 GB, free: 9.223 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001274/0.4847, allocations: 0.705 MB / 0.7108 GB, free: 8.465 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.701e-06/0.4847, allocations: 7.984 kB / 0.7108 GB, free: 8.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004438/0.4892, allocations: 1.261 MB / 0.7121 GB, free: 7.184 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.4892, allocations: 10.5 kB / 0.7121 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.4892, allocations: 7.938 kB / 0.7121 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004791/0.4897, allocations: 141 kB / 0.7122 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005911/0.4903, allocations: 159.7 kB / 0.7124 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007484/0.4911, allocations: 0.6985 MB / 0.7131 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.4921, allocations: 99.52 kB / 0.7132 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.713e-05/0.4922, allocations: 39.92 kB / 0.7132 GB, free: 6.012 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.0002343/0.4924, allocations: 228.7 kB / 0.7134 GB, free: 5.781 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002964/0.4927, allocations: 134.4 kB / 0.7135 GB, free: 5.648 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004414/0.4972, allocations: 1.271 MB / 0.7148 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.4972, allocations: 4 kB / 0.7148 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.4972, allocations: 0 / 0.7148 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00382/0.501, allocations: 1.111 MB / 0.7159 GB, free: 3.211 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006469/0.5075, allocations: 2.61 MB / 0.7184 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.5075, allocations: 4 kB / 0.7184 GB, free: 496 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004775/0.508, allocations: 120.2 kB / 0.7185 GB, free: 376 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004652/0.5085, allocations: 132.7 kB / 0.7187 GB, free: 240 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.275e-05/0.5086, allocations: 20 kB / 0.7187 GB, free: 220 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004778/0.5134, allocations: 2.626 MB / 0.7212 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.5134, allocations: 4 kB / 0.7213 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004998/0.5184, allocations: 1.703 MB / 0.7229 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007776/0.5192, allocations: 307.2 kB / 0.7232 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002947/0.5195, allocations: 19.98 kB / 0.7232 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008978/0.5204, allocations: 52 kB / 0.7233 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.5205, allocations: 60.25 kB / 0.7233 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.733e-05/0.5206, allocations: 35.97 kB / 0.7234 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001457/0.5221, allocations: 0.8818 MB / 0.7242 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5221, allocations: 0 / 0.7242 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002032/0.5241, allocations: 0.7174 MB / 0.7249 GB, free: 9.582 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.0009752/0.5251, allocations: 452.4 kB / 0.7254 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002557/0.5277, allocations: 1.121 MB / 0.7265 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.5277, allocations: 0 / 0.7265 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001459/0.5292, allocations: 0.5681 MB / 0.727 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003313/0.5325, allocations: 0.8079 MB / 0.7278 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003895/0.5364, allocations: 2.272 MB / 0.73 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008227/0.5372, allocations: 1.179 MB / 0.7312 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001085/0.5383, allocations: 306.3 kB / 0.7315 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002824/0.5386, allocations: 115.3 kB / 0.7316 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of SimCode: time 8.11e-07/0.5386, allocations: 4 kB / 0.7316 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of Templates: time 0.3024/0.8411, allocations: 32.17 MB / 0.763 GB, free: 151.5 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)