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.006267/0.006267, allocations: 96.28 kB / 15.73 MB, free: 5.996 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.001163/0.001163, allocations: 185.8 kB / 16.67 MB, free: 5.926 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7336/0.7336, allocations: 132.2 MB / 422.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 55.91 kB / 0.5813 GB, free: 7.539 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4359/0.437, allocations: 80.2 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet): time 0.09226/0.5293, allocations: 94.58 MB / 0.752 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.04087/0.5702, allocations: 25.36 MB / 0.7768 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006315/0.5766, allocations: 139.2 kB / 0.7769 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005539/0.5821, allocations: 1.724 MB / 0.7786 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01142/0.5936, allocations: 4.008 MB / 0.7825 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.008943/0.6026, allocations: 3.527 MB / 0.786 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01271/0.6153, allocations: 8.187 MB / 0.794 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007696/0.6231, allocations: 2.861 MB / 0.7968 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01029/0.6334, allocations: 3.222 MB / 0.7999 GB, free: 6.191 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004839/0.6383, allocations: 2.291 MB / 0.8021 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001373/0.6397, allocations: 304 kB / 0.8024 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006635/0.6463, allocations: 2.414 MB / 0.8048 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001643/0.648, allocations: 1.043 MB / 0.8058 GB, free: 132 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004066/0.652, allocations: 1.939 MB / 0.8077 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01255/0.6646, allocations: 6.006 MB / 0.8136 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6647, allocations: 3.938 kB / 0.8136 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6647, allocations: 4 kB / 0.8136 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002354/0.6649, allocations: 0 / 0.8136 GB, free: 8.148 MB / 0.6387 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.01107/0.676, allocations: 4.389 MB / 0.8179 GB, free: 3.684 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.6761, allocations: 16.02 kB / 0.8179 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004175/0.6802, allocations: 0.7784 MB / 0.8186 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007252/0.6875, allocations: 3.019 MB / 0.8216 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/0.6877, allocations: 151.6 kB / 0.8217 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005178/0.6882, allocations: 196 kB / 0.8219 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005313/0.6936, allocations: 2.153 MB / 0.824 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.666e-05/0.6936, allocations: 3.938 kB / 0.824 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003084/0.6939, allocations: 72 kB / 0.8241 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-05/0.694, allocations: 48 kB / 0.8241 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004371/0.6984, allocations: 1.716 MB / 0.8258 GB, free: 11.39 MB / 0.6544 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.01618/0.7146, allocations: 9.862 MB / 0.8354 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/0.717, allocations: 1.086 MB / 0.8365 GB, free: 15.92 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/0.7182, allocations: 0.5444 MB / 0.837 GB, free: 15.38 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007046/0.7253, allocations: 4.538 MB / 0.8415 GB, free: 10.35 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/0.7254, allocations: 47.55 kB / 0.8415 GB, free: 10.3 MB / 0.67 GB Notification: Performance of pre-optimization done (n=93): time 4.418e-06/0.7254, allocations: 0 / 0.8415 GB, free: 10.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=93): time 0.003852/0.7292, allocations: 1.498 MB / 0.843 GB, free: 8.793 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.038e-05/0.7293, allocations: 137.5 kB / 0.8431 GB, free: 8.629 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006972/0.7363, allocations: 3.71 MB / 0.8467 GB, free: 4.938 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002244/0.7366, allocations: 53.7 kB / 0.8468 GB, free: 4.879 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001891/0.7385, allocations: 1.647 MB / 0.8484 GB, free: 3.219 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006268/0.7391, allocations: 349.1 kB / 0.8487 GB, free: 2.875 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001083/0.7402, allocations: 355.3 kB / 0.8491 GB, free: 2.52 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.7404, allocations: 301.1 kB / 0.8494 GB, free: 2.223 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/0.742, allocations: 0.5591 MB / 0.8499 GB, free: 1.66 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002165/0.7441, allocations: 1.22 MB / 0.8511 GB, free: 140 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003167/0.7473, allocations: 1.669 MB / 0.8527 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.61e-05/0.7474, allocations: 7.938 kB / 0.8527 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.005022/0.7524, allocations: 2.038 MB / 0.8547 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.967e-05/0.7525, allocations: 12 kB / 0.8547 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.639e-05/0.7525, allocations: 20 kB / 0.8547 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.299e-05/0.7526, allocations: 28 kB / 0.8548 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.754, allocations: 415.5 kB / 0.8552 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.864e-05/0.754, allocations: 43.8 kB / 0.8552 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002589/0.7566, allocations: 303.7 kB / 0.8555 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/0.7568, allocations: 95.95 kB / 0.8556 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002533/0.7594, allocations: 1.187 MB / 0.8568 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001871/0.7613, allocations: 1.224 MB / 0.8579 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002756/0.764, allocations: 1.653 MB / 0.8596 GB, free: 6.617 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.404e-05/0.7641, allocations: 8 kB / 0.8596 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of matching and sorting (n=209) (initialization_lambda0): time 0.004681/0.7687, allocations: 2.03 MB / 0.8616 GB, free: 4.57 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.7688, allocations: 12 kB / 0.8616 GB, free: 4.559 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.641e-05/0.7688, allocations: 20 kB / 0.8616 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/0.7688, allocations: 28.62 kB / 0.8616 GB, free: 4.512 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.7702, allocations: 411.3 kB / 0.862 GB, free: 4.109 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.591e-05/0.7703, allocations: 43.86 kB / 0.862 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002451/0.7727, allocations: 248.3 kB / 0.8623 GB, free: 3.824 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/0.7729, allocations: 91.97 kB / 0.8624 GB, free: 3.734 MB / 0.6856 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.0004272/0.7734, allocations: 297.5 kB / 0.8627 GB, free: 3.438 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008519/0.7742, allocations: 341.8 kB / 0.863 GB, free: 3.102 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003653/0.7779, allocations: 1.756 MB / 0.8647 GB, free: 1.363 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.764e-05/0.7779, allocations: 16 kB / 0.8647 GB, free: 1.348 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.7779, allocations: 0 / 0.8647 GB, free: 1.348 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001974/0.7799, allocations: 1.098 MB / 0.8658 GB, free: 228 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3796/1.159, allocations: 3.974 MB / 0.8697 GB, free: 182.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/1.16, allocations: 5.969 kB / 0.8697 GB, free: 182.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009937/1.161, allocations: 225.6 kB / 0.8699 GB, free: 182.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.791e-05/1.161, allocations: 13.59 kB / 0.8699 GB, free: 182.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.882e-05/1.161, allocations: 41.59 kB / 0.8699 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.059e-05/1.161, allocations: 11.72 kB / 0.8699 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/1.161, allocations: 10.56 kB / 0.87 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004932/1.166, allocations: 2.339 MB / 0.8722 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00179/1.167, allocations: 0.5935 MB / 0.8728 GB, free: 181.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005254/1.168, allocations: 34.25 kB / 0.8729 GB, free: 181.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001576/1.17, allocations: 111.3 kB / 0.873 GB, free: 181.2 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003051/1.17, allocations: 104.8 kB / 0.8731 GB, free: 181.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/1.17, allocations: 59.28 kB / 0.8731 GB, free: 181.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.006062/1.176, allocations: 2.552 MB / 0.8756 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.41e-07/1.176, allocations: 0 / 0.8756 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.007828/1.184, allocations: 1.494 MB / 0.8771 GB, free: 180.1 MB / 0.6856 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.002801/1.187, allocations: 0.963 MB / 0.878 GB, free: 180 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006041/1.193, allocations: 2.278 MB / 0.8802 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.559e-05/1.193, allocations: 1.5 kB / 0.8802 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001947/1.195, allocations: 0.6804 MB / 0.8809 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008521/1.203, allocations: 1.425 MB / 0.8823 GB, free: 178.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/1.214, allocations: 5.736 MB / 0.8879 GB, free: 175.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001723/1.216, allocations: 2.007 MB / 0.8898 GB, free: 174.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.003443/1.219, allocations: 0.7206 MB / 0.8906 GB, free: 174.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007249/1.22, allocations: 237.5 kB / 0.8908 GB, free: 174.6 MB / 0.6856 GB Notification: Performance of SimCode: time 1.112e-06/1.22, allocations: 8.703 kB / 0.8908 GB, free: 174.5 MB / 0.6856 GB Notification: Performance of Templates: time 0.07836/1.298, allocations: 54.23 MB / 0.9437 GB, free: 130.8 MB / 0.6856 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe 2>&1)