Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_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.SprayAirWasher_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic") translateModel(IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_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.001052/0.001052, allocations: 182.3 kB / 7.801 MB, free: 2.332 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4389/0.4389, allocations: 90.86 MB / 99.08 MB, free: 14.93 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.234/1.234, allocations: 221.4 MB / 342.8 MB, free: 5.203 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.0009225/0.0009224, allocations: 97.61 kB / 415.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.173e-06/7.223e-06, allocations: 0 / 493.9 MB, free: 8.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.365, allocations: 72.29 MB / 0.5529 GB, free: 73.25 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.555/3.92, allocations: 1.84 GB / 2.392 GB, free: 195.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/3.92, allocations: 89.55 kB / 2.393 GB, free: 195.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.077/6.998, allocations: 0.9747 GB / 3.367 GB, free: 115.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.39e-05/6.998, allocations: 21.2 kB / 3.367 GB, free: 115.2 MB / 0.6198 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.002601/7, allocations: 1.047 MB / 3.368 GB, free: 114.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/7.001, allocations: 9.312 kB / 3.368 GB, free: 114.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/7.002, allocations: 232.6 kB / 3.369 GB, free: 114.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002218/7.004, allocations: 0.8913 MB / 3.369 GB, free: 114.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/7.004, allocations: 12.03 kB / 3.369 GB, free: 114.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.694e-05/7.004, allocations: 24.25 kB / 3.369 GB, free: 114.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005271/7.005, allocations: 340 kB / 3.37 GB, free: 114.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005923/7.005, allocations: 449.8 kB / 3.37 GB, free: 114.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/7.005, allocations: 0 / 3.37 GB, free: 114.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/7.005, allocations: 3.594 kB / 3.37 GB, free: 114.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/7.005, allocations: 15.12 kB / 3.37 GB, free: 114.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002426/7.008, allocations: 2.252 MB / 3.372 GB, free: 113 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/7.008, allocations: 243.2 kB / 3.373 GB, free: 113 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/7.008, allocations: 126.8 kB / 3.373 GB, free: 113 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/7.009, allocations: 0.8265 MB / 3.374 GB, free: 112.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003285/7.01, allocations: 192.8 kB / 3.374 GB, free: 112 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 2.435e-06/7.01, allocations: 0 / 3.374 GB, free: 112 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.001408/7.011, allocations: 421.7 kB / 3.374 GB, free: 112 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/7.011, allocations: 110.8 kB / 3.374 GB, free: 111.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005918/7.012, allocations: 455.2 kB / 3.375 GB, free: 111.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/7.012, allocations: 27.02 kB / 3.375 GB, free: 111.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/7.012, allocations: 250.2 kB / 3.375 GB, free: 111.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.383e-05/7.012, allocations: 89.78 kB / 3.375 GB, free: 111.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.734e-05/7.012, allocations: 2.719 kB / 3.375 GB, free: 111.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.098e-05/7.012, allocations: 367.1 kB / 3.375 GB, free: 111.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/7.012, allocations: 105.9 kB / 3.375 GB, free: 111.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/7.013, allocations: 294.1 kB / 3.376 GB, free: 111 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004943/7.013, allocations: 225.7 kB / 3.376 GB, free: 111 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/7.013, allocations: 0 / 3.376 GB, free: 111 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008383/7.014, allocations: 491.3 kB / 3.376 GB, free: 110.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004474/7.015, allocations: 1.833 MB / 3.378 GB, free: 109 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/7.015, allocations: 5.469 kB / 3.378 GB, free: 109 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/7.015, allocations: 11.11 kB / 3.378 GB, free: 109 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/7.015, allocations: 86.23 kB / 3.378 GB, free: 109 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/7.015, allocations: 9.5 kB / 3.378 GB, free: 109 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004652/7.016, allocations: 48.66 kB / 3.378 GB, free: 109 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/7.016, allocations: 24.44 kB / 3.378 GB, free: 109 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/7.016, allocations: 3.938 kB / 3.378 GB, free: 109 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007466/7.016, allocations: 404.9 kB / 3.379 GB, free: 109 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/7.016, allocations: 7.281 kB / 3.379 GB, free: 109 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/7.016, allocations: 10.44 kB / 3.379 GB, free: 109 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/7.017, allocations: 88.86 kB / 3.379 GB, free: 109 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.061e-05/7.017, allocations: 9.219 kB / 3.379 GB, free: 109 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/7.017, allocations: 34.69 kB / 3.379 GB, free: 109 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/7.017, allocations: 25 kB / 3.379 GB, free: 109 MB / 0.6198 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.0001109/7.017, allocations: 127.3 kB / 3.379 GB, free: 108.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-05/7.017, allocations: 53.47 kB / 3.379 GB, free: 108.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007172/7.018, allocations: 375.8 kB / 3.38 GB, free: 108.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/7.018, allocations: 4 kB / 3.38 GB, free: 108.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/7.018, allocations: 11.28 kB / 3.38 GB, free: 108.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/7.018, allocations: 3.562 kB / 3.38 GB, free: 108.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/7.02, allocations: 1.178 MB / 3.381 GB, free: 108.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/7.02, allocations: 0 / 3.381 GB, free: 108.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/7.02, allocations: 53.05 kB / 3.381 GB, free: 108.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/7.02, allocations: 3.812 kB / 3.381 GB, free: 108.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/7.02, allocations: 8.422 kB / 3.381 GB, free: 108.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/7.02, allocations: 7.062 kB / 3.381 GB, free: 108.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/7.02, allocations: 2.906 kB / 3.381 GB, free: 108.3 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008455/7.021, allocations: 0.7837 MB / 3.382 GB, free: 107.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/7.021, allocations: 169 kB / 3.382 GB, free: 107.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.394e-05/7.021, allocations: 3.625 kB / 3.382 GB, free: 107.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/7.021, allocations: 12.2 kB / 3.382 GB, free: 107.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/7.021, allocations: 26.09 kB / 3.382 GB, free: 107.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/7.021, allocations: 11.81 kB / 3.382 GB, free: 107.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0003039/7.022, allocations: 353 kB / 3.382 GB, free: 107.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001173/7.023, allocations: 379.8 kB / 3.382 GB, free: 107.7 MB / 0.6198 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.002101/7.025, allocations: 1.776 MB / 3.384 GB, free: 107.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006818/7.026, allocations: 0.4916 MB / 3.385 GB, free: 107.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/7.026, allocations: 0 / 3.385 GB, free: 107.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/7.026, allocations: 125.9 kB / 3.385 GB, free: 107.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009438/7.027, allocations: 197 kB / 3.385 GB, free: 107.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003966/7.031, allocations: 1.654 MB / 3.387 GB, free: 107 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004331/7.031, allocations: 0.9663 MB / 3.388 GB, free: 106.2 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/7.031, allocations: 0 / 3.388 GB, free: 106.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.02685/7.058, allocations: 18.61 MB / 3.406 GB, free: 103.5 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & ./IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1)