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.005381/0.005381, allocations: 99.14 kB / 15.73 MB, free: 6.062 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.001205/0.001205, allocations: 191.8 kB / 16.67 MB, free: 5.969 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8064/0.8064, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 62.52 kB / 0.5856 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1633, allocations: 80.92 MB / 0.6646 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet): time 0.5049/0.6682, allocations: 94.56 MB / 0.757 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03767/0.706, allocations: 25.38 MB / 0.7818 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006705/0.7127, allocations: 135.8 kB / 0.7819 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006222/0.7189, allocations: 1.715 MB / 0.7836 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01544/0.7345, allocations: 4.01 MB / 0.7875 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01195/0.7465, allocations: 3.544 MB / 0.7909 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01511/0.7616, allocations: 8.176 MB / 0.7989 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005702/0.7673, allocations: 2.862 MB / 0.8017 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0109/0.7783, allocations: 3.226 MB / 0.8049 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005046/0.7833, allocations: 2.281 MB / 0.8071 GB, free: 452 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009951/0.7843, allocations: 310.7 kB / 0.8074 GB, free: 448 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007706/0.7921, allocations: 2.416 MB / 0.8097 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001673/0.7938, allocations: 1.049 MB / 0.8108 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003882/0.7977, allocations: 1.94 MB / 0.8127 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0136/0.8113, allocations: 6.005 MB / 0.8185 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.908e-06/0.8113, allocations: 3.938 kB / 0.8185 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.495e-06/0.8113, allocations: 0 / 0.8185 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001664/0.8115, allocations: 0 / 0.8185 GB, free: 9.527 MB / 0.5919 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.009796/0.8213, allocations: 4.396 MB / 0.8228 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/0.8214, allocations: 10.58 kB / 0.8228 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003961/0.8254, allocations: 0.7828 MB / 0.8236 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006972/0.8324, allocations: 3.011 MB / 0.8265 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/0.8325, allocations: 147.6 kB / 0.8267 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000282/0.8328, allocations: 200 kB / 0.8269 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004358/0.8372, allocations: 2.147 MB / 0.829 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.287e-05/0.8372, allocations: 4 kB / 0.829 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.8374, allocations: 79.92 kB / 0.829 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/0.8375, allocations: 44 kB / 0.8291 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00395/0.8414, allocations: 1.712 MB / 0.8308 GB, free: 15.4 MB / 0.6075 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.01615/0.8576, allocations: 9.869 MB / 0.8404 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/0.8599, allocations: 1.097 MB / 0.8415 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/0.861, allocations: 0.5393 MB / 0.842 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006936/0.868, allocations: 4.541 MB / 0.8464 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.868, allocations: 43.56 kB / 0.8465 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=93): time 2.906e-06/0.868, allocations: 0 / 0.8465 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=93): time 0.00344/0.8715, allocations: 1.498 MB / 0.8479 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.926e-05/0.8716, allocations: 141.5 kB / 0.8481 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005421/0.877, allocations: 3.706 MB / 0.8517 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001798/0.8772, allocations: 53.7 kB / 0.8517 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001528/0.8788, allocations: 1.655 MB / 0.8534 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003946/0.8792, allocations: 343.6 kB / 0.8537 GB, free: 7.039 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005133/0.8797, allocations: 358.1 kB / 0.854 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.8798, allocations: 305.1 kB / 0.8543 GB, free: 6.383 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.8811, allocations: 0.5513 MB / 0.8549 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/0.8831, allocations: 1.224 MB / 0.8561 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002744/0.8858, allocations: 1.665 MB / 0.8577 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.8858, allocations: 4 kB / 0.8577 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.00483/0.8907, allocations: 2.046 MB / 0.8597 GB, free: 336 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.8907, allocations: 19.94 kB / 0.8597 GB, free: 316 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/0.8907, allocations: 20 kB / 0.8597 GB, free: 296 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.961e-05/0.8908, allocations: 28 kB / 0.8597 GB, free: 268 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001518/0.8923, allocations: 407.7 kB / 0.8601 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.06e-05/0.8924, allocations: 39.86 kB / 0.8602 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003289/0.8957, allocations: 303.6 kB / 0.8605 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/0.8959, allocations: 91.98 kB / 0.8605 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003038/0.8989, allocations: 1.191 MB / 0.8617 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001804/0.9007, allocations: 1.209 MB / 0.8629 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003033/0.9038, allocations: 1.665 MB / 0.8645 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.176e-05/0.9038, allocations: 8 kB / 0.8645 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=209) (initialization_lambda0): time 0.005087/0.9089, allocations: 2.027 MB / 0.8665 GB, free: 8.766 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.909, allocations: 19.94 kB / 0.8665 GB, free: 8.746 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.464e-05/0.909, allocations: 16.62 kB / 0.8665 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.429e-05/0.909, allocations: 39.98 kB / 0.8666 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.9105, allocations: 407.3 kB / 0.867 GB, free: 8.293 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-05/0.9105, allocations: 39.86 kB / 0.867 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003061/0.9136, allocations: 252.3 kB / 0.8672 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002053/0.9138, allocations: 91.97 kB / 0.8673 GB, free: 7.914 MB / 0.6387 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.0005301/0.9143, allocations: 290.9 kB / 0.8676 GB, free: 7.625 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001198/0.9156, allocations: 345.7 kB / 0.8679 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004117/0.9197, allocations: 1.754 MB / 0.8697 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.978e-05/0.9197, allocations: 23.97 kB / 0.8697 GB, free: 5.492 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.9197, allocations: 0 / 0.8697 GB, free: 5.492 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002095/0.9218, allocations: 1.102 MB / 0.8707 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008807/0.9307, allocations: 3.966 MB / 0.8746 GB, free: 304 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/0.9307, allocations: 7.938 kB / 0.8746 GB, free: 296 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009819/0.9317, allocations: 224 kB / 0.8748 GB, free: 72 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-05/0.9317, allocations: 19.94 kB / 0.8749 GB, free: 52 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.214e-05/0.9318, allocations: 31.98 kB / 0.8749 GB, free: 20 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.39e-05/0.9319, allocations: 15.94 kB / 0.8749 GB, free: 4 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.262e-05/0.9319, allocations: 12.05 kB / 0.8749 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004697/0.9366, allocations: 2.333 MB / 0.8772 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001771/0.9384, allocations: 0.6037 MB / 0.8778 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00101/0.9394, allocations: 32 kB / 0.8778 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002106/0.9415, allocations: 99.91 kB / 0.8779 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/0.9418, allocations: 116.7 kB / 0.878 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/0.9419, allocations: 51.97 kB / 0.8781 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.005446/0.9474, allocations: 2.555 MB / 0.8806 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/0.9474, allocations: 0 / 0.8806 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.006337/0.9537, allocations: 1.493 MB / 0.882 GB, free: 8.613 MB / 0.6544 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.002838/0.9566, allocations: 0.963 MB / 0.883 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005766/0.9624, allocations: 2.285 MB / 0.8852 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.9624, allocations: 4.125 kB / 0.8852 GB, free: 5.555 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001586/0.964, allocations: 0.6784 MB / 0.8859 GB, free: 4.879 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009139/0.9731, allocations: 1.444 MB / 0.8873 GB, free: 3.465 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/0.9848, allocations: 5.719 MB / 0.8929 GB, free: 13.64 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0027/0.9875, allocations: 2.009 MB / 0.8948 GB, free: 11.61 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003595/0.9912, allocations: 0.729 MB / 0.8955 GB, free: 10.88 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008714/0.9921, allocations: 235.3 kB / 0.8958 GB, free: 10.64 MB / 0.67 GB Notification: Performance of SimCode: time 1.122e-06/0.9921, allocations: 0 / 0.8958 GB, free: 10.64 MB / 0.67 GB Notification: Performance of Templates: time 0.08934/1.081, allocations: 54.21 MB / 0.9487 GB, free: 5.043 MB / 0.7169 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)