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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.00104/0.001041, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4964/0.4964, allocations: 90.81 MB / 104.5 MB, free: 13.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 221.3 MB / 348.3 MB, free: 12.59 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.0008599/0.0008599, allocations: 91.94 kB / 421.2 MB, free: 5.746 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.095e-05/3.097e-05, allocations: 4 kB / 0.4896 GB, free: 46.66 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1761, allocations: 72.32 MB / 0.5602 GB, free: 6.43 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.206/1.382, allocations: 387.7 MB / 0.9389 GB, free: 86 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/1.382, allocations: 89.27 kB / 0.939 GB, free: 85.96 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.795/3.177, allocations: 0.563 GB / 1.502 GB, free: 4.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.062e-06/3.177, allocations: 0 / 1.502 GB, free: 4.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000153/3.177, allocations: 43.98 kB / 1.502 GB, free: 4.637 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.003941/3.181, allocations: 1.982 MB / 1.504 GB, free: 2.594 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/3.181, allocations: 15.98 kB / 1.504 GB, free: 2.578 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004438/3.186, allocations: 0.6845 MB / 1.505 GB, free: 1.891 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3683/3.554, allocations: 1.855 MB / 1.506 GB, free: 68.53 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003807/3.554, allocations: 141.3 kB / 1.507 GB, free: 68.49 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007005/3.555, allocations: 140 kB / 1.507 GB, free: 68.49 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003684/3.559, allocations: 1.643 MB / 1.508 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.728e-05/3.559, allocations: 5.469 kB / 1.508 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/3.559, allocations: 58.98 kB / 1.508 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/3.559, allocations: 55.14 kB / 1.508 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002689/3.562, allocations: 1.236 MB / 1.51 GB, free: 68.2 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.01102/3.573, allocations: 7.382 MB / 1.517 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/3.574, allocations: 0.6929 MB / 1.518 GB, free: 65.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005878/3.575, allocations: 400.9 kB / 1.518 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/3.576, allocations: 1.27 MB / 1.519 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/3.576, allocations: 53.7 kB / 1.519 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=77): time 2.775e-06/3.576, allocations: 2.938 kB / 1.519 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=77): time 0.003426/3.579, allocations: 1.016 MB / 1.52 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/3.579, allocations: 193.3 kB / 1.52 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/3.581, allocations: 1.288 MB / 1.522 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001463/3.581, allocations: 52.61 kB / 1.522 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005456/3.582, allocations: 0.7701 MB / 1.522 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/3.582, allocations: 260.7 kB / 1.523 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.361e-05/3.582, allocations: 20.06 kB / 1.523 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.868e-05/3.582, allocations: 342.9 kB / 1.523 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000558/3.583, allocations: 369.5 kB / 1.523 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007501/3.583, allocations: 0.6721 MB / 1.524 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006799/3.584, allocations: 418.2 kB / 1.524 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/3.584, allocations: 2.281 kB / 1.524 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003636/3.588, allocations: 1.331 MB / 1.526 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004188/3.588, allocations: 2.508 MB / 1.528 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/3.588, allocations: 8.875 kB / 1.528 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/3.59, allocations: 421 kB / 1.529 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/3.591, allocations: 269.8 kB / 1.529 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009188/3.592, allocations: 0.9062 MB / 1.53 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002647/3.595, allocations: 309.2 kB / 1.53 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/3.595, allocations: 58.3 kB / 1.53 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/3.595, allocations: 4.062 kB / 1.53 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003183/3.598, allocations: 1.161 MB / 1.531 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/3.598, allocations: 11.38 kB / 1.531 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/3.599, allocations: 418.8 kB / 1.532 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/3.6, allocations: 272.2 kB / 1.532 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008377/3.601, allocations: 0.9 MB / 1.533 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/3.604, allocations: 263.7 kB / 1.533 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/3.604, allocations: 59.5 kB / 1.533 GB, free: 58.29 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 () * 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.0003818/3.604, allocations: 173.8 kB / 1.533 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003465/3.605, allocations: 159.7 kB / 1.533 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003569/3.608, allocations: 1.108 MB / 1.534 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/3.608, allocations: 8.859 kB / 1.534 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/3.608, allocations: 6.406 kB / 1.534 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002814/3.611, allocations: 0.9585 MB / 1.535 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007972/3.619, allocations: 3.007 MB / 1.538 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/3.619, allocations: 3.875 kB / 1.538 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/3.62, allocations: 174.3 kB / 1.539 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001259/3.621, allocations: 406.6 kB / 1.539 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.443e-05/3.621, allocations: 34.03 kB / 1.539 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008786/3.622, allocations: 0.8976 MB / 1.54 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/3.622, allocations: 7.359 kB / 1.54 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/3.633, allocations: 2.43 MB / 1.542 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/3.634, allocations: 422.7 kB / 1.543 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002618/3.635, allocations: 29.06 kB / 1.543 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/3.636, allocations: 168.6 kB / 1.543 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/3.637, allocations: 86.72 kB / 1.543 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.576e-05/3.637, allocations: 54.08 kB / 1.543 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001451/3.638, allocations: 1.012 MB / 1.544 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/3.638, allocations: 6.375 kB / 1.544 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003035/3.641, allocations: 1.033 MB / 1.545 GB, free: 55.75 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) * 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.001708/3.643, allocations: 0.9023 MB / 1.546 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002816/3.646, allocations: 1.518 MB / 1.547 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/3.646, allocations: 3.906 kB / 1.547 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007621/3.647, allocations: 496.4 kB / 1.548 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003309/3.65, allocations: 0.7896 MB / 1.549 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004049/3.654, allocations: 2.139 MB / 1.551 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000603/3.655, allocations: 1.305 MB / 1.552 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002174/3.657, allocations: 486.9 kB / 1.552 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/3.657, allocations: 112.1 kB / 1.552 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of SimCode: time 4.81e-07/3.657, allocations: 3.172 kB / 1.552 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of Templates: time 0.05836/3.715, allocations: 44.74 MB / 1.596 GB, free: 52.13 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)