Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.SteamHumidifier_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic") translateModel(IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.002289/0.002289, allocations: 176.5 kB / 7.461 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6004/0.6004, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.133/1.133, allocations: 221.3 MB / 395 MB, free: 10.19 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.0008266/0.0008266, allocations: 93.53 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.422e-06/6.442e-06, allocations: 2.469 kB / 0.5528 GB, free: 89.15 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1031, allocations: 82.31 MB / 0.6332 GB, free: 14.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.622/2.725, allocations: 1.85 GB / 2.483 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/2.725, allocations: 87.95 kB / 2.484 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.547/4.272, allocations: 0.6052 GB / 3.089 GB, free: 29.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.379e-05/4.272, allocations: 20 kB / 3.089 GB, free: 29.48 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.002734/4.275, allocations: 1.061 MB / 3.09 GB, free: 28.38 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/4.275, allocations: 8.031 kB / 3.09 GB, free: 28.37 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/4.276, allocations: 234.9 kB / 3.09 GB, free: 28.14 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/4.279, allocations: 0.8894 MB / 3.091 GB, free: 27.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/4.279, allocations: 16 kB / 3.091 GB, free: 27.19 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.937e-05/4.279, allocations: 27.94 kB / 3.091 GB, free: 27.16 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000523/4.279, allocations: 337.4 kB / 3.091 GB, free: 26.83 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005801/4.28, allocations: 451.8 kB / 3.092 GB, free: 26.37 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/4.28, allocations: 4 kB / 3.092 GB, free: 26.36 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/4.28, allocations: 3.906 kB / 3.092 GB, free: 26.36 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/4.28, allocations: 16.77 kB / 3.092 GB, free: 26.34 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002498/4.282, allocations: 2.262 MB / 3.094 GB, free: 23.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/4.283, allocations: 246.6 kB / 3.094 GB, free: 23.65 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/4.283, allocations: 124.8 kB / 3.094 GB, free: 23.52 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008561/4.284, allocations: 0.8261 MB / 3.095 GB, free: 22.53 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/4.284, allocations: 191.7 kB / 3.095 GB, free: 22.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=27): time 1.994e-06/4.284, allocations: 4 kB / 3.095 GB, free: 22.31 MB / 0.6823 GB Notification: Performance of matching and sorting (n=27): time 0.000995/4.285, allocations: 415.3 kB / 3.096 GB, free: 21.91 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/4.285, allocations: 107 kB / 3.096 GB, free: 21.78 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004069/4.285, allocations: 458.2 kB / 3.096 GB, free: 21.32 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/4.285, allocations: 29.7 kB / 3.096 GB, free: 21.29 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/4.286, allocations: 251.6 kB / 3.096 GB, free: 21.04 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.501e-05/4.286, allocations: 90.75 kB / 3.097 GB, free: 20.95 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/4.286, allocations: 0 / 3.097 GB, free: 20.95 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.069e-05/4.286, allocations: 366.8 kB / 3.097 GB, free: 20.58 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/4.286, allocations: 108.8 kB / 3.097 GB, free: 20.47 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/4.286, allocations: 297.6 kB / 3.097 GB, free: 20.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/4.287, allocations: 223.8 kB / 3.097 GB, free: 19.88 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/4.287, allocations: 7.906 kB / 3.097 GB, free: 19.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007595/4.287, allocations: 494.1 kB / 3.098 GB, free: 19.39 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002928/4.288, allocations: 1.825 MB / 3.1 GB, free: 17.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/4.288, allocations: 4 kB / 3.1 GB, free: 17.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/4.288, allocations: 12 kB / 3.1 GB, free: 17.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/4.288, allocations: 87.89 kB / 3.1 GB, free: 17.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/4.288, allocations: 19.83 kB / 3.1 GB, free: 17.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003706/4.288, allocations: 39.61 kB / 3.1 GB, free: 17.26 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/4.288, allocations: 24 kB / 3.1 GB, free: 17.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.071e-06/4.288, allocations: 8 kB / 3.1 GB, free: 17.23 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006717/4.289, allocations: 400.2 kB / 3.1 GB, free: 16.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/4.289, allocations: 8 kB / 3.1 GB, free: 16.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.342e-06/4.289, allocations: 8 kB / 3.1 GB, free: 16.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/4.289, allocations: 88.48 kB / 3.1 GB, free: 16.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/4.289, allocations: 19.84 kB / 3.1 GB, free: 16.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/4.29, allocations: 31.73 kB / 3.1 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/4.29, allocations: 27.98 kB / 3.1 GB, free: 16.66 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 9.041e-05/4.29, allocations: 117 kB / 3.101 GB, free: 16.54 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.278e-05/4.29, allocations: 59.33 kB / 3.101 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006708/4.291, allocations: 381.2 kB / 3.101 GB, free: 16.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/4.291, allocations: 4 kB / 3.101 GB, free: 16.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/4.291, allocations: 0 / 3.101 GB, free: 16.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/4.291, allocations: 7.984 kB / 3.101 GB, free: 16.09 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/4.292, allocations: 1.175 MB / 3.102 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/4.292, allocations: 8 kB / 3.102 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/4.292, allocations: 43.92 kB / 3.102 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/4.292, allocations: 4 kB / 3.102 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/4.292, allocations: 7.984 kB / 3.102 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/4.292, allocations: 4 kB / 3.102 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/4.292, allocations: 8.219 kB / 3.102 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000812/4.293, allocations: 0.7795 MB / 3.103 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/4.293, allocations: 164.3 kB / 3.103 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.617e-05/4.293, allocations: 12.05 kB / 3.103 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/4.294, allocations: 11.91 kB / 3.103 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/4.294, allocations: 19.97 kB / 3.103 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/4.294, allocations: 15.94 kB / 3.103 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.00028/4.294, allocations: 346.9 kB / 3.104 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001025/4.295, allocations: 387.3 kB / 3.104 GB, free: 12.94 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.002162/4.297, allocations: 1.781 MB / 3.106 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006029/4.298, allocations: 495.9 kB / 3.106 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/4.298, allocations: 4 kB / 3.106 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/4.298, allocations: 131.8 kB / 3.106 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000863/4.299, allocations: 185.5 kB / 3.106 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003894/4.303, allocations: 1.651 MB / 3.108 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005417/4.303, allocations: 0.9692 MB / 3.109 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of SimCode: time 3.31e-07/4.303, allocations: 3.938 kB / 3.109 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of Templates: time 0.2484/4.552, allocations: 18.58 MB / 3.127 GB, free: 204 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)