Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_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.SteamHumidifier_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X") translateModel(IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_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.00103/0.00103, allocations: 191.8 kB / 7.807 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4386/0.4386, allocations: 90.85 MB / 99.08 MB, free: 14.95 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.223/1.223, allocations: 221.4 MB / 342.7 MB, free: 5.43 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.0009927/0.0009928, allocations: 87.92 kB / 415.5 MB, free: 9.895 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.726e-06/8.766e-06, allocations: 4 kB / 493.9 MB, free: 11.62 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3363, allocations: 72.31 MB / 0.5529 GB, free: 44.89 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.372/3.709, allocations: 1.841 GB / 2.394 GB, free: 208.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/3.709, allocations: 83.95 kB / 2.394 GB, free: 208.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.814/5.523, allocations: 0.605 GB / 2.999 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.975e-05/5.523, allocations: 16 kB / 2.999 GB, free: 52.77 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.003427/5.527, allocations: 1.051 MB / 3 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/5.527, allocations: 8.031 kB / 3 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/5.528, allocations: 234.9 kB / 3 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002811/5.531, allocations: 0.8801 MB / 3.001 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.595e-05/5.531, allocations: 12 kB / 3.001 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/5.531, allocations: 24 kB / 3.001 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007168/5.532, allocations: 349.4 kB / 3.001 GB, free: 50.17 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007208/5.533, allocations: 443 kB / 3.002 GB, free: 49.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/5.533, allocations: 7.844 kB / 3.002 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.558e-05/5.533, allocations: 0 / 3.002 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.244e-05/5.533, allocations: 24.72 kB / 3.002 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00315/5.536, allocations: 2.242 MB / 3.004 GB, free: 47.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/5.536, allocations: 226.6 kB / 3.004 GB, free: 47.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/5.536, allocations: 116.8 kB / 3.004 GB, free: 46.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009496/5.537, allocations: 0.8245 MB / 3.005 GB, free: 45.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002109/5.538, allocations: 181.9 kB / 3.005 GB, free: 45.74 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 2.185e-06/5.538, allocations: 0 / 3.005 GB, free: 45.74 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.001104/5.539, allocations: 409.1 kB / 3.005 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/5.539, allocations: 106.8 kB / 3.006 GB, free: 45.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000482/5.539, allocations: 454.2 kB / 3.006 GB, free: 44.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/5.539, allocations: 25.7 kB / 3.006 GB, free: 44.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/5.539, allocations: 255.7 kB / 3.006 GB, free: 44.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.901e-05/5.54, allocations: 82.75 kB / 3.006 GB, free: 44.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.725e-05/5.54, allocations: 0 / 3.006 GB, free: 44.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.228e-05/5.54, allocations: 370.8 kB / 3.007 GB, free: 44.01 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/5.54, allocations: 92.72 kB / 3.007 GB, free: 43.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/5.54, allocations: 280.9 kB / 3.007 GB, free: 43.56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004605/5.54, allocations: 219.8 kB / 3.007 GB, free: 43.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/5.54, allocations: 3.938 kB / 3.007 GB, free: 43.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007778/5.541, allocations: 475.2 kB / 3.008 GB, free: 42.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003/5.542, allocations: 1.833 MB / 3.01 GB, free: 40.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/5.542, allocations: 4 kB / 3.01 GB, free: 40.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/5.542, allocations: 8 kB / 3.01 GB, free: 40.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/5.542, allocations: 79.89 kB / 3.01 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/5.542, allocations: 11.94 kB / 3.01 GB, free: 40.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/5.542, allocations: 43.67 kB / 3.01 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.717e-05/5.542, allocations: 19.98 kB / 3.01 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.5e-06/5.542, allocations: 4 kB / 3.01 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006478/5.543, allocations: 388 kB / 3.01 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/5.543, allocations: 16.05 kB / 3.01 GB, free: 40.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-06/5.543, allocations: 8 kB / 3.01 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/5.543, allocations: 79.91 kB / 3.01 GB, free: 40.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/5.543, allocations: 19.86 kB / 3.01 GB, free: 40.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/5.544, allocations: 27.78 kB / 3.01 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/5.544, allocations: 27.98 kB / 3.01 GB, free: 40.17 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 9.4e-05/5.544, allocations: 124.7 kB / 3.01 GB, free: 40.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.366e-05/5.544, allocations: 51.34 kB / 3.01 GB, free: 39.99 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006787/5.545, allocations: 363.9 kB / 3.011 GB, free: 39.63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/5.545, allocations: 4 kB / 3.011 GB, free: 39.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/5.545, allocations: 3.906 kB / 3.011 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/5.545, allocations: 3.984 kB / 3.011 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/5.546, allocations: 1.153 MB / 3.012 GB, free: 38.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/5.546, allocations: 0 / 3.012 GB, free: 38.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/5.546, allocations: 43.97 kB / 3.012 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/5.546, allocations: 8.188 kB / 3.012 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/5.546, allocations: 15.98 kB / 3.012 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/5.546, allocations: 7.938 kB / 3.012 GB, free: 38.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/5.546, allocations: 0 / 3.012 GB, free: 38.33 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006542/5.547, allocations: 0.6288 MB / 3.013 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/5.547, allocations: 160.4 kB / 3.013 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.351e-05/5.547, allocations: 0 / 3.013 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/5.548, allocations: 23.78 kB / 3.013 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/5.548, allocations: 27.97 kB / 3.013 GB, free: 37.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/5.548, allocations: 8 kB / 3.013 GB, free: 37.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0003006/5.548, allocations: 350.9 kB / 3.013 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001179/5.549, allocations: 375.3 kB / 3.013 GB, free: 36.67 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.002124/5.551, allocations: 1.771 MB / 3.015 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006309/5.552, allocations: 461.5 kB / 3.016 GB, free: 34.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/5.552, allocations: 2.25 kB / 3.016 GB, free: 34.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/5.552, allocations: 127.8 kB / 3.016 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009361/5.553, allocations: 184.1 kB / 3.016 GB, free: 34.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003664/5.557, allocations: 1.531 MB / 3.017 GB, free: 32.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004494/5.557, allocations: 0.9624 MB / 3.018 GB, free: 31.82 MB / 0.6042 GB Notification: Performance of SimCode: time 5.51e-07/5.557, allocations: 4 kB / 3.018 GB, free: 31.81 MB / 0.6042 GB Notification: Performance of Templates: time 0.02641/5.584, allocations: 18.28 MB / 3.036 GB, free: 13.68 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & ./IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1)