Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.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.SteamHumidifier_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic") translateModel(IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic") [: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.001465/0.001465, allocations: 183 kB / 7.801 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4744/0.4744, allocations: 90.85 MB / 99.07 MB, free: 14.92 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.212/1.212, allocations: 221.4 MB / 342.8 MB, free: 5.102 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.001054/0.001054, allocations: 96.34 kB / 415.5 MB, free: 6.383 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.091e-06/6.111e-06, allocations: 0 / 493.9 MB, free: 8.023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3573, allocations: 72.3 MB / 0.5529 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.337/3.694, allocations: 1.841 GB / 2.394 GB, free: 218.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/3.694, allocations: 88.11 kB / 2.394 GB, free: 218.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.828/5.522, allocations: 0.6052 GB / 2.999 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.575e-05/5.522, allocations: 19.28 kB / 2.999 GB, free: 62.23 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.00335/5.526, allocations: 1.052 MB / 3 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/5.526, allocations: 8.031 kB / 3 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/5.527, allocations: 238.9 kB / 3 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002619/5.53, allocations: 0.8929 MB / 3.001 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.02e-05/5.53, allocations: 12 kB / 3.001 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/5.53, allocations: 24 kB / 3.001 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006718/5.531, allocations: 337.5 kB / 3.001 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007028/5.531, allocations: 451.7 kB / 3.002 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/5.531, allocations: 0 / 3.002 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.452e-05/5.531, allocations: 0 / 3.002 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.095e-05/5.531, allocations: 28.77 kB / 3.002 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003397/5.535, allocations: 2.257 MB / 3.004 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003678/5.535, allocations: 240.6 kB / 3.004 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/5.535, allocations: 136.7 kB / 3.004 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001/5.536, allocations: 0.8219 MB / 3.005 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002501/5.537, allocations: 187.7 kB / 3.005 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 3.005e-06/5.537, allocations: 0 / 3.005 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.001305/5.538, allocations: 415.7 kB / 3.006 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/5.538, allocations: 106.9 kB / 3.006 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005516/5.539, allocations: 458.3 kB / 3.006 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/5.539, allocations: 25.7 kB / 3.006 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/5.539, allocations: 255.6 kB / 3.007 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.121e-05/5.539, allocations: 86.75 kB / 3.007 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.97e-05/5.539, allocations: 0 / 3.007 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001145/5.539, allocations: 370.6 kB / 3.007 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/5.539, allocations: 112.9 kB / 3.007 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/5.54, allocations: 295.3 kB / 3.007 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000533/5.54, allocations: 217.8 kB / 3.008 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/5.54, allocations: 4 kB / 3.008 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000963/5.541, allocations: 493.7 kB / 3.008 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006353/5.542, allocations: 1.822 MB / 3.01 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/5.542, allocations: 7.906 kB / 3.01 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.873e-05/5.542, allocations: 8 kB / 3.01 GB, free: 50.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/5.542, allocations: 95.83 kB / 3.01 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/5.542, allocations: 15.92 kB / 3.01 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005537/5.543, allocations: 39.67 kB / 3.01 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-05/5.543, allocations: 20 kB / 3.01 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/5.543, allocations: 10.8 kB / 3.01 GB, free: 50.08 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000779/5.544, allocations: 404.7 kB / 3.01 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/5.544, allocations: 11.84 kB / 3.01 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.497e-06/5.544, allocations: 8 kB / 3.01 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/5.544, allocations: 83.89 kB / 3.011 GB, free: 49.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/5.544, allocations: 16.48 kB / 3.011 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/5.545, allocations: 39.67 kB / 3.011 GB, free: 49.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/5.545, allocations: 28 kB / 3.011 GB, free: 49.5 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 (49): * Single equations (assignments): 49 * 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.0001295/5.545, allocations: 115.4 kB / 3.011 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.88e-05/5.545, allocations: 59.48 kB / 3.011 GB, free: 49.33 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000778/5.546, allocations: 384.9 kB / 3.011 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/5.546, allocations: 3.984 kB / 3.011 GB, free: 48.94 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/5.546, allocations: 4 kB / 3.011 GB, free: 48.94 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/5.546, allocations: 0 / 3.011 GB, free: 48.94 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/5.547, allocations: 1.18 MB / 3.012 GB, free: 47.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/5.547, allocations: 0 / 3.012 GB, free: 47.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/5.548, allocations: 47.91 kB / 3.012 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/5.548, allocations: 4 kB / 3.012 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/5.548, allocations: 4 kB / 3.012 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/5.548, allocations: 4 kB / 3.012 GB, free: 47.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/5.548, allocations: 7.906 kB / 3.012 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009078/5.549, allocations: 0.7755 MB / 3.013 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/5.549, allocations: 160.4 kB / 3.013 GB, free: 46.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.679e-05/5.549, allocations: 7.984 kB / 3.013 GB, free: 46.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/5.549, allocations: 19.91 kB / 3.013 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.697e-05/5.549, allocations: 19.97 kB / 3.013 GB, free: 46.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/5.549, allocations: 12 kB / 3.013 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003451/5.55, allocations: 350.9 kB / 3.014 GB, free: 46.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001312/5.551, allocations: 383.4 kB / 3.014 GB, free: 45.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (hum.outCon.T,hum.outCon.Xi) * 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 (28): * Single equations (assignments): 26 * 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.002764/5.554, allocations: 1.788 MB / 3.016 GB, free: 44.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007519/5.554, allocations: 0.4893 MB / 3.016 GB, free: 43.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/5.554, allocations: 4.062 kB / 3.016 GB, free: 43.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000171/5.555, allocations: 127.8 kB / 3.016 GB, free: 43.63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009772/5.556, allocations: 187.9 kB / 3.017 GB, free: 43.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004299/5.56, allocations: 1.657 MB / 3.018 GB, free: 41.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005087/5.56, allocations: 0.9648 MB / 3.019 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of SimCode: time 5.51e-07/5.56, allocations: 0 / 3.019 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of Templates: time 0.02898/5.589, allocations: 18.61 MB / 3.037 GB, free: 22.32 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)