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.0008255/0.0008255, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.0008608/0.0008609, allocations: 177.3 kB / 15.94 MB, free: 228 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.177/1.177, allocations: 223.2 MB / 239.9 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8029/0.8029, allocations: 135.2 MB / 426.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002981/0.0002982, allocations: 12 kB / 0.5068 GB, free: 5.082 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1515, allocations: 82.31 MB / 0.5872 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet): time 0.3047/0.4562, allocations: 78.74 MB / 0.6641 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0316/0.4879, allocations: 22.01 MB / 0.6856 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004072/0.492, allocations: 106.2 kB / 0.6857 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004768/0.4968, allocations: 1.442 MB / 0.6871 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01264/0.5094, allocations: 4.092 MB / 0.6911 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.009642/0.5191, allocations: 3.308 MB / 0.6943 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01043/0.5295, allocations: 4.822 MB / 0.699 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004256/0.5338, allocations: 2.149 MB / 0.7011 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005378/0.5392, allocations: 2.244 MB / 0.7033 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003475/0.5427, allocations: 1.513 MB / 0.7048 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007818/0.5435, allocations: 115.7 kB / 0.7049 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005647/0.5492, allocations: 1.683 MB / 0.7065 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001106/0.5503, allocations: 0.7896 MB / 0.7073 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001325/0.5516, allocations: 0.7278 MB / 0.708 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005577/0.5572, allocations: 4.313 MB / 0.7122 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.5572, allocations: 0 / 0.7122 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5572, allocations: 0 / 0.7122 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.354e-05/0.5573, allocations: 0 / 0.7122 GB, free: 7.277 MB / 0.5294 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.006647/0.564, allocations: 3.64 MB / 0.7158 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.564, allocations: 8.781 kB / 0.7158 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003262/0.5673, allocations: 0.8122 MB / 0.7166 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004932/0.5722, allocations: 2.765 MB / 0.7193 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006525/0.5729, allocations: 288.2 kB / 0.7196 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002326/0.5731, allocations: 194.6 kB / 0.7197 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003668/0.5768, allocations: 2.168 MB / 0.7219 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/0.5769, allocations: 3.984 kB / 0.7219 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001556/0.577, allocations: 78.84 kB / 0.7219 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/0.577, allocations: 44.06 kB / 0.722 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003755/0.5808, allocations: 1.824 MB / 0.7238 GB, free: 15.83 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.01365/0.5945, allocations: 10 MB / 0.7335 GB, free: 5.457 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002578/0.5971, allocations: 1.239 MB / 0.7347 GB, free: 4.215 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005606/0.6027, allocations: 4.239 MB / 0.7389 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.6027, allocations: 43.56 kB / 0.7389 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008558/0.6036, allocations: 130.3 kB / 0.7391 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=99): time 3.236e-06/0.6036, allocations: 0 / 0.7391 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=99): time 0.003956/0.6076, allocations: 1.734 MB / 0.7407 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/0.6077, allocations: 145.5 kB / 0.7409 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005062/0.6127, allocations: 3.896 MB / 0.7447 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001502/0.6129, allocations: 65.62 kB / 0.7448 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001231/0.6141, allocations: 1.557 MB / 0.7463 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000309/0.6145, allocations: 355 kB / 0.7466 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.147e-05/0.6145, allocations: 24 kB / 0.7466 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.6147, allocations: 365.9 kB / 0.747 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.6162, allocations: 0.6285 MB / 0.7476 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/0.6181, allocations: 1.164 MB / 0.7487 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.6197, allocations: 0.7363 MB / 0.7495 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.6197, allocations: 4 kB / 0.7495 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004305/0.624, allocations: 2.087 MB / 0.7515 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.001879/0.6259, allocations: 5.971 MB / 0.7573 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.6259, allocations: 12 kB / 0.7573 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.19e-05/0.626, allocations: 27.95 kB / 0.7574 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/0.6275, allocations: 431.3 kB / 0.7578 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.508e-05/0.6275, allocations: 27.92 kB / 0.7578 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002786/0.6303, allocations: 312.8 kB / 0.7581 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/0.6305, allocations: 87.95 kB / 0.7582 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.867e-06/0.6305, allocations: 4 kB / 0.7582 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003179/0.6337, allocations: 1.647 MB / 0.7598 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.6337, allocations: 16 kB / 0.7598 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.6337, allocations: 20 kB / 0.7598 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.6351, allocations: 400 kB / 0.7602 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-05/0.6351, allocations: 31.86 kB / 0.7602 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002507/0.6376, allocations: 252.9 kB / 0.7605 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.6378, allocations: 79.97 kB / 0.7606 GB, free: 8.617 MB / 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.001438/0.6392, allocations: 0.8218 MB / 0.7614 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004414/0.6397, allocations: 331.8 kB / 0.7617 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003758/0.6434, allocations: 2.004 MB / 0.7636 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.29e-05/0.6435, allocations: 15.98 kB / 0.7637 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.6435, allocations: 0 / 0.7637 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002492/0.646, allocations: 1.252 MB / 0.7649 GB, free: 4.152 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 postOpt removeSimpleEquations (simulation): time 0.007615/0.6536, allocations: 4.344 MB / 0.7691 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.6536, allocations: 4 kB / 0.7691 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.6547, allocations: 248.2 kB / 0.7694 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-05/0.6547, allocations: 8 kB / 0.7694 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.259e-05/0.6548, allocations: 39.97 kB / 0.7694 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.859e-06/0.6548, allocations: 11.98 kB / 0.7694 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.6548, allocations: 15.92 kB / 0.7694 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004713/0.6595, allocations: 2.954 MB / 0.7723 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/0.6612, allocations: 0.6564 MB / 0.773 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004182/0.6616, allocations: 27.98 kB / 0.773 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001829/0.6634, allocations: 203.8 kB / 0.7732 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.6636, allocations: 104.8 kB / 0.7733 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.6637, allocations: 59.94 kB / 0.7733 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004207/0.6679, allocations: 2.758 MB / 0.776 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.668, allocations: 0 / 0.776 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004747/0.6727, allocations: 1.47 MB / 0.7775 GB, free: 6.934 MB / 0.5919 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.002046/0.6748, allocations: 0.9504 MB / 0.7784 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005002/0.6798, allocations: 2.348 MB / 0.7807 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.6798, allocations: 0 / 0.7807 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001418/0.6812, allocations: 0.7054 MB / 0.7814 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006739/0.688, allocations: 1.528 MB / 0.7829 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009626/0.6976, allocations: 6.585 MB / 0.7893 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/0.6992, allocations: 2.064 MB / 0.7913 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.003082/0.7022, allocations: 0.7353 MB / 0.792 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006175/0.7029, allocations: 255.3 kB / 0.7923 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of SimCode: time 1.052e-06/0.7029, allocations: 0 / 0.7923 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of Templates: time 0.08915/0.792, allocations: 59.47 MB / 0.8503 GB, free: 12.95 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_WaterWaterTSet.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: