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.001131/0.001131, allocations: 118.1 kB / 16.42 MB, free: 6.496 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.001152/0.001152, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.394/1.394, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7965/0.7965, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.53 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.169, allocations: 80.21 MB / 0.6604 GB, free: 10.25 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.724/0.8931, allocations: 355.8 MB / 1.008 GB, free: 4.324 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.8716/1.765, allocations: 243.2 MB / 1.245 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02597/1.791, allocations: 0.5281 MB / 1.246 GB, free: 8.25 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.02021/1.811, allocations: 6.168 MB / 1.252 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.05493/1.866, allocations: 17.03 MB / 1.268 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.04072/1.907, allocations: 13.8 MB / 1.282 GB, free: 7.551 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.06394/1.971, allocations: 39.67 MB / 1.321 GB, free: 0.957 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0326/2.003, allocations: 16.49 MB / 1.337 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0382/2.042, allocations: 15.2 MB / 1.352 GB, free: 2.219 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02248/2.064, allocations: 11.4 MB / 1.363 GB, free: 7.59 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.008064/2.072, allocations: 1.699 MB / 1.364 GB, free: 5.891 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02639/2.099, allocations: 6.975 MB / 1.371 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.009466/2.108, allocations: 5.282 MB / 1.376 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.02508/2.133, allocations: 9.819 MB / 1.386 GB, free: 280 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.05347/2.187, allocations: 28.13 MB / 1.413 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.407e-06/2.187, allocations: 0 / 1.413 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.913e-06/2.187, allocations: 0 / 1.413 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.001156/2.188, allocations: 0 / 1.413 GB, free: 5.086 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.05757/2.245, allocations: 19.5 MB / 1.433 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/2.246, allocations: 8.031 kB / 1.433 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6981/2.944, allocations: 3.541 MB / 1.436 GB, free: 452 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03711/2.981, allocations: 13.78 MB / 1.449 GB, free: 447.3 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007556/2.982, allocations: 0.8099 MB / 1.45 GB, free: 447 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003323/2.985, allocations: 1.081 MB / 1.451 GB, free: 446.6 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03255/3.017, allocations: 12.83 MB / 1.464 GB, free: 441.3 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003685/3.018, allocations: 17.94 kB / 1.464 GB, free: 441.2 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00216/3.02, allocations: 444.7 kB / 1.464 GB, free: 440.9 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002389/3.02, allocations: 255.6 kB / 1.465 GB, free: 440.9 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02763/3.048, allocations: 11.25 MB / 1.475 GB, free: 435.4 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.09188/3.14, allocations: 51.3 MB / 1.526 GB, free: 394 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01981/3.16, allocations: 8.447 MB / 1.534 GB, free: 387.4 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008696/3.168, allocations: 3.724 MB / 1.537 GB, free: 383.7 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03552/3.204, allocations: 19.9 MB / 1.557 GB, free: 362.2 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00854/3.213, allocations: 3.959 MB / 1.561 GB, free: 358.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=602): time 1.139e-05/3.213, allocations: 2.094 kB / 1.561 GB, free: 358.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=602): time 0.03106/3.244, allocations: 10.56 MB / 1.571 GB, free: 347.7 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001683/3.244, allocations: 480.3 kB / 1.572 GB, free: 347.1 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03251/3.276, allocations: 16.17 MB / 1.587 GB, free: 331 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.001836/3.278, allocations: 177.6 kB / 1.588 GB, free: 330.8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.008576/3.287, allocations: 8.015 MB / 1.595 GB, free: 322.8 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.003243/3.29, allocations: 2.07 MB / 1.597 GB, free: 320.8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005936/3.296, allocations: 1.884 MB / 1.599 GB, free: 318.9 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 6.469e-05/3.296, allocations: 301.1 kB / 1.599 GB, free: 318.6 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008077/3.304, allocations: 3.464 MB / 1.603 GB, free: 315.1 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01097/3.315, allocations: 6.534 MB / 1.609 GB, free: 307.3 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01849/3.334, allocations: 9.961 MB / 1.619 GB, free: 296.3 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001219/3.334, allocations: 24 kB / 1.619 GB, free: 296.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.03015/3.364, allocations: 11.49 MB / 1.63 GB, free: 284.9 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/3.364, allocations: 69.69 kB / 1.63 GB, free: 284.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001336/3.364, allocations: 91.94 kB / 1.63 GB, free: 284.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007713/3.365, allocations: 216.7 kB / 1.631 GB, free: 284.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009089/3.374, allocations: 2.223 MB / 1.633 GB, free: 282.3 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/3.376, allocations: 1.865 MB / 1.635 GB, free: 280.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01419/3.391, allocations: 1.35 MB / 1.636 GB, free: 278.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002269/3.393, allocations: 499.6 kB / 1.636 GB, free: 278.4 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0156/3.409, allocations: 6.592 MB / 1.643 GB, free: 271.8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0105/3.419, allocations: 6.519 MB / 1.649 GB, free: 263.9 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01727/3.436, allocations: 9.929 MB / 1.659 GB, free: 252.8 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.041e-05/3.437, allocations: 24 kB / 1.659 GB, free: 252.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1157) (initialization_lambda0): time 0.02944/3.466, allocations: 11.45 MB / 1.67 GB, free: 241.3 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001867/3.466, allocations: 79.45 kB / 1.67 GB, free: 241.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001819/3.466, allocations: 84.84 kB / 1.67 GB, free: 241.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007654/3.467, allocations: 220.8 kB / 1.67 GB, free: 240.9 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00935/3.477, allocations: 2.215 MB / 1.673 GB, free: 238.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/3.479, allocations: 1.871 MB / 1.674 GB, free: 236.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01386/3.492, allocations: 1.097 MB / 1.675 GB, free: 235.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002205/3.495, allocations: 483.8 kB / 1.676 GB, free: 235.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.003519/3.498, allocations: 0.7877 MB / 1.677 GB, free: 234.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005738/3.504, allocations: 1.462 MB / 1.678 GB, free: 232.8 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03187/3.536, allocations: 11.77 MB / 1.69 GB, free: 221.1 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008011/3.544, allocations: 3.846 MB / 1.693 GB, free: 217.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-05/3.544, allocations: 4 kB / 1.693 GB, free: 217.1 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009992/3.554, allocations: 2.624 MB / 1.696 GB, free: 214.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005879/3.56, allocations: 147.7 kB / 1.696 GB, free: 214.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01051/3.57, allocations: 498 kB / 1.697 GB, free: 213.9 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001505/3.572, allocations: 472.9 kB / 1.697 GB, free: 213.4 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02216/3.594, allocations: 8.212 MB / 1.705 GB, free: 205.3 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02749/3.622, allocations: 13.04 MB / 1.718 GB, free: 192.1 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007477/3.629, allocations: 3.6 MB / 1.721 GB, free: 188.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.02018/3.649, allocations: 11.2 MB / 1.732 GB, free: 177.4 MB / 0.9825 GB Notification: Performance of Backend: time 9.72e-07/3.65, allocations: 4 kB / 1.732 GB, free: 177.4 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.04315/3.693, allocations: 15.02 MB / 1.747 GB, free: 163.3 MB / 0.9825 GB Notification: Performance of SimCode: time 0.07074/3.763, allocations: 32.06 MB / 1.778 GB, free: 131.3 MB / 0.9825 GB Notification: Performance of Templates: time 1.032/4.795, allocations: 297.9 MB / 2.069 GB, free: 304.8 MB / 0.9827 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)