Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater.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.HeatPump_AirWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater") translateModel(IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.00119/0.00119, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.345/1.345, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7969/0.7969, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 66.2 kB / 0.5863 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1599, allocations: 80.91 MB / 0.6653 GB, free: 5.781 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater): time 0.05329/0.2132, allocations: 49.6 MB / 0.7137 GB, free: 4 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5602/0.7735, allocations: 169.9 MB / 0.8797 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004875/0.7784, allocations: 99.5 kB / 0.8798 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005884/0.7843, allocations: 2.817 MB / 0.8825 GB, free: 348 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009482/0.7938, allocations: 3.663 MB / 0.8861 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.009624/0.8035, allocations: 3.856 MB / 0.8899 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01366/0.8172, allocations: 9.327 MB / 0.899 GB, free: 15.51 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01047/0.8277, allocations: 6.235 MB / 0.9051 GB, free: 9.188 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009125/0.8368, allocations: 3.883 MB / 0.9089 GB, free: 5.316 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005946/0.8428, allocations: 3.759 MB / 0.9125 GB, free: 1.543 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001951/0.8448, allocations: 0.6445 MB / 0.9132 GB, free: 0.8984 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006112/0.8509, allocations: 2.439 MB / 0.9155 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00239/0.8533, allocations: 1.83 MB / 0.9173 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004653/0.858, allocations: 3.26 MB / 0.9205 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01319/0.8712, allocations: 9.913 MB / 0.9302 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.8713, allocations: 8 kB / 0.9302 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8713, allocations: 0 / 0.9302 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003184/0.8716, allocations: 0 / 0.9302 GB, free: 15.39 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1044 * Number of variables: 1044 Notification: Performance of Generate backend data structure: time 0.01781/0.8894, allocations: 7.27 MB / 0.9373 GB, free: 8.039 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.8895, allocations: 9.109 kB / 0.9373 GB, free: 8.031 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01285/0.9023, allocations: 1.958 MB / 0.9392 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008762/0.9112, allocations: 4.069 MB / 0.9432 GB, free: 1.926 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000372/0.9116, allocations: 345.8 kB / 0.9435 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001374/0.913, allocations: 400 kB / 0.9439 GB, free: 1.188 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01404/0.927, allocations: 5.815 MB / 0.9496 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.438e-05/0.9272, allocations: 3.984 kB / 0.9496 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004924/0.9277, allocations: 172 kB / 0.9498 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.25e-05/0.9278, allocations: 100 kB / 0.9499 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01493/0.9427, allocations: 6.103 MB / 0.9558 GB, free: 4.828 MB / 0.7169 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.04169/0.9844, allocations: 21.83 MB / 0.9771 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01304/0.9975, allocations: 4.919 MB / 0.9819 GB, free: 9.113 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004988/1.003, allocations: 2.041 MB / 0.9839 GB, free: 7.062 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02573/1.028, allocations: 9.504 MB / 0.9932 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007765/1.036, allocations: 2.415 MB / 0.9956 GB, free: 10.69 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001636/1.038, allocations: 230 kB / 0.9958 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=272): time 9.077e-06/1.038, allocations: 0 / 0.9958 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of matching and sorting (n=272): time 0.02725/1.065, allocations: 6.987 MB / 1.003 GB, free: 3.336 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/1.065, allocations: 265.4 kB / 1.003 GB, free: 3.02 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01348/1.079, allocations: 6.872 MB / 1.01 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0009669/1.08, allocations: 81.7 kB / 1.01 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.003471/1.083, allocations: 2.656 MB / 1.012 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001781/1.085, allocations: 0.9605 MB / 1.013 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002775/1.088, allocations: 0.7212 MB / 1.014 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.088, allocations: 305.1 kB / 1.014 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005599/1.094, allocations: 1.944 MB / 1.016 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006453/1.1, allocations: 2.627 MB / 1.019 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1851/1.285, allocations: 34.15 MB / 1.052 GB, free: 80 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.711e-05/1.285, allocations: 4 kB / 1.052 GB, free: 76 kB / 0.8106 GB Notification: Performance of matching and sorting (n=395) (initialization): time 0.01593/1.301, allocations: 5.583 MB / 1.057 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.516e-05/1.301, allocations: 15.94 kB / 1.057 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.973e-05/1.301, allocations: 19.94 kB / 1.057 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/1.303, allocations: 274.8 kB / 1.058 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005189/1.308, allocations: 0.9398 MB / 1.059 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006663/1.314, allocations: 5.077 MB / 1.064 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005488/1.32, allocations: 404.1 kB / 1.064 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009906/1.321, allocations: 191.8 kB / 1.064 GB, free: 3.086 MB / 0.8262 GB Warning: Assuming fixed start value for the following 1 variables: heater.vol.dynBal.U:VARIABLE(start = 0.004017734279107983 * heater.vol.dynBal.rho_start * IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater.heater.vol.dynBal.Medium.specificInternalEnergy(IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater.heater.vol.dynBal.Medium.setState_pTX(heater.vol.dynBal.p_start, heater.vol.dynBal.T_start, {})) + (heater.vol.dynBal.T_start - 298.15) * 1e4 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.375/1.696, allocations: 3.543 MB / 1.068 GB, free: 314.4 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006621/1.703, allocations: 2.637 MB / 1.07 GB, free: 313.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1855/1.888, allocations: 34.11 MB / 1.104 GB, free: 307.1 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.093e-05/1.888, allocations: 8 kB / 1.104 GB, free: 307.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=395) (initialization_lambda0): time 0.01406/1.902, allocations: 5.587 MB / 1.109 GB, free: 301.7 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/1.902, allocations: 15.38 kB / 1.109 GB, free: 301.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-05/1.902, allocations: 16 kB / 1.109 GB, free: 301.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009802/1.903, allocations: 258.8 kB / 1.109 GB, free: 301.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004442/1.908, allocations: 0.9437 MB / 1.11 GB, free: 300.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005471/1.913, allocations: 5.063 MB / 1.115 GB, free: 295 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005333/1.919, allocations: 409.7 kB / 1.116 GB, free: 294.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006318/1.919, allocations: 195.8 kB / 1.116 GB, free: 294.4 MB / 0.8262 GB Warning: Assuming fixed start value for the following 1 variables: heater.vol.dynBal.U:VARIABLE(start = 0.004017734279107983 * heater.vol.dynBal.rho_start * IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater.heater.vol.dynBal.Medium.specificInternalEnergy(IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater.heater.vol.dynBal.Medium.setState_pTX(heater.vol.dynBal.p_start, heater.vol.dynBal.T_start, {})) + (heater.vol.dynBal.T_start - 298.15) * 1e4 unit = "J" fixed = true nominal = 1e5 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 17 (heater.booleanExpression.y,sim.weaDat.conTim.canRepeatWeatherFile,sim.weaDat.conTimMin.canRepeatWeatherFile,$PRE.heater.heatSource.onOff.y_boolean,sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.weaDat.conTimMin.tNext,heater.heatSource.onOff.y_boolean,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (388): * Single equations (assignments): 384 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001109/1.921, allocations: 404.6 kB / 1.116 GB, free: 294 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/1.922, allocations: 0.533 MB / 1.117 GB, free: 293.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01325/1.935, allocations: 5.593 MB / 1.122 GB, free: 288.2 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00944/1.944, allocations: 4.19 MB / 1.126 GB, free: 283.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.215e-05/1.944, allocations: 4 kB / 1.126 GB, free: 283.9 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003311/1.948, allocations: 1.082 MB / 1.127 GB, free: 282.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001569/1.949, allocations: 74.88 kB / 1.127 GB, free: 282.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00399/1.953, allocations: 333.6 kB / 1.128 GB, free: 282.4 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004304/1.954, allocations: 202.1 kB / 1.128 GB, free: 282.2 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01166/1.966, allocations: 4.467 MB / 1.132 GB, free: 277.7 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01346/1.979, allocations: 6.93 MB / 1.139 GB, free: 270.7 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003734/1.983, allocations: 1.901 MB / 1.141 GB, free: 268.8 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00727/1.99, allocations: 5.07 MB / 1.146 GB, free: 263.8 MB / 0.8262 GB Notification: Performance of Backend: time 5.91e-07/1.99, allocations: 0 / 1.146 GB, free: 263.8 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01913/2.009, allocations: 8.346 MB / 1.154 GB, free: 256 MB / 0.8262 GB Notification: Performance of SimCode: time 0.01677/2.026, allocations: 11.48 MB / 1.165 GB, free: 244.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.1394/2.166, allocations: 100.5 MB / 1.263 GB, free: 144.5 MB / 0.8262 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater.pipe 2>&1)