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.001171/0.001171, allocations: 102.5 kB / 16.27 MB, free: 6.414 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.001102/0.001102, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.379/1.379, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8307/0.8307, allocations: 135.1 MB / 426.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001496, allocations: 67.88 kB / 0.506 GB, free: 8.395 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3947, allocations: 80.91 MB / 0.585 GB, free: 25.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet): time 0.08761/0.4824, allocations: 94.56 MB / 0.6774 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03817/0.5206, allocations: 25.38 MB / 0.7021 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006288/0.5269, allocations: 131.3 kB / 0.7023 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005972/0.5329, allocations: 1.724 MB / 0.704 GB, free: 476 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01311/0.5462, allocations: 4.002 MB / 0.7079 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0113/0.5575, allocations: 3.52 MB / 0.7113 GB, free: 8.953 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01547/0.573, allocations: 8.161 MB / 0.7193 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00578/0.5788, allocations: 2.861 MB / 0.7221 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00864/0.5875, allocations: 3.212 MB / 0.7252 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00469/0.5922, allocations: 2.291 MB / 0.7274 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001503/0.5937, allocations: 311.9 kB / 0.7277 GB, free: 8.031 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007427/0.6012, allocations: 2.403 MB / 0.7301 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002051/0.6033, allocations: 1.04 MB / 0.7311 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004324/0.6076, allocations: 1.932 MB / 0.733 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01219/0.6198, allocations: 5.908 MB / 0.7387 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.377e-06/0.6199, allocations: 0 / 0.7387 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6199, allocations: 3.938 kB / 0.7388 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000192/0.6201, allocations: 7.984 kB / 0.7388 GB, free: 12.7 MB / 0.5762 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.009342/0.6294, allocations: 4.25 MB / 0.7429 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.6295, allocations: 13.11 kB / 0.7429 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003846/0.6333, allocations: 0.7646 MB / 0.7437 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006305/0.6397, allocations: 2.878 MB / 0.7465 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008062/0.6405, allocations: 259.9 kB / 0.7467 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006582/0.6412, allocations: 195.9 kB / 0.7469 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005841/0.647, allocations: 2.161 MB / 0.749 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.299e-05/0.6471, allocations: 4 kB / 0.749 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003566/0.6475, allocations: 76 kB / 0.7491 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.172e-05/0.6476, allocations: 48 kB / 0.7491 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004901/0.6525, allocations: 1.735 MB / 0.7508 GB, free: 116 kB / 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.3192/0.9717, allocations: 9.944 MB / 0.7606 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002797/0.9745, allocations: 1.102 MB / 0.7616 GB, free: 148 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.9758, allocations: 0.5396 MB / 0.7622 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006809/0.9826, allocations: 4.527 MB / 0.7666 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.9827, allocations: 46.56 kB / 0.7666 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=93): time 3.447e-06/0.9827, allocations: 0 / 0.7666 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93): time 0.003533/0.9863, allocations: 1.483 MB / 0.7681 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.9863, allocations: 142.4 kB / 0.7682 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00473/0.9911, allocations: 3.733 MB / 0.7719 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001746/0.9913, allocations: 50.39 kB / 0.7719 GB, free: 140.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.9924, allocations: 1.628 MB / 0.7735 GB, free: 139.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002913/0.9927, allocations: 333.8 kB / 0.7738 GB, free: 139.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004241/0.9931, allocations: 361.5 kB / 0.7742 GB, free: 138.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.383e-05/0.9931, allocations: 302.3 kB / 0.7744 GB, free: 138.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.9944, allocations: 0.5718 MB / 0.775 GB, free: 138.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/0.9959, allocations: 1.241 MB / 0.7762 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002348/0.9983, allocations: 1.685 MB / 0.7779 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.9983, allocations: 3.938 kB / 0.7779 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.004087/1.002, allocations: 2.06 MB / 0.7799 GB, free: 134.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/1.002, allocations: 13.88 kB / 0.7799 GB, free: 134.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/1.002, allocations: 25.75 kB / 0.7799 GB, free: 134.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.511e-05/1.003, allocations: 28.75 kB / 0.7799 GB, free: 134.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/1.004, allocations: 419 kB / 0.7803 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-05/1.004, allocations: 43.14 kB / 0.7804 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002459/1.006, allocations: 331.8 kB / 0.7807 GB, free: 134.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/1.007, allocations: 90.25 kB / 0.7808 GB, free: 134.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002302/1.009, allocations: 1.209 MB / 0.782 GB, free: 134 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001528/1.01, allocations: 1.228 MB / 0.7832 GB, free: 132.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002298/1.013, allocations: 1.683 MB / 0.7848 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.875e-06/1.013, allocations: 7.594 kB / 0.7848 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=209) (initialization_lambda0): time 0.004048/1.017, allocations: 2.051 MB / 0.7868 GB, free: 128.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/1.017, allocations: 12 kB / 0.7868 GB, free: 128.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/1.017, allocations: 20 kB / 0.7868 GB, free: 128.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/1.017, allocations: 31.94 kB / 0.7869 GB, free: 128.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/1.018, allocations: 420.6 kB / 0.7873 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.372e-05/1.018, allocations: 39.86 kB / 0.7873 GB, free: 128.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/1.021, allocations: 280 kB / 0.7876 GB, free: 127.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/1.021, allocations: 87.97 kB / 0.7877 GB, free: 127.8 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.0003989/1.021, allocations: 300.8 kB / 0.788 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006912/1.022, allocations: 327.9 kB / 0.7883 GB, free: 127.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003224/1.025, allocations: 1.749 MB / 0.79 GB, free: 125.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/1.025, allocations: 15.98 kB / 0.79 GB, free: 125.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.025, allocations: 5.969 kB / 0.79 GB, free: 125.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001806/1.027, allocations: 1.105 MB / 0.7911 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006287/1.033, allocations: 3.97 MB / 0.795 GB, free: 120.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/1.033, allocations: 8 kB / 0.795 GB, free: 120.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008843/1.034, allocations: 223.7 kB / 0.7952 GB, free: 120 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/1.034, allocations: 8 kB / 0.7952 GB, free: 120 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/1.034, allocations: 43.98 kB / 0.7952 GB, free: 119.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/1.034, allocations: 19.92 kB / 0.7952 GB, free: 119.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/1.034, allocations: 8 kB / 0.7952 GB, free: 119.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003824/1.038, allocations: 2.311 MB / 0.7975 GB, free: 117.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/1.04, allocations: 0.5747 MB / 0.7981 GB, free: 116.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004047/1.04, allocations: 43.88 kB / 0.7981 GB, free: 116.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/1.041, allocations: 107.9 kB / 0.7982 GB, free: 116.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/1.042, allocations: 112.7 kB / 0.7983 GB, free: 116.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.461e-05/1.042, allocations: 55.97 kB / 0.7984 GB, free: 116.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003362/1.045, allocations: 2.574 MB / 0.8009 GB, free: 114 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/1.045, allocations: 3.938 kB / 0.8009 GB, free: 114 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004093/1.049, allocations: 1.478 MB / 0.8023 GB, free: 112.6 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.002055/1.051, allocations: 0.9549 MB / 0.8033 GB, free: 111.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005211/1.056, allocations: 2.4 MB / 0.8056 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.057, allocations: 0 / 0.8056 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001187/1.058, allocations: 0.68 MB / 0.8063 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006537/1.064, allocations: 1.437 MB / 0.8077 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007723/1.072, allocations: 5.805 MB / 0.8133 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/1.073, allocations: 2.005 MB / 0.8153 GB, free: 99.53 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008528/1.074, allocations: 251.3 kB / 0.8155 GB, free: 99.28 MB / 0.5762 GB Notification: Performance of SimCode: time 7.81e-07/1.074, allocations: 7.938 kB / 0.8156 GB, free: 99.27 MB / 0.5762 GB Notification: Performance of Templates: time 0.06397/1.138, allocations: 52.81 MB / 0.8671 GB, free: 46.76 MB / 0.5762 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)