Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.HeatPump_WaterWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater") translateModel(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001175/0.001175, allocations: 114.6 kB / 16.42 MB, free: 6.465 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.001196/0.001196, allocations: 189.5 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.337/1.337, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 71.73 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1388, allocations: 80.2 MB / 0.6604 GB, free: 10.24 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.6892/0.8281, allocations: 355.8 MB / 1.008 GB, free: 4.293 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.7948/1.623, allocations: 243.3 MB / 1.245 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02395/1.647, allocations: 0.5284 MB / 1.246 GB, free: 8.227 MB / 0.8106 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.01897/1.666, allocations: 6.162 MB / 1.252 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.04953/1.716, allocations: 17.04 MB / 1.268 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.03754/1.753, allocations: 13.8 MB / 1.282 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.05903/1.812, allocations: 39.66 MB / 1.321 GB, free: 0.9375 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03336/1.846, allocations: 16.48 MB / 1.337 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03602/1.882, allocations: 15.21 MB / 1.352 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02104/1.903, allocations: 11.41 MB / 1.363 GB, free: 7.566 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.007654/1.91, allocations: 1.699 MB / 1.364 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02359/1.934, allocations: 6.972 MB / 1.371 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.009063/1.943, allocations: 5.29 MB / 1.376 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.02045/1.964, allocations: 9.815 MB / 1.386 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.05529/2.019, allocations: 28.24 MB / 1.414 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/2.019, allocations: 0 / 1.414 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.027e-06/2.019, allocations: 0 / 1.414 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.001136/2.02, allocations: 3.938 kB / 1.414 GB, free: 4.934 MB / 0.9669 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.05782/2.078, allocations: 20.11 MB / 1.433 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/2.078, allocations: 12.03 kB / 1.433 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4157/2.494, allocations: 3.644 MB / 1.437 GB, free: 455.6 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.032/2.526, allocations: 13.91 MB / 1.45 GB, free: 451.1 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000872/2.527, allocations: 0.813 MB / 1.451 GB, free: 450.7 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00327/2.53, allocations: 1.077 MB / 1.452 GB, free: 450.4 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02785/2.558, allocations: 12.83 MB / 1.465 GB, free: 444.7 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002139/2.558, allocations: 19.36 kB / 1.465 GB, free: 444.6 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001095/2.559, allocations: 441.6 kB / 1.465 GB, free: 444.3 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001818/2.559, allocations: 263.4 kB / 1.465 GB, free: 444.3 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02299/2.582, allocations: 11.24 MB / 1.476 GB, free: 438.7 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.06958/2.652, allocations: 51.43 MB / 1.527 GB, free: 397.2 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01748/2.669, allocations: 8.448 MB / 1.535 GB, free: 390.4 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007392/2.677, allocations: 3.709 MB / 1.539 GB, free: 386.7 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02939/2.706, allocations: 19.93 MB / 1.558 GB, free: 365.3 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008348/2.715, allocations: 3.96 MB / 1.562 GB, free: 361.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=602): time 1.045e-05/2.715, allocations: 0 / 1.562 GB, free: 361.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=602): time 0.0308/2.746, allocations: 10.63 MB / 1.572 GB, free: 350.6 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/2.746, allocations: 484.2 kB / 1.573 GB, free: 350.1 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02834/2.774, allocations: 16.18 MB / 1.588 GB, free: 334 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.001526/2.776, allocations: 169.7 kB / 1.589 GB, free: 333.8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.007886/2.783, allocations: 8.151 MB / 1.597 GB, free: 325.6 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.002797/2.786, allocations: 2.174 MB / 1.599 GB, free: 323.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005482/2.792, allocations: 1.885 MB / 1.601 GB, free: 321.6 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 3.816e-05/2.792, allocations: 313.1 kB / 1.601 GB, free: 321.3 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007219/2.799, allocations: 3.457 MB / 1.604 GB, free: 317.8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009093/2.808, allocations: 6.53 MB / 1.611 GB, free: 310 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01641/2.825, allocations: 9.971 MB / 1.62 GB, free: 299.1 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.943e-05/2.825, allocations: 24 kB / 1.62 GB, free: 299 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.02773/2.852, allocations: 11.56 MB / 1.632 GB, free: 287.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.45e-05/2.853, allocations: 74.59 kB / 1.632 GB, free: 287.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001097/2.853, allocations: 84 kB / 1.632 GB, free: 287.4 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000693/2.853, allocations: 212.8 kB / 1.632 GB, free: 287.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008352/2.862, allocations: 2.231 MB / 1.634 GB, free: 284.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/2.864, allocations: 1.876 MB / 1.636 GB, free: 282.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01247/2.876, allocations: 1.368 MB / 1.637 GB, free: 281.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001754/2.878, allocations: 499.6 kB / 1.638 GB, free: 281 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01385/2.892, allocations: 6.588 MB / 1.644 GB, free: 274.4 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009252/2.901, allocations: 6.522 MB / 1.651 GB, free: 266.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0165/2.918, allocations: 9.932 MB / 1.66 GB, free: 255.4 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.248e-05/2.918, allocations: 29.72 kB / 1.66 GB, free: 255.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1157) (initialization_lambda0): time 0.02651/2.944, allocations: 11.52 MB / 1.672 GB, free: 243.8 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.427e-05/2.944, allocations: 73.64 kB / 1.672 GB, free: 243.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001103/2.945, allocations: 88 kB / 1.672 GB, free: 243.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006616/2.945, allocations: 221.1 kB / 1.672 GB, free: 243.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008533/2.954, allocations: 2.211 MB / 1.674 GB, free: 241.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/2.956, allocations: 1.864 MB / 1.676 GB, free: 239.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01264/2.968, allocations: 1.118 MB / 1.677 GB, free: 238.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001569/2.97, allocations: 487.8 kB / 1.678 GB, free: 237.6 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.00278/2.973, allocations: 0.7916 MB / 1.678 GB, free: 236.8 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005059/2.978, allocations: 1.545 MB / 1.68 GB, free: 235.2 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02617/3.004, allocations: 11.77 MB / 1.691 GB, free: 223.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006832/3.011, allocations: 3.842 MB / 1.695 GB, free: 219.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.453e-05/3.011, allocations: 0 / 1.695 GB, free: 219.6 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006733/3.018, allocations: 2.718 MB / 1.698 GB, free: 216.9 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004683/3.022, allocations: 143.8 kB / 1.698 GB, free: 216.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00958/3.032, allocations: 496.2 kB / 1.698 GB, free: 216.2 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001572/3.033, allocations: 472.9 kB / 1.699 GB, free: 215.8 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02207/3.056, allocations: 8.215 MB / 1.707 GB, free: 207.7 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.029/3.085, allocations: 13.13 MB / 1.72 GB, free: 194.4 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006936/3.092, allocations: 3.604 MB / 1.723 GB, free: 190.8 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.01913/3.111, allocations: 11.2 MB / 1.734 GB, free: 179.7 MB / 0.9825 GB Notification: Performance of Backend: time 8.31e-07/3.111, allocations: 0 / 1.734 GB, free: 179.7 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0407/3.151, allocations: 15.03 MB / 1.749 GB, free: 165.3 MB / 0.9825 GB Notification: Performance of SimCode: time 0.06392/3.215, allocations: 32.59 MB / 1.781 GB, free: 132.8 MB / 0.9825 GB Notification: Performance of Templates: time 0.9955/4.211, allocations: 297.9 MB / 2.072 GB, free: 316 MB / 0.9825 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWater.pipe 2>&1)