Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X.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.Humidifiers.Validation.SprayAirWasher_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X") translateModel(IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X") [: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.001373/0.001373, allocations: 188.5 kB / 7.802 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4599/0.4599, allocations: 90.84 MB / 99.06 MB, free: 14.96 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.24/1.24, allocations: 221.4 MB / 342.8 MB, free: 5.133 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.0009403/0.0009403, allocations: 93.89 kB / 415.5 MB, free: 6.387 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.615e-06/7.635e-06, allocations: 4 kB / 493.9 MB, free: 8.023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3449, allocations: 72.29 MB / 0.5529 GB, free: 73.27 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.332/3.677, allocations: 1.839 GB / 2.392 GB, free: 235.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/3.677, allocations: 89.59 kB / 2.392 GB, free: 235.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.804/5.481, allocations: 0.6044 GB / 2.997 GB, free: 81.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.426e-05/5.481, allocations: 19.52 kB / 2.997 GB, free: 81.12 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.002722/5.484, allocations: 1.041 MB / 2.998 GB, free: 80.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/5.484, allocations: 12.03 kB / 2.998 GB, free: 80.05 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/5.485, allocations: 227.8 kB / 2.998 GB, free: 79.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/5.487, allocations: 0.8853 MB / 2.999 GB, free: 78.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/5.487, allocations: 14.19 kB / 2.999 GB, free: 78.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.326e-05/5.487, allocations: 24 kB / 2.999 GB, free: 78.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005411/5.488, allocations: 341.5 kB / 2.999 GB, free: 78.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005961/5.488, allocations: 448.4 kB / 3 GB, free: 78.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/5.488, allocations: 0 / 3 GB, free: 78.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/5.488, allocations: 7.906 kB / 3 GB, free: 78.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.506e-05/5.488, allocations: 20.7 kB / 3 GB, free: 78.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002495/5.491, allocations: 2.234 MB / 3.002 GB, free: 75.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/5.491, allocations: 222.7 kB / 3.002 GB, free: 75.47 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/5.491, allocations: 124.8 kB / 3.002 GB, free: 75.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008891/5.492, allocations: 0.8255 MB / 3.003 GB, free: 74.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/5.493, allocations: 181.9 kB / 3.003 GB, free: 74.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.844e-06/5.493, allocations: 0 / 3.003 GB, free: 74.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.00101/5.494, allocations: 407.2 kB / 3.004 GB, free: 73.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/5.494, allocations: 102.8 kB / 3.004 GB, free: 73.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004612/5.494, allocations: 454.2 kB / 3.004 GB, free: 73.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/5.494, allocations: 29.7 kB / 3.004 GB, free: 73.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/5.494, allocations: 255.6 kB / 3.004 GB, free: 72.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.397e-05/5.494, allocations: 82.88 kB / 3.005 GB, free: 72.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.667e-05/5.494, allocations: 0 / 3.005 GB, free: 72.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/5.494, allocations: 366.8 kB / 3.005 GB, free: 72.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/5.495, allocations: 96.72 kB / 3.005 GB, free: 72.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/5.495, allocations: 281.6 kB / 3.005 GB, free: 71.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004382/5.495, allocations: 231.4 kB / 3.005 GB, free: 71.76 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/5.495, allocations: 0 / 3.005 GB, free: 71.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00075/5.496, allocations: 471.1 kB / 3.006 GB, free: 71.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003314/5.496, allocations: 1.829 MB / 3.008 GB, free: 69.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/5.496, allocations: 4 kB / 3.008 GB, free: 69.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/5.496, allocations: 12 kB / 3.008 GB, free: 69.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/5.497, allocations: 83.83 kB / 3.008 GB, free: 69.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/5.497, allocations: 8.984 kB / 3.008 GB, free: 69.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000381/5.497, allocations: 51.52 kB / 3.008 GB, free: 69.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.555e-05/5.497, allocations: 23.98 kB / 3.008 GB, free: 69.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.321e-06/5.497, allocations: 4 kB / 3.008 GB, free: 69.14 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007033/5.498, allocations: 383.3 kB / 3.008 GB, free: 68.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/5.498, allocations: 4.562 kB / 3.008 GB, free: 68.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.013e-06/5.498, allocations: 8 kB / 3.008 GB, free: 68.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/5.498, allocations: 79.91 kB / 3.008 GB, free: 68.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/5.498, allocations: 15.92 kB / 3.008 GB, free: 68.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/5.499, allocations: 38.72 kB / 3.008 GB, free: 68.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/5.499, allocations: 23.94 kB / 3.008 GB, free: 68.6 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001023/5.499, allocations: 115.3 kB / 3.008 GB, free: 68.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.706e-05/5.499, allocations: 59.25 kB / 3.009 GB, free: 68.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006924/5.5, allocations: 369 kB / 3.009 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/5.5, allocations: 4 kB / 3.009 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/5.5, allocations: 4 kB / 3.009 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/5.5, allocations: 3.984 kB / 3.009 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/5.501, allocations: 1.148 MB / 3.01 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/5.501, allocations: 0 / 3.01 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/5.501, allocations: 47.91 kB / 3.01 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/5.501, allocations: 4 kB / 3.01 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/5.501, allocations: 7.984 kB / 3.01 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/5.501, allocations: 16.22 kB / 3.01 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/5.501, allocations: 7.938 kB / 3.01 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006893/5.502, allocations: 0.628 MB / 3.011 GB, free: 66.03 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/5.502, allocations: 160.3 kB / 3.011 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.073e-05/5.502, allocations: 4 kB / 3.011 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/5.503, allocations: 11.94 kB / 3.011 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/5.503, allocations: 23.88 kB / 3.011 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/5.503, allocations: 12 kB / 3.011 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003083/5.503, allocations: 350.9 kB / 3.011 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001086/5.504, allocations: 383.2 kB / 3.012 GB, free: 65.09 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002301/5.506, allocations: 1.764 MB / 3.013 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006034/5.507, allocations: 462.6 kB / 3.014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/5.507, allocations: 0 / 3.014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/5.507, allocations: 129.9 kB / 3.014 GB, free: 63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009142/5.508, allocations: 186.8 kB / 3.014 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003584/5.512, allocations: 1.517 MB / 3.016 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004486/5.512, allocations: 0.9625 MB / 3.017 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of SimCode: time 2.81e-07/5.512, allocations: 0 / 3.017 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.0249/5.537, allocations: 18.29 MB / 3.034 GB, free: 42.14 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1)