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.001066/0.001066, allocations: 90.28 kB / 15.36 MB, free: 0.7383 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.007698/0.007698, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.445/1.445, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7776/0.7776, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.000371, allocations: 8 kB / 0.504 GB, free: 3.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4307/0.4311, allocations: 81.58 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet): time 0.09938/0.5305, allocations: 92.2 MB / 0.6737 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.04212/0.5726, allocations: 25.17 MB / 0.6983 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005648/0.5783, allocations: 119.2 kB / 0.6984 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005262/0.5836, allocations: 1.457 MB / 0.6998 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01192/0.5956, allocations: 3.739 MB / 0.7035 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.008945/0.6045, allocations: 3.193 MB / 0.7066 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0142/0.6187, allocations: 10.69 MB / 0.717 GB, free: 7.555 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005044/0.6238, allocations: 2.372 MB / 0.7193 GB, free: 5.117 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007103/0.6309, allocations: 2.684 MB / 0.722 GB, free: 2.422 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004082/0.6351, allocations: 2.224 MB / 0.7241 GB, free: 192 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007992/0.6359, allocations: 116 kB / 0.7242 GB, free: 76 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005893/0.6418, allocations: 2.258 MB / 0.7264 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001835/0.6437, allocations: 0.8442 MB / 0.7273 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004545/0.6482, allocations: 1.73 MB / 0.729 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.009726/0.658, allocations: 5.681 MB / 0.7345 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.658, allocations: 4 kB / 0.7345 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.274e-06/0.658, allocations: 0 / 0.7345 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001824/0.6582, allocations: 0 / 0.7345 GB, free: 5.516 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.007939/0.6662, allocations: 3.608 MB / 0.738 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.6662, allocations: 12.02 kB / 0.738 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004082/0.6703, allocations: 0.8115 MB / 0.7388 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007885/0.6782, allocations: 2.99 MB / 0.7418 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008141/0.6791, allocations: 283.9 kB / 0.742 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005396/0.6796, allocations: 192 kB / 0.7422 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005906/0.6855, allocations: 2.179 MB / 0.7443 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.896e-05/0.6857, allocations: 3.938 kB / 0.7443 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003498/0.686, allocations: 80 kB / 0.7444 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-05/0.6861, allocations: 47.94 kB / 0.7445 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00504/0.6911, allocations: 1.786 MB / 0.7462 GB, free: 9.324 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.01841/0.7096, allocations: 9.802 MB / 0.7558 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002748/0.7123, allocations: 1.183 MB / 0.7569 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.7136, allocations: 0.557 MB / 0.7575 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007748/0.7214, allocations: 4.593 MB / 0.762 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.7215, allocations: 47.56 kB / 0.762 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001077/0.7226, allocations: 110.6 kB / 0.7621 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 4.268e-06/0.7226, allocations: 0 / 0.7621 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.003834/0.7264, allocations: 1.543 MB / 0.7636 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.997e-05/0.7265, allocations: 145.5 kB / 0.7638 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00687/0.7334, allocations: 3.678 MB / 0.7674 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002337/0.7337, allocations: 61.64 kB / 0.7674 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001665/0.7353, allocations: 1.621 MB / 0.769 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004692/0.7358, allocations: 343.2 kB / 0.7693 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/0.7361, allocations: 145.6 kB / 0.7695 GB, free: 464 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.7362, allocations: 301.1 kB / 0.7698 GB, free: 160 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/0.7378, allocations: 0.5817 MB / 0.7703 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/0.7398, allocations: 1.259 MB / 0.7715 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003124/0.7429, allocations: 1.727 MB / 0.7732 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.781e-05/0.743, allocations: 4 kB / 0.7732 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.005074/0.7481, allocations: 2.103 MB / 0.7753 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.000508/0.7486, allocations: 0.6501 MB / 0.7759 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.621e-05/0.7486, allocations: 24 kB / 0.776 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.03e-05/0.7487, allocations: 28 kB / 0.776 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.7503, allocations: 431.3 kB / 0.7764 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.514e-05/0.7504, allocations: 39.86 kB / 0.7764 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003176/0.7535, allocations: 308.7 kB / 0.7767 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002736/0.7538, allocations: 99.91 kB / 0.7768 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.7539, allocations: 2.031 kB / 0.7768 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004538/0.7584, allocations: 1.773 MB / 0.7786 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.157e-05/0.7585, allocations: 20 kB / 0.7786 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-05/0.7585, allocations: 28 kB / 0.7786 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.7601, allocations: 419.4 kB / 0.779 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.775e-05/0.7602, allocations: 43.8 kB / 0.779 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002909/0.7631, allocations: 260.8 kB / 0.7793 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002335/0.7634, allocations: 83.98 kB / 0.7794 GB, free: 5.461 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 (209): * Single equations (assignments): 207 * 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.001989/0.7654, allocations: 0.8284 MB / 0.7802 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009536/0.7663, allocations: 327.9 kB / 0.7805 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004319/0.7706, allocations: 1.806 MB / 0.7823 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.086e-05/0.7707, allocations: 19.94 kB / 0.7823 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.575e-05/0.7707, allocations: 4 kB / 0.7823 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002305/0.7731, allocations: 1.141 MB / 0.7834 GB, free: 1.32 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 postOpt removeSimpleEquations (simulation): time 0.01001/0.7831, allocations: 4.033 MB / 0.7873 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/0.7831, allocations: 8 kB / 0.7873 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.7842, allocations: 232 kB / 0.7876 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.674e-05/0.7842, allocations: 12 kB / 0.7876 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.49e-05/0.7843, allocations: 35.92 kB / 0.7876 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.739e-05/0.7843, allocations: 11.94 kB / 0.7876 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/0.7844, allocations: 8 kB / 0.7876 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004822/0.7892, allocations: 2.354 MB / 0.7899 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00171/0.7909, allocations: 0.598 MB / 0.7905 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008603/0.7918, allocations: 35.94 kB / 0.7905 GB, free: 9.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002194/0.794, allocations: 163.8 kB / 0.7907 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002232/0.7942, allocations: 116.7 kB / 0.7908 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/0.7944, allocations: 51.97 kB / 0.7909 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.006863/0.8013, allocations: 2.539 MB / 0.7933 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.196e-06/0.8013, allocations: 0 / 0.7933 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.006916/0.8082, allocations: 1.458 MB / 0.7948 GB, free: 5.445 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 (121): * Single equations (assignments): 109 * 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.002597/0.8108, allocations: 0.9309 MB / 0.7957 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005935/0.8168, allocations: 2.362 MB / 0.798 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.661e-05/0.8168, allocations: 4 kB / 0.798 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00154/0.8184, allocations: 0.6826 MB / 0.7986 GB, free: 1.645 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01197/0.8304, allocations: 1.41 MB / 0.8 GB, free: 272 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/0.8438, allocations: 6.874 MB / 0.8067 GB, free: 9.285 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003435/0.8474, allocations: 2.007 MB / 0.8087 GB, free: 7.25 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00461/0.852, allocations: 0.7338 MB / 0.8094 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001077/0.8531, allocations: 251.3 kB / 0.8097 GB, free: 6.293 MB / 0.6387 GB Notification: Performance of SimCode: time 1.152e-06/0.8531, allocations: 0 / 0.8097 GB, free: 6.293 MB / 0.6387 GB Notification: Performance of Templates: time 0.4597/1.313, allocations: 56.07 MB / 0.8644 GB, free: 177.7 MB / 0.6387 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)