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.001105/0.001105, allocations: 87.3 kB / 15.06 MB, free: 1.082 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.001415/0.001414, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 223.3 MB / 240 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.014/1.014, allocations: 135.3 MB / 426.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003132, allocations: 13.22 kB / 0.507 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1812, allocations: 82.31 MB / 0.5874 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet): time 0.475/0.6563, allocations: 86.99 MB / 0.6723 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.04268/0.699, allocations: 23.74 MB / 0.6955 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007441/0.7065, allocations: 110.4 kB / 0.6956 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.006197/0.7128, allocations: 1.194 MB / 0.6968 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01363/0.7264, allocations: 3.278 MB / 0.7 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01041/0.7369, allocations: 2.643 MB / 0.7026 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01655/0.7534, allocations: 9.144 MB / 0.7115 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005405/0.7589, allocations: 2.114 MB / 0.7135 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008521/0.7674, allocations: 2.598 MB / 0.7161 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006144/0.7736, allocations: 2.138 MB / 0.7182 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001026/0.7747, allocations: 118 kB / 0.7183 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007499/0.7822, allocations: 1.713 MB / 0.72 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001739/0.7839, allocations: 0.8358 MB / 0.7208 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002535/0.7865, allocations: 0.7243 MB / 0.7215 GB, free: 388 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008788/0.7953, allocations: 4.389 MB / 0.7258 GB, free: 13.41 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.7953, allocations: 3.438 kB / 0.7258 GB, free: 13.41 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7953, allocations: 0 / 0.7258 GB, free: 13.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002493/0.7956, allocations: 0 / 0.7258 GB, free: 13.41 MB / 0.545 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.009574/0.8052, allocations: 3.642 MB / 0.7293 GB, free: 10.81 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.8053, allocations: 14.19 kB / 0.7293 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004265/0.8095, allocations: 0.8157 MB / 0.7301 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008535/0.8181, allocations: 2.838 MB / 0.7329 GB, free: 7.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007124/0.8188, allocations: 280 kB / 0.7332 GB, free: 7.066 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006547/0.8195, allocations: 200 kB / 0.7334 GB, free: 6.871 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006258/0.8258, allocations: 2.202 MB / 0.7355 GB, free: 4.594 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.278e-05/0.8259, allocations: 11.92 kB / 0.7355 GB, free: 4.582 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003262/0.8262, allocations: 80 kB / 0.7356 GB, free: 4.504 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.336e-05/0.8263, allocations: 44 kB / 0.7356 GB, free: 4.461 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004788/0.8311, allocations: 1.848 MB / 0.7374 GB, free: 2.609 MB / 0.545 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.01641/0.8475, allocations: 9.961 MB / 0.7472 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/0.8504, allocations: 1.257 MB / 0.7484 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.8518, allocations: 0.6057 MB / 0.749 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006962/0.8587, allocations: 4.235 MB / 0.7531 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.8588, allocations: 43.56 kB / 0.7532 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001132/0.86, allocations: 126.5 kB / 0.7533 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=99): time 4.027e-06/0.86, allocations: 0 / 0.7533 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=99): time 0.0046/0.8646, allocations: 1.769 MB / 0.755 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.127e-05/0.8647, allocations: 141.5 kB / 0.7552 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006108/0.8708, allocations: 3.825 MB / 0.7589 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003154/0.8712, allocations: 57.69 kB / 0.7589 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001489/0.8727, allocations: 1.545 MB / 0.7605 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004784/0.8732, allocations: 351.1 kB / 0.7608 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.414e-05/0.8733, allocations: 28 kB / 0.7608 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.8734, allocations: 361.9 kB / 0.7612 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001689/0.8751, allocations: 0.6441 MB / 0.7618 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002004/0.8771, allocations: 1.179 MB / 0.7629 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001748/0.8789, allocations: 0.7441 MB / 0.7637 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/0.8789, allocations: 4 kB / 0.7637 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005089/0.884, allocations: 2.106 MB / 0.7657 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000354/0.8844, allocations: 0.5018 MB / 0.7662 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.8844, allocations: 12 kB / 0.7662 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.016e-05/0.8845, allocations: 24 kB / 0.7663 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.8861, allocations: 419.3 kB / 0.7667 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.964e-05/0.8861, allocations: 32.41 kB / 0.7667 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003441/0.8896, allocations: 315.8 kB / 0.767 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/0.8898, allocations: 79.97 kB / 0.7671 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.8898, allocations: 4 kB / 0.7671 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003452/0.8933, allocations: 1.663 MB / 0.7687 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/0.8933, allocations: 17.25 kB / 0.7687 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/0.8933, allocations: 27.98 kB / 0.7687 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/0.8947, allocations: 388 kB / 0.7691 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.013e-05/0.8947, allocations: 35.86 kB / 0.7691 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002797/0.8975, allocations: 248.9 kB / 0.7694 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/0.8977, allocations: 75.98 kB / 0.7694 GB, free: 364 kB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.heatPump.hysteresis.y,heatPump.hysteresis.y,$PRE.heatPump.hysteresis1.y,heatPump.hysteresis1.y,heatPump.on_security.y,$PRE.heatPump.hysteresisTSetLimit.y,heatPump.hysteresisTSetLimit.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 185 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001802/0.8995, allocations: 0.8168 MB / 0.7702 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007688/0.9003, allocations: 339.6 kB / 0.7706 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004226/0.9045, allocations: 2.011 MB / 0.7725 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.259e-05/0.9046, allocations: 19.92 kB / 0.7726 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.9046, allocations: 0 / 0.7726 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002623/0.9072, allocations: 1.279 MB / 0.7738 GB, free: 11.84 MB / 0.5919 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.009637/0.9169, allocations: 4.233 MB / 0.7779 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.9169, allocations: 8.031 kB / 0.7779 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.918, allocations: 247.6 kB / 0.7782 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.549e-05/0.9181, allocations: 8 kB / 0.7782 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.862e-05/0.9181, allocations: 35.97 kB / 0.7782 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.285e-05/0.9182, allocations: 11.94 kB / 0.7782 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.9182, allocations: 4 kB / 0.7782 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005096/0.9233, allocations: 2.484 MB / 0.7807 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001819/0.9251, allocations: 0.637 MB / 0.7813 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004639/0.9256, allocations: 32 kB / 0.7813 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/0.9273, allocations: 195.8 kB / 0.7815 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.9275, allocations: 112.8 kB / 0.7816 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.9277, allocations: 51.95 kB / 0.7817 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00434/0.932, allocations: 2.688 MB / 0.7843 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.932, allocations: 0 / 0.7843 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00447/0.9365, allocations: 1.451 MB / 0.7857 GB, free: 15.43 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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.hysteresis1.y,heatPump.hysteresis.y,heatPump.hysteresisTSetLimit.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00227/0.9388, allocations: 0.896 MB / 0.7866 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005173/0.944, allocations: 2.391 MB / 0.7889 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.944, allocations: 0 / 0.7889 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001468/0.9455, allocations: 0.7134 MB / 0.7896 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007405/0.9529, allocations: 1.546 MB / 0.7911 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.963, allocations: 6.604 MB / 0.7976 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001564/0.9646, allocations: 2.006 MB / 0.7995 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.003539/0.9681, allocations: 0.7121 MB / 0.8002 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006642/0.9688, allocations: 255.3 kB / 0.8005 GB, free: 364 kB / 0.6075 GB Notification: Performance of SimCode: time 7.81e-07/0.9688, allocations: 0 / 0.8005 GB, free: 364 kB / 0.6075 GB Notification: Performance of Templates: time 0.1067/1.076, allocations: 58.22 MB / 0.8573 GB, free: 6.762 MB / 0.67 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)