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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002349/0.002349, allocations: 188.3 kB / 7.803 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4553/0.4553, allocations: 90.85 MB / 99.07 MB, free: 14.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.297/1.297, allocations: 221.4 MB / 342.8 MB, free: 5.098 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.001082/0.001082, allocations: 96.34 kB / 415.5 MB, free: 6.402 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 1.098e-05/1.101e-05, allocations: 4 kB / 493.9 MB, free: 8.051 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4118, allocations: 72.3 MB / 0.5529 GB, free: 73.31 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6298/1.042, allocations: 387 MB / 0.9308 GB, free: 3.648 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/1.042, allocations: 96.12 kB / 0.9309 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.821/2.863, allocations: 0.5632 GB / 1.494 GB, free: 82.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001541/2.863, allocations: 50.78 kB / 1.494 GB, free: 82.16 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.003489/2.866, allocations: 1.991 MB / 1.496 GB, free: 81.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/2.867, allocations: 7.75 kB / 1.496 GB, free: 81.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005004/2.872, allocations: 0.7341 MB / 1.497 GB, free: 81.18 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003012/2.875, allocations: 1.88 MB / 1.499 GB, free: 80.81 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.483e-05/2.875, allocations: 91.66 kB / 1.499 GB, free: 80.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/2.875, allocations: 80.81 kB / 1.499 GB, free: 80.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001898/2.877, allocations: 1.157 MB / 1.5 GB, free: 80.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/2.879, allocations: 1.451 MB / 1.501 GB, free: 80.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/2.879, allocations: 2.25 kB / 1.501 GB, free: 80.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/2.879, allocations: 3.5 kB / 1.501 GB, free: 80.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.165e-05/2.879, allocations: 64.31 kB / 1.501 GB, free: 80.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009339/2.888, allocations: 7.661 MB / 1.509 GB, free: 77.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009117/2.889, allocations: 0.6174 MB / 1.51 GB, free: 77.08 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005028/2.89, allocations: 379.7 kB / 1.51 GB, free: 77.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/2.891, allocations: 1.269 MB / 1.511 GB, free: 75.66 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/2.891, allocations: 45.88 kB / 1.511 GB, free: 75.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=77): time 2.194e-06/2.891, allocations: 1.125 kB / 1.511 GB, free: 75.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=77): time 0.003867/2.895, allocations: 1.006 MB / 1.512 GB, free: 75.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/2.895, allocations: 191.5 kB / 1.512 GB, free: 75.28 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/2.896, allocations: 1.036 MB / 1.513 GB, free: 75.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001017/2.896, allocations: 35.61 kB / 1.513 GB, free: 75.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003369/2.897, allocations: 0.5655 MB / 1.514 GB, free: 74.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/2.897, allocations: 251.4 kB / 1.514 GB, free: 74.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.483e-05/2.897, allocations: 0 / 1.514 GB, free: 74.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.531e-05/2.897, allocations: 343.2 kB / 1.515 GB, free: 74.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005267/2.897, allocations: 352.2 kB / 1.515 GB, free: 74.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006639/2.898, allocations: 0.6516 MB / 1.515 GB, free: 73.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/2.899, allocations: 459 kB / 1.516 GB, free: 73.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/2.899, allocations: 0 / 1.516 GB, free: 73.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004165/2.903, allocations: 1.27 MB / 1.517 GB, free: 73.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003922/2.904, allocations: 2.474 MB / 1.52 GB, free: 71.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/2.904, allocations: 9.5 kB / 1.52 GB, free: 71.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007832/2.905, allocations: 370.3 kB / 1.52 GB, free: 71.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/2.906, allocations: 278.9 kB / 1.52 GB, free: 71.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/2.907, allocations: 0.9625 MB / 1.521 GB, free: 70.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002679/2.91, allocations: 260 kB / 1.521 GB, free: 70.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/2.91, allocations: 60.8 kB / 1.521 GB, free: 70.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/2.91, allocations: 3.906 kB / 1.521 GB, free: 70.7 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004081/2.914, allocations: 1.11 MB / 1.523 GB, free: 70.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/2.914, allocations: 3.531 kB / 1.523 GB, free: 70.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007046/2.915, allocations: 361.2 kB / 1.523 GB, free: 70.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/2.917, allocations: 280.3 kB / 1.523 GB, free: 70.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/2.918, allocations: 0.9646 MB / 1.524 GB, free: 70.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/2.92, allocations: 223.5 kB / 1.524 GB, free: 70.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/2.92, allocations: 51.42 kB / 1.524 GB, free: 70.1 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.0002904/2.921, allocations: 141.2 kB / 1.525 GB, free: 69.99 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002396/2.921, allocations: 140.8 kB / 1.525 GB, free: 69.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003977/2.925, allocations: 1.099 MB / 1.526 GB, free: 69.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/2.925, allocations: 13.75 kB / 1.526 GB, free: 69.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/2.925, allocations: 0 / 1.526 GB, free: 69.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003292/2.928, allocations: 0.9565 MB / 1.527 GB, free: 69.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006798/2.935, allocations: 2.816 MB / 1.529 GB, free: 69.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/2.935, allocations: 6.328 kB / 1.529 GB, free: 69.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/2.936, allocations: 177.9 kB / 1.53 GB, free: 69.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007148/2.937, allocations: 356.3 kB / 1.53 GB, free: 69.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.836e-05/2.937, allocations: 22.8 kB / 1.53 GB, free: 69.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/2.938, allocations: 0.9586 MB / 1.531 GB, free: 68.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/2.938, allocations: 3.219 kB / 1.531 GB, free: 68.66 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01092/2.949, allocations: 2.393 MB / 1.533 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007801/2.95, allocations: 390.9 kB / 1.534 GB, free: 67.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002719/2.95, allocations: 21.14 kB / 1.534 GB, free: 67.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001827/2.952, allocations: 157.9 kB / 1.534 GB, free: 67.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/2.952, allocations: 76.3 kB / 1.534 GB, free: 67.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/2.952, allocations: 49.59 kB / 1.534 GB, free: 67.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.001064/2.953, allocations: 0.7787 MB / 1.535 GB, free: 67.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0029/2.956, allocations: 1.031 MB / 1.536 GB, free: 67.6 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.001544/2.958, allocations: 0.9176 MB / 1.537 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002351/2.96, allocations: 1.441 MB / 1.538 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/2.96, allocations: 0 / 1.538 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007829/2.961, allocations: 484.7 kB / 1.538 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002857/2.964, allocations: 0.57 MB / 1.539 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005332/2.969, allocations: 2.155 MB / 1.541 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001439/2.97, allocations: 1.464 MB / 1.543 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of SimCode: time 9.32e-07/2.97, allocations: 0 / 1.543 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of Templates: time 0.05895/3.029, allocations: 42.32 MB / 1.584 GB, free: 61.75 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)