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.001082/0.001082, allocations: 115.6 kB / 16.37 MB, free: 5.539 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.001061/0.001061, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.283/1.283, 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-master/package.mo): time 0.7792/0.7792, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.89 kB / 0.5067 GB, free: 7.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3348, allocations: 80.91 MB / 0.5858 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet): time 0.07668/0.4115, allocations: 94.57 MB / 0.6781 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03586/0.4474, allocations: 25.39 MB / 0.7029 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006284/0.4538, allocations: 131.3 kB / 0.703 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00668/0.4605, allocations: 1.727 MB / 0.7047 GB, free: 456 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01777/0.4784, allocations: 4 MB / 0.7086 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01483/0.4932, allocations: 3.55 MB / 0.7121 GB, free: 8.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01689/0.5101, allocations: 8.162 MB / 0.7201 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005427/0.5156, allocations: 2.865 MB / 0.7229 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009197/0.5248, allocations: 3.224 MB / 0.726 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005008/0.5299, allocations: 2.294 MB / 0.7282 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0009976/0.5309, allocations: 304 kB / 0.7285 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006485/0.5374, allocations: 2.414 MB / 0.7309 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00145/0.5389, allocations: 1.043 MB / 0.7319 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003062/0.542, allocations: 1.935 MB / 0.7338 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01041/0.5524, allocations: 5.974 MB / 0.7396 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.5524, allocations: 0 / 0.7396 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.465e-06/0.5524, allocations: 0 / 0.7396 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.129e-05/0.5525, allocations: 0 / 0.7396 GB, free: 12.57 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.00819/0.5607, allocations: 4.258 MB / 0.7438 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.357e-05/0.5608, allocations: 13.11 kB / 0.7438 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003453/0.5643, allocations: 0.7607 MB / 0.7445 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00605/0.5703, allocations: 2.982 MB / 0.7475 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.5705, allocations: 151.6 kB / 0.7476 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002758/0.5708, allocations: 203.9 kB / 0.7478 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003802/0.5746, allocations: 2.149 MB / 0.7499 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.756e-05/0.5746, allocations: 3.938 kB / 0.7499 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001567/0.5748, allocations: 79.94 kB / 0.75 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/0.5748, allocations: 47.94 kB / 0.75 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3454/0.9202, allocations: 1.713 MB / 0.7517 GB, free: 154.7 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.01689/0.9371, allocations: 9.813 MB / 0.7613 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00267/0.9398, allocations: 1.095 MB / 0.7623 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001247/0.9411, allocations: 0.5425 MB / 0.7629 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007266/0.9484, allocations: 4.533 MB / 0.7673 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.9484, allocations: 50.12 kB / 0.7674 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=93): time 4.157e-06/0.9484, allocations: 0.5938 kB / 0.7674 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93): time 0.003703/0.9522, allocations: 1.476 MB / 0.7688 GB, free: 143 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.9522, allocations: 144.9 kB / 0.7689 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005265/0.9575, allocations: 3.704 MB / 0.7725 GB, free: 141 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003122/0.9579, allocations: 53.52 kB / 0.7726 GB, free: 141 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.9589, allocations: 1.633 MB / 0.7742 GB, free: 139.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003322/0.9593, allocations: 330.8 kB / 0.7745 GB, free: 139.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004311/0.9597, allocations: 359.9 kB / 0.7749 GB, free: 139.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.881e-05/0.9598, allocations: 301.1 kB / 0.7751 GB, free: 138.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.9609, allocations: 0.5638 MB / 0.7757 GB, free: 138.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/0.9624, allocations: 1.22 MB / 0.7769 GB, free: 137.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/0.9645, allocations: 1.666 MB / 0.7785 GB, free: 136.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.9646, allocations: 7.906 kB / 0.7785 GB, free: 136.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.003903/0.9685, allocations: 2.013 MB / 0.7805 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.9685, allocations: 18.12 kB / 0.7805 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.9685, allocations: 20.75 kB / 0.7805 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.587e-05/0.9686, allocations: 30.31 kB / 0.7805 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.9699, allocations: 408 kB / 0.7809 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.917e-05/0.9699, allocations: 40.7 kB / 0.781 GB, free: 135 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002439/0.9724, allocations: 299.3 kB / 0.7813 GB, free: 134.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.9725, allocations: 91.19 kB / 0.7813 GB, free: 134.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002173/0.9747, allocations: 1.183 MB / 0.7825 GB, free: 134.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00137/0.9761, allocations: 1.223 MB / 0.7837 GB, free: 132.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002055/0.9782, allocations: 1.656 MB / 0.7853 GB, free: 130.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.045e-06/0.9782, allocations: 5.75 kB / 0.7853 GB, free: 130.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=209) (initialization_lambda0): time 0.003876/0.9821, allocations: 2.017 MB / 0.7873 GB, free: 128.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.9821, allocations: 17.72 kB / 0.7873 GB, free: 128.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.9821, allocations: 20.69 kB / 0.7873 GB, free: 128.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.9821, allocations: 28 kB / 0.7874 GB, free: 128.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.9834, allocations: 407.8 kB / 0.7877 GB, free: 128.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-05/0.9834, allocations: 43.84 kB / 0.7878 GB, free: 128.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/0.9858, allocations: 250.5 kB / 0.788 GB, free: 128.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.986, allocations: 95.88 kB / 0.7881 GB, free: 128.1 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.0003931/0.9864, allocations: 294.6 kB / 0.7884 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006003/0.987, allocations: 327.8 kB / 0.7887 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002963/0.9899, allocations: 1.756 MB / 0.7904 GB, free: 125.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.99, allocations: 12 kB / 0.7904 GB, free: 125.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.99, allocations: 4 kB / 0.7904 GB, free: 125.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001635/0.9916, allocations: 1.101 MB / 0.7915 GB, free: 124.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006234/0.9979, allocations: 3.975 MB / 0.7954 GB, free: 120.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.9979, allocations: 4 kB / 0.7954 GB, free: 120.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008481/0.9988, allocations: 226.9 kB / 0.7956 GB, free: 120.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.214e-05/0.9988, allocations: 15.94 kB / 0.7956 GB, free: 120.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.607e-05/0.9989, allocations: 39.97 kB / 0.7957 GB, free: 120.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/0.9989, allocations: 11.94 kB / 0.7957 GB, free: 120.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.9989, allocations: 12 kB / 0.7957 GB, free: 120.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003485/1.002, allocations: 2.315 MB / 0.798 GB, free: 117.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001935/1.004, allocations: 0.5785 MB / 0.7985 GB, free: 117.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009306/1.005, allocations: 39.81 kB / 0.7986 GB, free: 117.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/1.007, allocations: 103.9 kB / 0.7987 GB, free: 117.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/1.007, allocations: 112.7 kB / 0.7988 GB, free: 117 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/1.007, allocations: 51.97 kB / 0.7988 GB, free: 117 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003259/1.011, allocations: 2.551 MB / 0.8013 GB, free: 114.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/1.011, allocations: 0 / 0.8013 GB, free: 114.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003796/1.014, allocations: 1.48 MB / 0.8027 GB, free: 113 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.001905/1.016, allocations: 0.9538 MB / 0.8037 GB, free: 112.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004091/1.021, allocations: 2.287 MB / 0.8059 GB, free: 110 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/1.021, allocations: 3.906 kB / 0.8059 GB, free: 110 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001097/1.022, allocations: 0.6789 MB / 0.8066 GB, free: 109.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005441/1.027, allocations: 1.443 MB / 0.808 GB, free: 108 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006853/1.034, allocations: 5.612 MB / 0.8135 GB, free: 102.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/1.035, allocations: 2.009 MB / 0.8154 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00251/1.038, allocations: 0.7265 MB / 0.8161 GB, free: 99.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004908/1.038, allocations: 235.4 kB / 0.8164 GB, free: 99.25 MB / 0.5762 GB Notification: Performance of SimCode: time 1.262e-06/1.038, allocations: 0 / 0.8164 GB, free: 99.25 MB / 0.5762 GB Notification: Performance of Templates: time 0.07043/1.109, allocations: 53.74 MB / 0.8688 GB, free: 46.14 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.pipe 2>&1)