Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/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/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_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic") translateModel(IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.00439/0.00439, allocations: 179.2 kB / 7.452 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7351/0.7351, allocations: 130.6 MB / 138.5 MB, free: 2.172 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.788/1.788, allocations: 221.3 MB / 391.4 MB, free: 13.09 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.001124/0.001124, allocations: 94.16 kB / 473.4 MB, free: 14.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.178e-05/1.181e-05, allocations: 2.062 kB / 0.5479 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1969, allocations: 81.59 MB / 0.6276 GB, free: 18.21 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.958/4.155, allocations: 1.849 GB / 2.476 GB, free: 20.02 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/4.155, allocations: 83.95 kB / 2.477 GB, free: 19.94 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.506/7.661, allocations: 0.9747 GB / 3.451 GB, free: 68.48 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001004/7.661, allocations: 16 kB / 3.451 GB, free: 68.47 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.003876/7.665, allocations: 1.057 MB / 3.452 GB, free: 67.37 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/7.665, allocations: 8.031 kB / 3.452 GB, free: 67.36 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001656/7.667, allocations: 234.9 kB / 3.452 GB, free: 67.13 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003478/7.67, allocations: 0.8894 MB / 3.453 GB, free: 66.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.967e-05/7.67, allocations: 14.73 kB / 3.453 GB, free: 66.19 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/7.671, allocations: 24 kB / 3.453 GB, free: 66.17 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000799/7.671, allocations: 333.5 kB / 3.454 GB, free: 65.84 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007636/7.672, allocations: 451.8 kB / 3.454 GB, free: 65.38 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/7.672, allocations: 0 / 3.454 GB, free: 65.38 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.468e-05/7.672, allocations: 4 kB / 3.454 GB, free: 65.38 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.904e-05/7.672, allocations: 24.67 kB / 3.454 GB, free: 65.35 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0037/7.676, allocations: 2.233 MB / 3.456 GB, free: 62.94 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/7.676, allocations: 256.2 kB / 3.457 GB, free: 62.69 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/7.677, allocations: 124.8 kB / 3.457 GB, free: 62.56 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009758/7.678, allocations: 0.83 MB / 3.458 GB, free: 61.57 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/7.678, allocations: 195.5 kB / 3.458 GB, free: 61.35 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=27): time 1.984e-06/7.678, allocations: 0 / 3.458 GB, free: 61.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=27): time 0.001217/7.679, allocations: 415.7 kB / 3.458 GB, free: 60.94 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/7.679, allocations: 110.9 kB / 3.458 GB, free: 60.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005361/7.68, allocations: 454.2 kB / 3.459 GB, free: 60.35 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/7.68, allocations: 25.7 kB / 3.459 GB, free: 60.32 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/7.68, allocations: 251.7 kB / 3.459 GB, free: 60.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.277e-05/7.68, allocations: 98.64 kB / 3.459 GB, free: 59.97 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/7.68, allocations: 0 / 3.459 GB, free: 59.97 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.891e-05/7.68, allocations: 362.8 kB / 3.459 GB, free: 59.61 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/7.68, allocations: 108.9 kB / 3.459 GB, free: 59.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/7.68, allocations: 291.3 kB / 3.46 GB, free: 59.13 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005039/7.681, allocations: 230 kB / 3.46 GB, free: 58.91 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/7.681, allocations: 0 / 3.46 GB, free: 58.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000893/7.682, allocations: 0.4883 MB / 3.46 GB, free: 58.42 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004603/7.682, allocations: 1.822 MB / 3.462 GB, free: 56.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/7.682, allocations: 4 kB / 3.462 GB, free: 56.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/7.682, allocations: 8 kB / 3.462 GB, free: 56.44 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/7.683, allocations: 95.83 kB / 3.462 GB, free: 56.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/7.683, allocations: 4 kB / 3.462 GB, free: 56.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004756/7.683, allocations: 43.58 kB / 3.462 GB, free: 56.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.514e-05/7.683, allocations: 31.92 kB / 3.462 GB, free: 56.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/7.683, allocations: 4 kB / 3.462 GB, free: 56.27 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007528/7.684, allocations: 403.2 kB / 3.463 GB, free: 55.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/7.684, allocations: 4 kB / 3.463 GB, free: 55.87 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.374e-06/7.684, allocations: 8 kB / 3.463 GB, free: 55.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/7.685, allocations: 87.89 kB / 3.463 GB, free: 55.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/7.685, allocations: 12.5 kB / 3.463 GB, free: 55.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004153/7.685, allocations: 39.67 kB / 3.463 GB, free: 55.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/7.685, allocations: 27.7 kB / 3.463 GB, free: 55.7 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 (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.0001304/7.685, allocations: 128.5 kB / 3.463 GB, free: 55.57 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.841e-05/7.685, allocations: 51.34 kB / 3.463 GB, free: 55.52 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007514/7.686, allocations: 382 kB / 3.463 GB, free: 55.14 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/7.686, allocations: 4 kB / 3.463 GB, free: 55.13 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/7.686, allocations: 0 / 3.463 GB, free: 55.13 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/7.686, allocations: 4.219 kB / 3.464 GB, free: 55.13 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/7.688, allocations: 1.176 MB / 3.465 GB, free: 53.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/7.688, allocations: 4 kB / 3.465 GB, free: 53.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/7.688, allocations: 47.97 kB / 3.465 GB, free: 53.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/7.688, allocations: 7.984 kB / 3.465 GB, free: 53.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/7.688, allocations: 11.98 kB / 3.465 GB, free: 53.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/7.688, allocations: 7.938 kB / 3.465 GB, free: 53.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/7.688, allocations: 0 / 3.465 GB, free: 53.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009766/7.689, allocations: 0.7803 MB / 3.465 GB, free: 52.93 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/7.689, allocations: 168.4 kB / 3.466 GB, free: 52.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.853e-05/7.689, allocations: 3.938 kB / 3.466 GB, free: 52.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/7.69, allocations: 19.98 kB / 3.466 GB, free: 52.72 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.365e-05/7.69, allocations: 23.89 kB / 3.466 GB, free: 52.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/7.69, allocations: 11.98 kB / 3.466 GB, free: 52.69 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003673/7.69, allocations: 346.9 kB / 3.466 GB, free: 52.35 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001374/7.691, allocations: 383.3 kB / 3.466 GB, free: 51.98 MB / 0.6823 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.002856/7.694, allocations: 1.783 MB / 3.468 GB, free: 50.23 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007777/7.695, allocations: 0.4892 MB / 3.469 GB, free: 49.74 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/7.695, allocations: 4.062 kB / 3.469 GB, free: 49.74 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/7.695, allocations: 131.8 kB / 3.469 GB, free: 49.61 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009787/7.696, allocations: 188.5 kB / 3.469 GB, free: 49.43 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004537/7.701, allocations: 1.648 MB / 3.471 GB, free: 47.73 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005956/7.702, allocations: 0.9726 MB / 3.471 GB, free: 46.72 MB / 0.6823 GB Notification: Performance of SimCode: time 8.21e-07/7.702, allocations: 0 / 3.471 GB, free: 46.72 MB / 0.6823 GB Notification: Performance of Templates: time 0.03087/7.732, allocations: 18.59 MB / 3.49 GB, free: 28.23 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.makefile (rm -f IDEAS_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.sim & ./IDEAS_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Humidifiers.Validation.SprayAirWasher_X_dynamic.pipe 2>&1)