Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X") translateModel(IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.002262/0.002262, allocations: 184.8 kB / 7.458 MB, free: 2.527 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6039/0.6039, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.153/1.153, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008569/0.0008568, allocations: 86.72 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.781e-06/5.801e-06, allocations: 4 kB / 0.5528 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1175, allocations: 82.3 MB / 0.6332 GB, free: 14.15 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.664/2.782, allocations: 1.849 GB / 2.482 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/2.782, allocations: 83.95 kB / 2.482 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.414/4.196, allocations: 0.6044 GB / 3.087 GB, free: 30.55 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.147e-05/4.196, allocations: 27.92 kB / 3.087 GB, free: 30.52 MB / 0.6823 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.002294/4.198, allocations: 1.045 MB / 3.088 GB, free: 29.43 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/4.198, allocations: 8.031 kB / 3.088 GB, free: 29.42 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/4.199, allocations: 238.9 kB / 3.088 GB, free: 29.18 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/4.201, allocations: 0.8738 MB / 3.089 GB, free: 28.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/4.201, allocations: 20 kB / 3.089 GB, free: 28.25 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.302e-05/4.201, allocations: 24 kB / 3.089 GB, free: 28.22 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004837/4.202, allocations: 345.5 kB / 3.089 GB, free: 27.89 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005285/4.202, allocations: 438.9 kB / 3.09 GB, free: 27.44 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/4.202, allocations: 3.938 kB / 3.09 GB, free: 27.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/4.203, allocations: 0 / 3.09 GB, free: 27.43 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/4.203, allocations: 16.78 kB / 3.09 GB, free: 27.42 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/4.205, allocations: 2.232 MB / 3.092 GB, free: 24.98 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/4.205, allocations: 230.6 kB / 3.092 GB, free: 24.75 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/4.205, allocations: 120.8 kB / 3.092 GB, free: 24.63 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007763/4.206, allocations: 0.826 MB / 3.093 GB, free: 23.64 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/4.206, allocations: 181.8 kB / 3.093 GB, free: 23.44 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.362e-06/4.206, allocations: 0 / 3.093 GB, free: 23.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.0008982/4.207, allocations: 396 kB / 3.093 GB, free: 23.05 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/4.207, allocations: 118.7 kB / 3.094 GB, free: 22.91 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003695/4.207, allocations: 454.2 kB / 3.094 GB, free: 22.46 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/4.207, allocations: 29.7 kB / 3.094 GB, free: 22.42 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.983e-05/4.208, allocations: 255.6 kB / 3.094 GB, free: 22.17 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/4.208, allocations: 82.84 kB / 3.094 GB, free: 22.09 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/4.208, allocations: 0 / 3.094 GB, free: 22.09 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.941e-05/4.208, allocations: 358.8 kB / 3.095 GB, free: 21.73 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/4.208, allocations: 100.7 kB / 3.095 GB, free: 21.62 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/4.208, allocations: 292.6 kB / 3.095 GB, free: 21.25 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/4.208, allocations: 216.3 kB / 3.095 GB, free: 21.04 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/4.208, allocations: 4 kB / 3.095 GB, free: 21.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006902/4.209, allocations: 472.7 kB / 3.096 GB, free: 20.57 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002416/4.209, allocations: 1.829 MB / 3.098 GB, free: 18.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/4.209, allocations: 8 kB / 3.098 GB, free: 18.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/4.209, allocations: 4.094 kB / 3.098 GB, free: 18.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/4.21, allocations: 91.77 kB / 3.098 GB, free: 18.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/4.21, allocations: 11.98 kB / 3.098 GB, free: 18.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003227/4.21, allocations: 43.58 kB / 3.098 GB, free: 18.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/4.21, allocations: 24 kB / 3.098 GB, free: 18.42 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.749e-06/4.21, allocations: 4 kB / 3.098 GB, free: 18.41 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006112/4.211, allocations: 387.5 kB / 3.098 GB, free: 18.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/4.211, allocations: 8 kB / 3.098 GB, free: 18.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.062e-06/4.211, allocations: 8 kB / 3.098 GB, free: 18.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/4.211, allocations: 83.83 kB / 3.098 GB, free: 17.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/4.211, allocations: 8 kB / 3.098 GB, free: 17.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/4.211, allocations: 43.95 kB / 3.098 GB, free: 17.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/4.211, allocations: 23.98 kB / 3.098 GB, free: 17.87 MB / 0.6823 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 7.544e-05/4.211, allocations: 116.8 kB / 3.098 GB, free: 17.75 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.674e-05/4.212, allocations: 63.25 kB / 3.098 GB, free: 17.68 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006432/4.212, allocations: 360.4 kB / 3.099 GB, free: 17.33 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/4.212, allocations: 4 kB / 3.099 GB, free: 17.32 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/4.212, allocations: 0 / 3.099 GB, free: 17.32 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/4.212, allocations: 11.94 kB / 3.099 GB, free: 17.31 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/4.213, allocations: 1.148 MB / 3.1 GB, free: 16.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/4.213, allocations: 8.031 kB / 3.1 GB, free: 16.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/4.214, allocations: 39.92 kB / 3.1 GB, free: 16.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/4.214, allocations: 4 kB / 3.1 GB, free: 16.04 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/4.214, allocations: 7.984 kB / 3.1 GB, free: 16.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/4.214, allocations: 4 kB / 3.1 GB, free: 16.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/4.214, allocations: 4 kB / 3.1 GB, free: 16.03 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005814/4.214, allocations: 0.622 MB / 3.101 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/4.214, allocations: 164.3 kB / 3.101 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.433e-05/4.215, allocations: 4 kB / 3.101 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/4.215, allocations: 19.92 kB / 3.101 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/4.215, allocations: 23.83 kB / 3.101 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/4.215, allocations: 15.98 kB / 3.101 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002562/4.215, allocations: 346.9 kB / 3.101 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008578/4.216, allocations: 371.3 kB / 3.101 GB, free: 14.37 MB / 0.6823 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.00166/4.218, allocations: 1.789 MB / 3.103 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005003/4.218, allocations: 460 kB / 3.104 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/4.218, allocations: 0 / 3.104 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/4.218, allocations: 125.1 kB / 3.104 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007759/4.219, allocations: 186.2 kB / 3.104 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003031/4.222, allocations: 1.521 MB / 3.105 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/4.222, allocations: 0.9625 MB / 3.106 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/4.222, allocations: 0 / 3.106 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of Templates: time 0.1977/4.42, allocations: 18.27 MB / 3.124 GB, free: 205.3 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X.sim & ./IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X.pipe 2>&1)