Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet") translateModel(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001298/0.001298, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.026/1.026, allocations: 135.1 MB / 425.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 61.78 kB / 0.5053 GB, free: 5.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1838, allocations: 80.93 MB / 0.5844 GB, free: 4.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet): time 0.4367/0.6205, allocations: 94.54 MB / 0.6767 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.04196/0.6625, allocations: 25.38 MB / 0.7015 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006067/0.6686, allocations: 136.3 kB / 0.7016 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.006565/0.6752, allocations: 1.722 MB / 0.7033 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01653/0.6918, allocations: 4.001 MB / 0.7072 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01257/0.7044, allocations: 3.525 MB / 0.7106 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01636/0.7208, allocations: 8.169 MB / 0.7186 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006829/0.7277, allocations: 2.86 MB / 0.7214 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009376/0.7371, allocations: 3.2 MB / 0.7245 GB, free: 9.934 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005428/0.7425, allocations: 2.284 MB / 0.7268 GB, free: 8.504 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001571/0.7441, allocations: 310 kB / 0.7271 GB, free: 8.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008754/0.7529, allocations: 2.408 MB / 0.7294 GB, free: 7.367 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002155/0.7551, allocations: 1.041 MB / 0.7304 GB, free: 6.605 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004939/0.76, allocations: 1.938 MB / 0.7323 GB, free: 5.266 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01407/0.7741, allocations: 5.902 MB / 0.7381 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.7742, allocations: 0 / 0.7381 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7742, allocations: 7.938 kB / 0.7381 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000218/0.7744, allocations: 0 / 0.7381 GB, free: 15.47 MB / 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.01018/0.7846, allocations: 4.26 MB / 0.7423 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.7847, allocations: 8.031 kB / 0.7423 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00402/0.7887, allocations: 0.7612 MB / 0.743 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006878/0.7956, allocations: 2.877 MB / 0.7458 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007618/0.7964, allocations: 259.9 kB / 0.7461 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000679/0.7971, allocations: 199.9 kB / 0.7463 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005829/0.8029, allocations: 2.165 MB / 0.7484 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.501e-05/0.803, allocations: 0 / 0.7484 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000335/0.8034, allocations: 79.94 kB / 0.7484 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.154e-05/0.8034, allocations: 44 kB / 0.7485 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004828/0.8083, allocations: 1.731 MB / 0.7502 GB, free: 2.879 MB / 0.5606 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.01966/0.828, allocations: 9.962 MB / 0.7599 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002737/0.8307, allocations: 1.097 MB / 0.761 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/0.832, allocations: 0.5393 MB / 0.7615 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008672/0.8406, allocations: 4.53 MB / 0.7659 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.8407, allocations: 47.56 kB / 0.766 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=93): time 3.817e-06/0.8408, allocations: 0 / 0.766 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93): time 0.004149/0.8449, allocations: 1.48 MB / 0.7674 GB, free: 204 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.461e-05/0.845, allocations: 145.5 kB / 0.7676 GB, free: 28 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007605/0.8526, allocations: 3.721 MB / 0.7712 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002897/0.853, allocations: 49.7 kB / 0.7712 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001821/0.8548, allocations: 1.633 MB / 0.7728 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006175/0.8554, allocations: 331.3 kB / 0.7731 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008002/0.8563, allocations: 351.2 kB / 0.7735 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.8564, allocations: 309.1 kB / 0.7738 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/0.8579, allocations: 0.5747 MB / 0.7743 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002069/0.86, allocations: 1.24 MB / 0.7756 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003103/0.8631, allocations: 1.677 MB / 0.7772 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.796e-05/0.8631, allocations: 8 kB / 0.7772 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.005313/0.8685, allocations: 2.068 MB / 0.7792 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.8685, allocations: 12 kB / 0.7792 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.171e-05/0.8686, allocations: 20 kB / 0.7792 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.034e-05/0.8686, allocations: 28 kB / 0.7793 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.8701, allocations: 415.8 kB / 0.7797 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.865e-05/0.8702, allocations: 47.86 kB / 0.7797 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002706/0.8729, allocations: 331 kB / 0.78 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002245/0.8732, allocations: 87.97 kB / 0.7801 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002803/0.876, allocations: 1.211 MB / 0.7813 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002036/0.878, allocations: 1.231 MB / 0.7825 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003033/0.8811, allocations: 1.68 MB / 0.7841 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.929e-05/0.8811, allocations: 8 kB / 0.7841 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of matching and sorting (n=209) (initialization_lambda0): time 0.005105/0.8862, allocations: 2.056 MB / 0.7862 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.8863, allocations: 15.94 kB / 0.7862 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-05/0.8863, allocations: 23.94 kB / 0.7862 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.736e-05/0.8864, allocations: 28 kB / 0.7862 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.8878, allocations: 415.5 kB / 0.7866 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.272e-05/0.8879, allocations: 39.86 kB / 0.7867 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002722/0.8906, allocations: 284 kB / 0.7869 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/0.8908, allocations: 83.98 kB / 0.787 GB, free: 10.93 MB / 0.6075 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.0004989/0.8913, allocations: 302.6 kB / 0.7873 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/0.8924, allocations: 331.8 kB / 0.7876 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00414/0.8966, allocations: 1.748 MB / 0.7893 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-05/0.8966, allocations: 15.98 kB / 0.7893 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.8966, allocations: 0 / 0.7893 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002083/0.8987, allocations: 1.102 MB / 0.7904 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008697/0.9074, allocations: 3.967 MB / 0.7943 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/0.9075, allocations: 7.938 kB / 0.7943 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009723/0.9084, allocations: 232.3 kB / 0.7945 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.818e-05/0.9085, allocations: 8 kB / 0.7945 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.48e-05/0.9086, allocations: 39.97 kB / 0.7946 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-05/0.9086, allocations: 12 kB / 0.7946 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.9086, allocations: 7.938 kB / 0.7946 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004693/0.9133, allocations: 2.323 MB / 0.7968 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001568/0.9149, allocations: 0.5863 MB / 0.7974 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008767/0.9158, allocations: 32 kB / 0.7974 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001907/0.9177, allocations: 119.8 kB / 0.7976 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.9179, allocations: 100.8 kB / 0.7977 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/0.918, allocations: 55.95 kB / 0.7977 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.004811/0.9228, allocations: 2.578 MB / 0.8002 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9229, allocations: 0 / 0.8002 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.005139/0.928, allocations: 1.485 MB / 0.8017 GB, free: 11.64 MB / 0.6231 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.002425/0.9304, allocations: 0.9575 MB / 0.8026 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006489/0.9369, allocations: 2.393 MB / 0.805 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.879e-05/0.937, allocations: 8.375 kB / 0.805 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00159/0.9386, allocations: 0.6783 MB / 0.8056 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008475/0.9471, allocations: 1.439 MB / 0.807 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.9584, allocations: 5.702 MB / 0.8126 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001847/0.9603, allocations: 2.009 MB / 0.8146 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003514/0.9638, allocations: 0.735 MB / 0.8153 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005743/0.9644, allocations: 231.4 kB / 0.8155 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of SimCode: time 1.202e-06/0.9644, allocations: 0 / 0.8155 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of Templates: time 0.4582/1.423, allocations: 56.62 MB / 0.8708 GB, free: 191.2 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe 2>&1)