Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.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_WaterWaterTSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet") translateModel(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 103.2 kB / 16.35 MB, free: 6.285 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.001168/0.001168, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8004/0.8004, allocations: 132.2 MB / 423.3 MB, free: 6.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 59.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3528, allocations: 80.18 MB / 0.5815 GB, free: 27.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet): time 0.08237/0.4353, allocations: 94.57 MB / 0.6738 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03713/0.4724, allocations: 25.39 MB / 0.6986 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006378/0.4789, allocations: 135.2 kB / 0.6988 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005494/0.4844, allocations: 1.724 MB / 0.7004 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01143/0.4959, allocations: 4.002 MB / 0.7043 GB, free: 76 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.009189/0.5051, allocations: 3.531 MB / 0.7078 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01236/0.5175, allocations: 8.18 MB / 0.7158 GB, free: 4.375 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004689/0.5222, allocations: 2.865 MB / 0.7186 GB, free: 1.445 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007256/0.5295, allocations: 3.219 MB / 0.7217 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003993/0.5335, allocations: 2.291 MB / 0.724 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006613/0.5342, allocations: 304 kB / 0.7243 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005945/0.5401, allocations: 2.41 MB / 0.7266 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001067/0.5412, allocations: 1.047 MB / 0.7276 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002519/0.5437, allocations: 1.939 MB / 0.7295 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008693/0.5524, allocations: 5.976 MB / 0.7354 GB, free: 232 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5525, allocations: 7.938 kB / 0.7354 GB, free: 224 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5525, allocations: 0 / 0.7354 GB, free: 224 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.336e-05/0.5526, allocations: 0 / 0.7354 GB, free: 224 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 463 * Number of variables: 463 Notification: Performance of Generate backend data structure: time 0.006973/0.5596, allocations: 4.254 MB / 0.7395 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.5596, allocations: 12.03 kB / 0.7395 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003281/0.5629, allocations: 0.7685 MB / 0.7403 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005528/0.5684, allocations: 2.986 MB / 0.7432 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.5686, allocations: 151.6 kB / 0.7433 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002718/0.5689, allocations: 188 kB / 0.7435 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003817/0.5727, allocations: 2.153 MB / 0.7456 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-05/0.5727, allocations: 3.938 kB / 0.7456 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.5729, allocations: 83.98 kB / 0.7457 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-05/0.573, allocations: 44 kB / 0.7458 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0037/0.5767, allocations: 1.716 MB / 0.7474 GB, free: 3.648 MB / 0.5762 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.3779/0.9546, allocations: 9.812 MB / 0.757 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002591/0.9572, allocations: 1.104 MB / 0.7581 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.9585, allocations: 0.5392 MB / 0.7586 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008064/0.9665, allocations: 4.527 MB / 0.763 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.9666, allocations: 46.28 kB / 0.7631 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=93): time 3.126e-06/0.9666, allocations: 0 / 0.7631 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93): time 0.004085/0.9707, allocations: 1.488 MB / 0.7645 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.41e-05/0.9708, allocations: 139.3 kB / 0.7647 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006024/0.9768, allocations: 3.699 MB / 0.7683 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002931/0.9772, allocations: 54.81 kB / 0.7683 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001325/0.9785, allocations: 1.629 MB / 0.7699 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000356/0.9789, allocations: 334.3 kB / 0.7702 GB, free: 143.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005061/0.9794, allocations: 351.8 kB / 0.7706 GB, free: 143 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.324e-05/0.9794, allocations: 302.2 kB / 0.7709 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.9806, allocations: 0.5535 MB / 0.7714 GB, free: 142.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.982, allocations: 1.229 MB / 0.7726 GB, free: 141.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0022/0.9842, allocations: 1.665 MB / 0.7742 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.9843, allocations: 7.781 kB / 0.7742 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.004102/0.9884, allocations: 2.026 MB / 0.7762 GB, free: 139.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.9884, allocations: 11.91 kB / 0.7762 GB, free: 139.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/0.9884, allocations: 19.81 kB / 0.7762 GB, free: 139.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.89e-05/0.9885, allocations: 27.69 kB / 0.7763 GB, free: 139.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.9898, allocations: 407 kB / 0.7767 GB, free: 139 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.112e-05/0.9899, allocations: 41.17 kB / 0.7767 GB, free: 139 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002666/0.9925, allocations: 312.6 kB / 0.777 GB, free: 138.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/0.9927, allocations: 84.59 kB / 0.7771 GB, free: 138.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002299/0.995, allocations: 1.194 MB / 0.7782 GB, free: 138.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001632/0.9967, allocations: 1.209 MB / 0.7794 GB, free: 137 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002564/0.9993, allocations: 1.658 MB / 0.781 GB, free: 135.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.369e-05/0.9993, allocations: 11.12 kB / 0.7811 GB, free: 135.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=209) (initialization_lambda0): time 0.00459/1.004, allocations: 2.017 MB / 0.783 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/1.004, allocations: 12.84 kB / 0.783 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.341e-05/1.004, allocations: 24.58 kB / 0.7831 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/1.004, allocations: 30.47 kB / 0.7831 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/1.005, allocations: 405.9 kB / 0.7835 GB, free: 134.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.719e-05/1.005, allocations: 43.56 kB / 0.7835 GB, free: 134.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002707/1.008, allocations: 248.2 kB / 0.7838 GB, free: 134.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001676/1.008, allocations: 92.56 kB / 0.7838 GB, free: 134.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 7 (heatPump.hysteresisTSetLimit.y,$PRE.heatPump.hysteresisTSetLimit.y,heatPump.on_security.y,heatPump.hysteresis1.y,$PRE.heatPump.hysteresis1.y,heatPump.hysteresis.y,$PRE.heatPump.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (207): * Single equations (assignments): 205 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004934/1.009, allocations: 301.9 kB / 0.7841 GB, free: 134.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007702/1.009, allocations: 323.8 kB / 0.7844 GB, free: 134 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003173/1.013, allocations: 1.753 MB / 0.7862 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-05/1.013, allocations: 19.77 kB / 0.7862 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/1.013, allocations: 0 / 0.7862 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00164/1.014, allocations: 1.101 MB / 0.7872 GB, free: 131.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006289/1.021, allocations: 3.981 MB / 0.7911 GB, free: 127.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/1.021, allocations: 4 kB / 0.7911 GB, free: 127.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008669/1.022, allocations: 228.1 kB / 0.7914 GB, free: 126.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/1.022, allocations: 12 kB / 0.7914 GB, free: 126.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-05/1.022, allocations: 35.98 kB / 0.7914 GB, free: 126.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-05/1.022, allocations: 15.94 kB / 0.7914 GB, free: 126.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/1.022, allocations: 4 kB / 0.7914 GB, free: 126.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003606/1.025, allocations: 2.319 MB / 0.7937 GB, free: 124.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001578/1.027, allocations: 0.5824 MB / 0.7943 GB, free: 123.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000461/1.027, allocations: 32 kB / 0.7943 GB, free: 123.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/1.029, allocations: 107.7 kB / 0.7944 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/1.029, allocations: 108.8 kB / 0.7945 GB, free: 123.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/1.029, allocations: 55.95 kB / 0.7945 GB, free: 123.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003431/1.033, allocations: 2.555 MB / 0.797 GB, free: 121 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.033, allocations: 0 / 0.797 GB, free: 121 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004861/1.037, allocations: 1.476 MB / 0.7985 GB, free: 119.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (heatPump.vol1.dynBal.U,heatPump.vol2.dynBal.U,TBrine_out.T,TWater_out.T) * Number of discrete variables: 4 (heatPump.hysteresis.y,heatPump.hysteresis1.y,heatPump.on_security.y,heatPump.hysteresisTSetLimit.y) * Number of discrete states: 3 (heatPump.hysteresis.y,heatPump.hysteresisTSetLimit.y,heatPump.hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00223/1.04, allocations: 0.9617 MB / 0.7994 GB, free: 118.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004617/1.044, allocations: 2.289 MB / 0.8017 GB, free: 116.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/1.044, allocations: 0 / 0.8017 GB, free: 116.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001187/1.046, allocations: 0.6788 MB / 0.8023 GB, free: 115.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006164/1.052, allocations: 1.431 MB / 0.8037 GB, free: 114.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007812/1.06, allocations: 5.612 MB / 0.8092 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/1.061, allocations: 2.001 MB / 0.8112 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002835/1.064, allocations: 0.7329 MB / 0.8119 GB, free: 106.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004977/1.064, allocations: 239.4 kB / 0.8121 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.262e-06/1.064, allocations: 0 / 0.8121 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.07334/1.137, allocations: 53.74 MB / 0.8646 GB, free: 52.8 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe 2>&1)