Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X") translateModel(IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.002671/0.002671, allocations: 175.3 kB / 7.459 MB, free: 2.16 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6095/0.6095, 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.164/1.164, allocations: 221.3 MB / 395 MB, free: 10.2 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.0008497/0.0008497, allocations: 98.72 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.112e-06/6.132e-06, allocations: 2.531 kB / 0.5528 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1088, allocations: 82.29 MB / 0.6332 GB, free: 14.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.734/2.843, allocations: 1.85 GB / 2.483 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/2.843, allocations: 88.58 kB / 2.483 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.454/4.297, allocations: 0.605 GB / 3.088 GB, free: 32.04 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.638e-05/4.297, allocations: 23.98 kB / 3.089 GB, free: 32.02 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.002257/4.299, allocations: 1.041 MB / 3.09 GB, free: 30.93 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/4.299, allocations: 15.97 kB / 3.09 GB, free: 30.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/4.3, allocations: 230.9 kB / 3.09 GB, free: 30.69 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/4.302, allocations: 0.8894 MB / 3.091 GB, free: 29.75 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/4.302, allocations: 16 kB / 3.091 GB, free: 29.74 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.364e-05/4.302, allocations: 24 kB / 3.091 GB, free: 29.71 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004801/4.303, allocations: 345.5 kB / 3.091 GB, free: 29.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005331/4.303, allocations: 442.9 kB / 3.091 GB, free: 28.93 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/4.303, allocations: 4 kB / 3.091 GB, free: 28.92 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/4.303, allocations: 0 / 3.091 GB, free: 28.92 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/4.303, allocations: 16.69 kB / 3.091 GB, free: 28.91 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/4.306, allocations: 2.247 MB / 3.094 GB, free: 26.46 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/4.306, allocations: 222.7 kB / 3.094 GB, free: 26.23 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/4.306, allocations: 124.7 kB / 3.094 GB, free: 26.11 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008087/4.307, allocations: 0.826 MB / 3.095 GB, free: 25.11 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/4.307, allocations: 177.9 kB / 3.095 GB, free: 24.92 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/4.307, allocations: 0 / 3.095 GB, free: 24.92 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.0009027/4.308, allocations: 415.7 kB / 3.095 GB, free: 24.51 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/4.308, allocations: 102.8 kB / 3.095 GB, free: 24.38 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/4.308, allocations: 454.3 kB / 3.096 GB, free: 23.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/4.308, allocations: 25.7 kB / 3.096 GB, free: 23.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.442e-05/4.309, allocations: 255.5 kB / 3.096 GB, free: 23.64 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/4.309, allocations: 86.83 kB / 3.096 GB, free: 23.56 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.495e-05/4.309, allocations: 0 / 3.096 GB, free: 23.56 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.57e-05/4.309, allocations: 370.7 kB / 3.097 GB, free: 23.19 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/4.309, allocations: 100.7 kB / 3.097 GB, free: 23.09 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/4.309, allocations: 280.7 kB / 3.097 GB, free: 22.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/4.309, allocations: 220.3 kB / 3.097 GB, free: 22.51 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/4.309, allocations: 0 / 3.097 GB, free: 22.51 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006782/4.31, allocations: 472.4 kB / 3.098 GB, free: 22.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002317/4.31, allocations: 1.83 MB / 3.099 GB, free: 20.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/4.31, allocations: 4 kB / 3.099 GB, free: 20.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/4.31, allocations: 11.91 kB / 3.099 GB, free: 20.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/4.311, allocations: 87.83 kB / 3.099 GB, free: 19.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/4.311, allocations: 12.03 kB / 3.1 GB, free: 19.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/4.311, allocations: 43.61 kB / 3.1 GB, free: 19.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/4.311, allocations: 19.98 kB / 3.1 GB, free: 19.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.2e-06/4.311, allocations: 4 kB / 3.1 GB, free: 19.89 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005931/4.312, allocations: 390.8 kB / 3.1 GB, free: 19.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/4.312, allocations: 4 kB / 3.1 GB, free: 19.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.171e-06/4.312, allocations: 8.234 kB / 3.1 GB, free: 19.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/4.312, allocations: 79.89 kB / 3.1 GB, free: 19.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/4.312, allocations: 12.5 kB / 3.1 GB, free: 19.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/4.312, allocations: 35.73 kB / 3.1 GB, free: 19.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/4.312, allocations: 19.98 kB / 3.1 GB, free: 19.36 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 8.478e-05/4.312, allocations: 128.8 kB / 3.1 GB, free: 19.22 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.429e-05/4.312, allocations: 55.28 kB / 3.1 GB, free: 19.17 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006361/4.313, allocations: 372.4 kB / 3.101 GB, free: 18.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/4.313, allocations: 0 / 3.101 GB, free: 18.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/4.313, allocations: 4 kB / 3.101 GB, free: 18.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/4.313, allocations: 0 / 3.101 GB, free: 18.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/4.314, allocations: 1.151 MB / 3.102 GB, free: 17.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/4.314, allocations: 0 / 3.102 GB, free: 17.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/4.315, allocations: 43.91 kB / 3.102 GB, free: 17.53 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/4.315, allocations: 7.938 kB / 3.102 GB, free: 17.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/4.315, allocations: 8 kB / 3.102 GB, free: 17.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/4.315, allocations: 11.84 kB / 3.102 GB, free: 17.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/4.315, allocations: 4 kB / 3.102 GB, free: 17.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008027/4.315, allocations: 0.6223 MB / 3.102 GB, free: 16.78 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/4.316, allocations: 160.3 kB / 3.103 GB, free: 16.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/4.316, allocations: 7.984 kB / 3.103 GB, free: 16.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/4.316, allocations: 15.91 kB / 3.103 GB, free: 16.58 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/4.316, allocations: 19.97 kB / 3.103 GB, free: 16.56 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/4.316, allocations: 12 kB / 3.103 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002622/4.316, allocations: 346.9 kB / 3.103 GB, free: 16.21 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009866/4.317, allocations: 379.3 kB / 3.103 GB, free: 15.84 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.001756/4.319, allocations: 1.782 MB / 3.105 GB, free: 14.09 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005358/4.32, allocations: 472.5 kB / 3.106 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/4.32, allocations: 0 / 3.106 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/4.32, allocations: 119.8 kB / 3.106 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008134/4.321, allocations: 186.5 kB / 3.106 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003338/4.324, allocations: 1.518 MB / 3.107 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003647/4.324, allocations: 0.9746 MB / 3.108 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of SimCode: time 8.11e-07/4.324, allocations: 0 / 3.108 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of Templates: time 0.2266/4.551, allocations: 18.28 MB / 3.126 GB, free: 202.7 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & ./IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1)