Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater.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_WaterWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater") translateModel(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 108.5 kB / 16.41 MB, free: 6.473 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.001104/0.001104, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7844/0.7844, allocations: 135.1 MB / 426.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 71.61 kB / 0.5863 GB, free: 21.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1312, allocations: 80.91 MB / 0.6653 GB, free: 5.887 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump1.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump2.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump3.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump4.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump5.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump6.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump7.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_WaterWater): time 0.6317/0.7629, allocations: 355.8 MB / 1.013 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.6751/1.438, allocations: 243.2 MB / 1.25 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0214/1.459, allocations: 0.5284 MB / 1.251 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01804/1.478, allocations: 6.167 MB / 1.257 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.04679/1.524, allocations: 17.03 MB / 1.273 GB, free: 260 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.032/1.556, allocations: 13.8 MB / 1.287 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.05019/1.607, allocations: 39.66 MB / 1.326 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02802/1.635, allocations: 16.69 MB / 1.342 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03097/1.666, allocations: 15.19 MB / 1.357 GB, free: 12.6 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01736/1.683, allocations: 11.39 MB / 1.368 GB, free: 1.164 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.006281/1.689, allocations: 1.695 MB / 1.37 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02038/1.71, allocations: 6.972 MB / 1.376 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.008196/1.718, allocations: 5.288 MB / 1.382 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.01713/1.735, allocations: 9.807 MB / 1.391 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.05119/1.786, allocations: 28.21 MB / 1.419 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/1.786, allocations: 0 / 1.419 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.823e-06/1.786, allocations: 0 / 1.419 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0009697/1.787, allocations: 0 / 1.419 GB, free: 13.01 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2700 * Number of variables: 2700 Notification: Performance of Generate backend data structure: time 0.6488/2.436, allocations: 20.07 MB / 1.438 GB, free: 446.7 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/2.436, allocations: 10.33 kB / 1.438 GB, free: 446.7 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02383/2.46, allocations: 3.64 MB / 1.442 GB, free: 445.6 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.037/2.497, allocations: 13.87 MB / 1.455 GB, free: 439.8 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007936/2.498, allocations: 0.8202 MB / 1.456 GB, free: 439.4 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003446/2.501, allocations: 1.072 MB / 1.457 GB, free: 439.1 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02908/2.53, allocations: 12.83 MB / 1.47 GB, free: 432.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002219/2.531, allocations: 19.73 kB / 1.47 GB, free: 432.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001304/2.532, allocations: 446.9 kB / 1.47 GB, free: 432.1 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001287/2.532, allocations: 257.2 kB / 1.47 GB, free: 432.1 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02557/2.558, allocations: 11.22 MB / 1.481 GB, free: 426.5 MB / 0.9825 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.08004/2.638, allocations: 51.41 MB / 1.532 GB, free: 382.7 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01857/2.656, allocations: 8.445 MB / 1.54 GB, free: 374.4 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007205/2.664, allocations: 3.711 MB / 1.543 GB, free: 370.7 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03053/2.694, allocations: 19.92 MB / 1.563 GB, free: 349.4 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007173/2.701, allocations: 3.971 MB / 1.567 GB, free: 345.4 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=602): time 8.797e-06/2.702, allocations: 0 / 1.567 GB, free: 345.4 MB / 0.9825 GB Notification: Performance of matching and sorting (n=602): time 0.02801/2.73, allocations: 10.63 MB / 1.577 GB, free: 334.8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/2.73, allocations: 480.3 kB / 1.578 GB, free: 334.2 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0292/2.759, allocations: 16.14 MB / 1.593 GB, free: 318.2 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.001711/2.761, allocations: 173.5 kB / 1.594 GB, free: 318.1 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.008144/2.769, allocations: 8.128 MB / 1.602 GB, free: 310.1 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.003055/2.772, allocations: 2.17 MB / 1.604 GB, free: 308 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005526/2.777, allocations: 1.889 MB / 1.605 GB, free: 306.1 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 4.152e-05/2.778, allocations: 305.1 kB / 1.606 GB, free: 305.8 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007509/2.785, allocations: 3.459 MB / 1.609 GB, free: 302.3 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009187/2.794, allocations: 6.536 MB / 1.616 GB, free: 294.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01687/2.811, allocations: 9.965 MB / 1.625 GB, free: 283.6 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.124e-05/2.811, allocations: 27.98 kB / 1.625 GB, free: 283.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.02916/2.84, allocations: 11.56 MB / 1.637 GB, free: 272 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/2.841, allocations: 69.7 kB / 1.637 GB, free: 271.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001388/2.841, allocations: 90.58 kB / 1.637 GB, free: 271.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007209/2.841, allocations: 216.8 kB / 1.637 GB, free: 271.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00885/2.85, allocations: 2.223 MB / 1.639 GB, free: 269.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/2.852, allocations: 1.872 MB / 1.641 GB, free: 267.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01353/2.866, allocations: 1.368 MB / 1.642 GB, free: 266 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001836/2.868, allocations: 499.8 kB / 1.643 GB, free: 265.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01401/2.882, allocations: 6.58 MB / 1.649 GB, free: 258.9 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009242/2.891, allocations: 6.518 MB / 1.656 GB, free: 251 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01619/2.907, allocations: 9.928 MB / 1.665 GB, free: 239.8 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.143e-05/2.907, allocations: 31.88 kB / 1.665 GB, free: 239.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1157) (initialization_lambda0): time 0.02683/2.934, allocations: 11.52 MB / 1.677 GB, free: 228.3 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/2.934, allocations: 73.64 kB / 1.677 GB, free: 228.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001099/2.934, allocations: 88 kB / 1.677 GB, free: 228.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006525/2.935, allocations: 221.2 kB / 1.677 GB, free: 227.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008498/2.944, allocations: 2.211 MB / 1.679 GB, free: 225.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/2.945, allocations: 1.871 MB / 1.681 GB, free: 223.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01327/2.959, allocations: 1.115 MB / 1.682 GB, free: 222.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001754/2.961, allocations: 490.4 kB / 1.682 GB, free: 222.1 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 395 * Number of states: 0 () * Number of discrete variables: 47 ($whenCondition4,sim.weaDat.conTim.canRepeatWeatherFile,sim.weaDat.conTimMin.canRepeatWeatherFile,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,$whenCondition1,$whenCondition2,HP_modSec.on_TSetControl_internal,HP_onOff_mod.on_TSetControl_internal,HP_scaling.on_TSetControl_internal,heatPump.on_TSetControl_internal,HP_modSec.on_security.y,HP_modSec.hysteresis1.y,$PRE.HP_modSec.hysteresis1.y,HP_modSec.hysteresis.y,$PRE.HP_modSec.hysteresis.y,const.count,$PRE.const.count,const.T_start,$PRE.const.T_start,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,HP_onOff_mod.on_security.y,HP_onOff_mod.hysteresis1.y,$PRE.HP_onOff_mod.hysteresis1.y,HP_onOff_mod.hysteresis.y,$PRE.HP_onOff_mod.hysteresis.y,HP_scaling.on_security.y,HP_scaling.hysteresis1.y,$PRE.HP_scaling.hysteresis1.y,HP_scaling.hysteresis.y,$PRE.HP_scaling.hysteresis.y,heatPump.on_security.y,heatPump.hysteresis1.y,$PRE.heatPump.hysteresis1.y,heatPump.hysteresis.y,$PRE.heatPump.hysteresis.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1146): * Single equations (assignments): 1136 * Array equations: 8 * Algorithm blocks: 1 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003083/2.964, allocations: 0.7955 MB / 1.683 GB, free: 221.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005339/2.969, allocations: 1.533 MB / 1.685 GB, free: 219.7 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.026/2.995, allocations: 11.78 MB / 1.696 GB, free: 207.9 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006808/3.002, allocations: 3.834 MB / 1.7 GB, free: 204 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.573e-05/3.002, allocations: 4 kB / 1.7 GB, free: 204 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008131/3.01, allocations: 2.695 MB / 1.703 GB, free: 201.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005477/3.016, allocations: 159.7 kB / 1.703 GB, free: 201.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01068/3.026, allocations: 485 kB / 1.703 GB, free: 200.7 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001355/3.028, allocations: 476.8 kB / 1.704 GB, free: 200.2 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02031/3.048, allocations: 8.227 MB / 1.712 GB, free: 192.1 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0267/3.075, allocations: 13.13 MB / 1.725 GB, free: 178.8 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006692/3.081, allocations: 3.6 MB / 1.728 GB, free: 175.2 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.01966/3.101, allocations: 11.17 MB / 1.739 GB, free: 164.1 MB / 0.9825 GB Notification: Performance of Backend: time 1.182e-06/3.101, allocations: 0 / 1.739 GB, free: 164.1 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.04032/3.141, allocations: 15.04 MB / 1.754 GB, free: 149.7 MB / 0.9825 GB Notification: Performance of SimCode: time 0.06904/3.211, allocations: 32.52 MB / 1.785 GB, free: 117.3 MB / 0.9825 GB Notification: Performance of Templates: time 1.018/4.229, allocations: 297.8 MB / 2.076 GB, free: 287.6 MB / 0.9827 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater.pipe 2>&1)