Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.conf.json 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/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008895/0.0008896, allocations: 176.7 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4486/0.4486, allocations: 86.27 MB / 103.8 MB, free: 14.57 MB / 90.74 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 223.3 MB / 348.4 MB, free: 5.02 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008691/0.0008695, allocations: 93.05 kB / 420.2 MB, free: 9.68 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003806, allocations: 12 kB / 0.4901 GB, free: 8.031 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2954, allocations: 71.02 MB / 0.5595 GB, free: 43.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.78/1.075, allocations: 385.4 MB / 0.9358 GB, free: 232.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/1.076, allocations: 97.22 kB / 0.9359 GB, free: 232.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.533/2.609, allocations: 0.553 GB / 1.489 GB, free: 88.35 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.634e-06/2.609, allocations: 2.281 kB / 1.489 GB, free: 88.35 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002167/2.609, allocations: 48.52 kB / 1.489 GB, free: 88.34 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004854/2.614, allocations: 2.239 MB / 1.491 GB, free: 87.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/2.614, allocations: 7 kB / 1.491 GB, free: 87.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004529/2.619, allocations: 0.6889 MB / 1.492 GB, free: 87.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003384/2.622, allocations: 1.858 MB / 1.494 GB, free: 86.76 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/2.622, allocations: 143.7 kB / 1.494 GB, free: 86.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002752/2.622, allocations: 149.6 kB / 1.494 GB, free: 86.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003763/2.626, allocations: 1.813 MB / 1.496 GB, free: 86.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/2.626, allocations: 2.625 kB / 1.496 GB, free: 86.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/2.626, allocations: 59.44 kB / 1.496 GB, free: 86.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.692e-05/2.626, allocations: 38.72 kB / 1.496 GB, free: 86.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0043/2.631, allocations: 1.575 MB / 1.497 GB, free: 86.43 MB / 0.6042 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.009272/2.64, allocations: 7.37 MB / 1.504 GB, free: 83.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/2.642, allocations: 0.824 MB / 1.505 GB, free: 83.33 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/2.643, allocations: 0.5292 MB / 1.506 GB, free: 83.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009485/2.644, allocations: 1.276 MB / 1.507 GB, free: 81.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/2.644, allocations: 49.19 kB / 1.507 GB, free: 81.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=77): time 3.125e-06/2.644, allocations: 0 / 1.507 GB, free: 81.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=77): time 0.02258/2.667, allocations: 3.692 MB / 1.511 GB, free: 81.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/2.667, allocations: 195.6 kB / 1.511 GB, free: 81.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002213/2.669, allocations: 1.434 MB / 1.512 GB, free: 81.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001574/2.67, allocations: 54.39 kB / 1.512 GB, free: 81.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005327/2.67, allocations: 0.7556 MB / 1.513 GB, free: 80.92 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002202/2.67, allocations: 269.1 kB / 1.513 GB, free: 80.76 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.845e-05/2.67, allocations: 17.94 kB / 1.513 GB, free: 80.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.319e-05/2.67, allocations: 343 kB / 1.514 GB, free: 80.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00172/2.672, allocations: 0.5303 MB / 1.514 GB, free: 80.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/2.674, allocations: 0.8355 MB / 1.515 GB, free: 80.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003177/2.677, allocations: 1.178 MB / 1.516 GB, free: 79.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/2.677, allocations: 2.75 kB / 1.516 GB, free: 79.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.006082/2.683, allocations: 1.698 MB / 1.518 GB, free: 79.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/2.683, allocations: 281.5 kB / 1.518 GB, free: 79.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/2.684, allocations: 10.19 kB / 1.518 GB, free: 79.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001544/2.685, allocations: 489.8 kB / 1.519 GB, free: 79.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/2.686, allocations: 264.3 kB / 1.519 GB, free: 79.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/2.688, allocations: 0.9981 MB / 1.52 GB, free: 78.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/2.69, allocations: 305.2 kB / 1.52 GB, free: 78.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/2.69, allocations: 54.81 kB / 1.52 GB, free: 78.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.065e-06/2.69, allocations: 3.844 kB / 1.52 GB, free: 78.83 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005574/2.696, allocations: 1.538 MB / 1.522 GB, free: 78.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/2.696, allocations: 6.438 kB / 1.522 GB, free: 78.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/2.697, allocations: 493.8 kB / 1.522 GB, free: 78.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/2.699, allocations: 264.9 kB / 1.522 GB, free: 78.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/2.7, allocations: 0.9935 MB / 1.523 GB, free: 78.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002246/2.702, allocations: 259.9 kB / 1.524 GB, free: 78.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/2.702, allocations: 60.48 kB / 1.524 GB, free: 78.21 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum.temPro.hysHig.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0009376/2.703, allocations: 479.8 kB / 1.524 GB, free: 78.01 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003853/2.704, allocations: 160.3 kB / 1.524 GB, free: 77.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00554/2.709, allocations: 1.408 MB / 1.526 GB, free: 77.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/2.709, allocations: 11.56 kB / 1.526 GB, free: 77.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/2.709, allocations: 0 / 1.526 GB, free: 77.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00484/2.714, allocations: 1.264 MB / 1.527 GB, free: 77.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008972/2.723, allocations: 3.294 MB / 1.53 GB, free: 77.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/2.723, allocations: 7.125 kB / 1.53 GB, free: 77.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009774/2.724, allocations: 178.5 kB / 1.53 GB, free: 77.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001477/2.726, allocations: 487.6 kB / 1.531 GB, free: 77.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/2.726, allocations: 29.06 kB / 1.531 GB, free: 77.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001346/2.727, allocations: 0.9895 MB / 1.532 GB, free: 76.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/2.727, allocations: 4.469 kB / 1.532 GB, free: 76.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01258/2.74, allocations: 2.645 MB / 1.534 GB, free: 76.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/2.741, allocations: 422.6 kB / 1.535 GB, free: 75.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005055/2.742, allocations: 25.62 kB / 1.535 GB, free: 75.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/2.744, allocations: 172.6 kB / 1.535 GB, free: 75.92 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/2.744, allocations: 86.19 kB / 1.535 GB, free: 75.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001398/2.744, allocations: 46.03 kB / 1.535 GB, free: 75.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002151/2.746, allocations: 1.015 MB / 1.536 GB, free: 75.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.3e-07/2.746, allocations: 0 / 1.536 GB, free: 75.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003749/2.75, allocations: 0.9932 MB / 1.537 GB, free: 75.61 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 5 (heaPum.com.isOn,heaPum.temPro.hysHig.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 4 (heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,heaPum.temPro.hysdTConEva.y,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001731/2.752, allocations: 0.8674 MB / 1.538 GB, free: 75.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.006039/2.758, allocations: 1.924 MB / 1.54 GB, free: 74.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/2.758, allocations: 0 / 1.54 GB, free: 74.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001816/2.76, allocations: 0.6264 MB / 1.54 GB, free: 74.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00516/2.765, allocations: 0.8187 MB / 1.541 GB, free: 74.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006459/2.771, allocations: 3.441 MB / 1.544 GB, free: 72.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008289/2.772, allocations: 1.265 MB / 1.546 GB, free: 71.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002438/2.775, allocations: 387.9 kB / 1.546 GB, free: 71.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004235/2.775, allocations: 144.1 kB / 1.546 GB, free: 71.55 MB / 0.6042 GB Notification: Performance of SimCode: time 6.41e-07/2.775, allocations: 0 / 1.546 GB, free: 71.55 MB / 0.6042 GB Notification: Performance of Templates: time 0.05398/2.829, allocations: 42.37 MB / 1.588 GB, free: 45.65 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1)