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.001031/0.001031, allocations: 106 kB / 16.35 MB, free: 5.824 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.001037/0.001037, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.325/1.325, allocations: 222.9 MB / 241 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.7767/0.7767, allocations: 132.2 MB / 423.3 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.91 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3586, allocations: 80.19 MB / 0.5815 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet): time 0.08165/0.4403, allocations: 94.57 MB / 0.6738 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03609/0.4764, allocations: 25.37 MB / 0.6986 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005741/0.4822, allocations: 135.2 kB / 0.6987 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005474/0.4877, allocations: 1.727 MB / 0.7004 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01162/0.4994, allocations: 4.012 MB / 0.7044 GB, free: 48 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.009171/0.5086, allocations: 3.531 MB / 0.7078 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01198/0.5206, allocations: 8.18 MB / 0.7158 GB, free: 4.348 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005081/0.5257, allocations: 2.857 MB / 0.7186 GB, free: 1.426 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007736/0.5334, allocations: 3.218 MB / 0.7217 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003892/0.5373, allocations: 2.291 MB / 0.724 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0009896/0.5383, allocations: 304 kB / 0.7243 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006025/0.5444, allocations: 2.414 MB / 0.7266 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001467/0.5459, allocations: 1.047 MB / 0.7276 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003504/0.5494, allocations: 1.939 MB / 0.7295 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.009175/0.5586, allocations: 5.974 MB / 0.7354 GB, free: 204 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5586, allocations: 0 / 0.7354 GB, free: 204 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5586, allocations: 0 / 0.7354 GB, free: 204 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.788e-05/0.5587, allocations: 0 / 0.7354 GB, free: 204 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.007409/0.5661, allocations: 4.263 MB / 0.7395 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.5662, allocations: 8.031 kB / 0.7395 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003486/0.5697, allocations: 0.7685 MB / 0.7403 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005703/0.5754, allocations: 2.982 MB / 0.7432 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.5755, allocations: 147.6 kB / 0.7433 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002834/0.5758, allocations: 196 kB / 0.7435 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003988/0.5798, allocations: 2.153 MB / 0.7456 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.786e-05/0.5799, allocations: 7.938 kB / 0.7456 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/0.58, allocations: 76 kB / 0.7457 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/0.5801, allocations: 44 kB / 0.7457 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003838/0.5839, allocations: 1.712 MB / 0.7474 GB, free: 3.633 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.3078/0.8917, allocations: 9.817 MB / 0.757 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00242/0.8942, allocations: 1.104 MB / 0.7581 GB, free: 151.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.8954, allocations: 0.5422 MB / 0.7586 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007246/0.9027, allocations: 4.526 MB / 0.763 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.9028, allocations: 49.88 kB / 0.7631 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=93): time 3.276e-06/0.9028, allocations: 0 / 0.7631 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93): time 0.00391/0.9067, allocations: 1.477 MB / 0.7645 GB, free: 146.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/0.9068, allocations: 139.9 kB / 0.7647 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005454/0.9122, allocations: 3.701 MB / 0.7683 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002778/0.9125, allocations: 55.27 kB / 0.7683 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001182/0.9137, allocations: 1.629 MB / 0.7699 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003442/0.9141, allocations: 336.9 kB / 0.7702 GB, free: 143.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004687/0.9146, allocations: 350.8 kB / 0.7706 GB, free: 143 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.888e-05/0.9146, allocations: 305.1 kB / 0.7709 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.9158, allocations: 0.5534 MB / 0.7714 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.9172, allocations: 1.226 MB / 0.7726 GB, free: 141.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002278/0.9195, allocations: 1.669 MB / 0.7742 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.9195, allocations: 3.969 kB / 0.7742 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.003947/0.9235, allocations: 2.021 MB / 0.7762 GB, free: 139.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.9235, allocations: 15.89 kB / 0.7762 GB, free: 139.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.9236, allocations: 19.81 kB / 0.7762 GB, free: 139.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.171e-05/0.9236, allocations: 31.09 kB / 0.7763 GB, free: 139.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.9249, allocations: 417.3 kB / 0.7767 GB, free: 139 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-05/0.925, allocations: 43.2 kB / 0.7767 GB, free: 139 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/0.9273, allocations: 305.6 kB / 0.777 GB, free: 138.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/0.9274, allocations: 90.77 kB / 0.7771 GB, free: 138.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002088/0.9295, allocations: 1.185 MB / 0.7782 GB, free: 138.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001368/0.9309, allocations: 1.214 MB / 0.7794 GB, free: 137 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002204/0.9331, allocations: 1.662 MB / 0.7811 GB, free: 135.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.956e-06/0.9331, allocations: 5.906 kB / 0.7811 GB, free: 135.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=209) (initialization_lambda0): time 0.003779/0.9369, allocations: 2.01 MB / 0.783 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.9369, allocations: 17.44 kB / 0.783 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/0.937, allocations: 18.62 kB / 0.7831 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.937, allocations: 29.47 kB / 0.7831 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.9383, allocations: 409.6 kB / 0.7835 GB, free: 134.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.692e-05/0.9384, allocations: 42.05 kB / 0.7835 GB, free: 134.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/0.9407, allocations: 253.8 kB / 0.7838 GB, free: 134.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/0.9409, allocations: 87.92 kB / 0.7838 GB, free: 134.6 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.0004219/0.9413, allocations: 302.1 kB / 0.7841 GB, free: 134.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006773/0.942, allocations: 327.8 kB / 0.7844 GB, free: 134 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003661/0.9456, allocations: 1.743 MB / 0.7861 GB, free: 132.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-05/0.9457, allocations: 15.98 kB / 0.7862 GB, free: 132.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.9457, allocations: 0 / 0.7862 GB, free: 132.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001797/0.9475, allocations: 1.104 MB / 0.7872 GB, free: 131.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007169/0.9547, allocations: 3.982 MB / 0.7911 GB, free: 127.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.9547, allocations: 8 kB / 0.7911 GB, free: 127 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008812/0.9556, allocations: 220.3 kB / 0.7913 GB, free: 126.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/0.9557, allocations: 8 kB / 0.7913 GB, free: 126.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.448e-05/0.9557, allocations: 39.97 kB / 0.7914 GB, free: 126.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.241e-05/0.9557, allocations: 15.94 kB / 0.7914 GB, free: 126.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.9558, allocations: 7.938 kB / 0.7914 GB, free: 126.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003553/0.9593, allocations: 2.323 MB / 0.7937 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/0.9606, allocations: 0.5824 MB / 0.7942 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003739/0.961, allocations: 28 kB / 0.7943 GB, free: 123.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/0.9623, allocations: 102.5 kB / 0.7944 GB, free: 123.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.9625, allocations: 116.7 kB / 0.7945 GB, free: 123.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.9626, allocations: 59.84 kB / 0.7945 GB, free: 123.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003099/0.9657, allocations: 2.551 MB / 0.797 GB, free: 120.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9657, allocations: 0 / 0.797 GB, free: 120.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003473/0.9692, allocations: 1.48 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.001944/0.9712, allocations: 0.9582 MB / 0.7994 GB, free: 118.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004215/0.9754, allocations: 2.285 MB / 0.8016 GB, free: 116.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.487e-06/0.9754, allocations: 4 kB / 0.8016 GB, free: 116.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.9766, allocations: 0.6716 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.006305/0.9829, allocations: 1.446 MB / 0.8037 GB, free: 114.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0086/0.9915, allocations: 5.618 MB / 0.8092 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001859/0.9934, allocations: 2.001 MB / 0.8112 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002894/0.9963, allocations: 0.7239 MB / 0.8119 GB, free: 106.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005396/0.9969, allocations: 235.4 kB / 0.8121 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.052e-06/0.9969, allocations: 3.938 kB / 0.8121 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.07183/1.069, allocations: 53.74 MB / 0.8646 GB, free: 52.76 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe 2>&1)