Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_AirWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater") translateModel(IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001381/0.001381, allocations: 113.5 kB / 16.42 MB, free: 6.441 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.001602/0.001602, allocations: 190.5 kB / 17.35 MB, free: 5.738 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8318/0.8318, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 66.55 kB / 0.582 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1769, allocations: 80.22 MB / 0.6603 GB, free: 10.27 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.05549/0.2324, allocations: 49.59 MB / 0.7088 GB, free: 8.488 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5736/0.8061, allocations: 169.9 MB / 0.8747 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003874/0.81, allocations: 99.5 kB / 0.8748 GB, free: 10.12 MB / 0.6387 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.005195/0.8152, allocations: 2.821 MB / 0.8776 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01045/0.8256, allocations: 3.655 MB / 0.8811 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.009564/0.8352, allocations: 3.851 MB / 0.8849 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0123/0.8475, allocations: 9.34 MB / 0.894 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00984/0.8574, allocations: 6.043 MB / 0.8999 GB, free: 348 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007899/0.8653, allocations: 3.894 MB / 0.9037 GB, free: 12.46 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005182/0.8706, allocations: 3.775 MB / 0.9074 GB, free: 8.668 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001747/0.8723, allocations: 0.6406 MB / 0.908 GB, free: 8.027 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005808/0.8781, allocations: 2.443 MB / 0.9104 GB, free: 5.582 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00248/0.8806, allocations: 1.83 MB / 0.9122 GB, free: 3.746 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.004775/0.8854, allocations: 3.272 MB / 0.9154 GB, free: 468 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01277/0.8982, allocations: 9.908 MB / 0.9251 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.8983, allocations: 0 / 0.9251 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.644e-06/0.8983, allocations: 0 / 0.9251 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002849/0.8986, allocations: 0 / 0.9251 GB, free: 6.523 MB / 0.6856 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.01771/0.9163, allocations: 7.08 MB / 0.932 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.9163, allocations: 12.03 kB / 0.932 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01338/0.9297, allocations: 1.919 MB / 0.9339 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008423/0.9382, allocations: 4.077 MB / 0.9378 GB, free: 9.254 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002749/0.9385, allocations: 353.7 kB / 0.9382 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009238/0.9394, allocations: 400 kB / 0.9386 GB, free: 8.508 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01356/0.953, allocations: 5.815 MB / 0.9442 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.8e-05/0.9531, allocations: 3.938 kB / 0.9442 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000462/0.9535, allocations: 172 kB / 0.9444 GB, free: 2.355 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.612e-05/0.9536, allocations: 100 kB / 0.9445 GB, free: 2.258 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01512/0.9688, allocations: 6.131 MB / 0.9505 GB, free: 12.12 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.04044/1.009, allocations: 21.78 MB / 0.9718 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01278/1.022, allocations: 4.925 MB / 0.9766 GB, free: 464 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004703/1.027, allocations: 2.046 MB / 0.9786 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01527/1.042, allocations: 9.48 MB / 0.9878 GB, free: 4.512 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0054/1.048, allocations: 2.419 MB / 0.9902 GB, free: 2.035 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001241/1.049, allocations: 233.2 kB / 0.9904 GB, free: 1.805 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=272): time 7.685e-06/1.049, allocations: 0 / 0.9904 GB, free: 1.805 MB / 0.7481 GB Notification: Performance of matching and sorting (n=272): time 0.01869/1.068, allocations: 6.961 MB / 0.9972 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/1.068, allocations: 269.4 kB / 0.9975 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01048/1.078, allocations: 6.909 MB / 1.004 GB, free: 3.488 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0007158/1.079, allocations: 77.7 kB / 1.004 GB, free: 3.406 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002687/1.082, allocations: 2.628 MB / 1.007 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001398/1.083, allocations: 0.9204 MB / 1.008 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002361/1.085, allocations: 0.7169 MB / 1.008 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.146e-05/1.085, allocations: 301.1 kB / 1.009 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00566/1.091, allocations: 1.944 MB / 1.011 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006129/1.097, allocations: 2.627 MB / 1.013 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1919/1.289, allocations: 34.15 MB / 1.047 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-05/1.289, allocations: 8 kB / 1.047 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of matching and sorting (n=395) (initialization): time 0.0161/1.305, allocations: 5.571 MB / 1.052 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/1.305, allocations: 12 kB / 1.052 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-05/1.305, allocations: 16 kB / 1.052 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/1.307, allocations: 258.5 kB / 1.052 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004955/1.312, allocations: 0.9437 MB / 1.053 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3905/1.702, allocations: 5.062 MB / 1.058 GB, free: 300.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005157/1.707, allocations: 412.7 kB / 1.059 GB, free: 300.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006658/1.708, allocations: 191.1 kB / 1.059 GB, free: 300.6 MB / 0.8106 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.00788/1.716, allocations: 3.57 MB / 1.062 GB, free: 300.3 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005907/1.722, allocations: 2.636 MB / 1.065 GB, free: 298.9 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1837/1.906, allocations: 34.11 MB / 1.098 GB, free: 287.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.202e-05/1.906, allocations: 4 kB / 1.098 GB, free: 287.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=395) (initialization_lambda0): time 0.0138/1.919, allocations: 5.564 MB / 1.104 GB, free: 281.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/1.919, allocations: 16.78 kB / 1.104 GB, free: 281.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.417e-05/1.919, allocations: 16 kB / 1.104 GB, free: 281.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000948/1.92, allocations: 266.8 kB / 1.104 GB, free: 281.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004546/1.925, allocations: 0.9437 MB / 1.105 GB, free: 280.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005421/1.93, allocations: 5.062 MB / 1.11 GB, free: 275 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005322/1.936, allocations: 409 kB / 1.11 GB, free: 274.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007448/1.937, allocations: 187.8 kB / 1.11 GB, free: 274.4 MB / 0.8106 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.001116/1.938, allocations: 418.4 kB / 1.111 GB, free: 274 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/1.939, allocations: 0.5103 MB / 1.111 GB, free: 273.8 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01261/1.951, allocations: 5.589 MB / 1.117 GB, free: 268.2 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00875/1.96, allocations: 4.194 MB / 1.121 GB, free: 263.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-05/1.96, allocations: 7.984 kB / 1.121 GB, free: 263.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002169/1.962, allocations: 1.06 MB / 1.122 GB, free: 262.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008199/1.963, allocations: 70.7 kB / 1.122 GB, free: 262.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003209/1.966, allocations: 331.6 kB / 1.122 GB, free: 262.4 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003452/1.967, allocations: 194.1 kB / 1.122 GB, free: 262.2 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01114/1.978, allocations: 4.465 MB / 1.127 GB, free: 257.7 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01316/1.991, allocations: 6.919 MB / 1.133 GB, free: 250.7 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003815/1.995, allocations: 1.905 MB / 1.135 GB, free: 248.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.006385/2.001, allocations: 5.095 MB / 1.14 GB, free: 243.7 MB / 0.8106 GB Notification: Performance of Backend: time 2.3e-07/2.001, allocations: 0 / 1.14 GB, free: 243.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.02214/2.024, allocations: 8.337 MB / 1.148 GB, free: 236 MB / 0.8106 GB Notification: Performance of SimCode: time 0.02232/2.046, allocations: 11.35 MB / 1.159 GB, free: 224.6 MB / 0.8106 GB Notification: Performance of Templates: time 0.1321/2.178, allocations: 100.5 MB / 1.258 GB, free: 124.5 MB / 0.8106 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater.pipe 2>&1)