Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") [: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 3.2.1+maint.om/package.mo): time 0.003031/0.003032, allocations: 171.7 kB / 7.445 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.49/1.49, allocations: 170.6 MB / 178.4 MB, free: 15.79 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002015/0.002015, allocations: 104.6 kB / 217.7 MB, free: 8.566 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.143e-05/1.146e-05, allocations: 4 kB / 261.8 MB, free: 26.67 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1318, allocations: 38.76 MB / 300.5 MB, free: 3.926 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.724/8.856, allocations: 3.61 GB / 3.904 GB, free: 122 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/8.856, allocations: 87.3 kB / 3.904 GB, free: 122 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.169/10.02, allocations: 319.1 MB / 4.216 GB, free: 41.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.393e-05/10.02, allocations: 11.88 kB / 4.216 GB, free: 41.88 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.006062/10.03, allocations: 1.554 MB / 4.217 GB, free: 40.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/10.03, allocations: 8.031 kB / 4.217 GB, free: 40.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005441/10.03, allocations: 65.88 kB / 4.217 GB, free: 40.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006896/10.03, allocations: 362.3 kB / 4.218 GB, free: 40.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.684e-05/10.03, allocations: 14.62 kB / 4.218 GB, free: 40.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/10.03, allocations: 26.16 kB / 4.218 GB, free: 40.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009963/10.03, allocations: 0.5633 MB / 4.218 GB, free: 40.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007906/10.03, allocations: 438.8 kB / 4.219 GB, free: 40.67 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/10.03, allocations: 0 / 4.219 GB, free: 40.67 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.674e-05/10.03, allocations: 0 / 4.219 GB, free: 40.67 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/10.03, allocations: 15.59 kB / 4.219 GB, free: 40.67 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00311/10.04, allocations: 1.902 MB / 4.22 GB, free: 39.69 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007491/10.04, allocations: 369 kB / 4.221 GB, free: 39.67 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003468/10.04, allocations: 250.3 kB / 4.221 GB, free: 39.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005017/10.04, allocations: 0.7052 MB / 4.222 GB, free: 38.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/10.04, allocations: 39.41 kB / 4.222 GB, free: 38.87 MB / 346.7 MB Notification: Performance of pre-optimization done (n=53): time 2.414e-06/10.04, allocations: 0 / 4.222 GB, free: 38.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=65): time 0.01088/10.05, allocations: 2.9 MB / 4.225 GB, free: 38.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/10.05, allocations: 55.88 kB / 4.225 GB, free: 38.4 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/10.05, allocations: 208.6 kB / 4.225 GB, free: 38.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.516e-05/10.05, allocations: 25.7 kB / 4.225 GB, free: 38.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.299e-05/10.05, allocations: 184.7 kB / 4.225 GB, free: 38.13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/10.05, allocations: 216.5 kB / 4.225 GB, free: 37.99 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/10.05, allocations: 0 / 4.225 GB, free: 37.99 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/10.05, allocations: 347.1 kB / 4.226 GB, free: 37.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003963/10.05, allocations: 266.5 kB / 4.226 GB, free: 37.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004193/10.05, allocations: 335.1 kB / 4.226 GB, free: 37.63 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007848/10.05, allocations: 369.4 kB / 4.227 GB, free: 37.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/10.05, allocations: 0 / 4.227 GB, free: 37.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001866/10.05, allocations: 0.9173 MB / 4.227 GB, free: 37.53 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/10.05, allocations: 3.906 kB / 4.227 GB, free: 37.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/10.05, allocations: 4 kB / 4.227 GB, free: 37.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/10.06, allocations: 276.8 kB / 4.228 GB, free: 37.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005953/10.06, allocations: 118.9 kB / 4.228 GB, free: 37.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002379/10.06, allocations: 3.337 MB / 4.231 GB, free: 34.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006888/10.06, allocations: 52.17 kB / 4.231 GB, free: 34.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.282e-05/10.06, allocations: 27.78 kB / 4.231 GB, free: 34.57 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002426/10.06, allocations: 125.3 kB / 4.231 GB, free: 34.46 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/10.06, allocations: 39.47 kB / 4.231 GB, free: 34.44 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004111/10.06, allocations: 1.305 MB / 4.233 GB, free: 34.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/10.06, allocations: 8.969 kB / 4.233 GB, free: 34.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/10.06, allocations: 0 / 4.233 GB, free: 34.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003557/10.07, allocations: 1.344 MB / 4.234 GB, free: 33.97 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002868/10.07, allocations: 1.658 MB / 4.235 GB, free: 33.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/10.07, allocations: 3.125 kB / 4.235 GB, free: 33.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005744/10.07, allocations: 118.5 kB / 4.236 GB, free: 33.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001375/10.07, allocations: 317.6 kB / 4.236 GB, free: 33.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.886e-05/10.07, allocations: 17.73 kB / 4.236 GB, free: 33.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000821/10.07, allocations: 0.8285 MB / 4.237 GB, free: 33.03 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/10.07, allocations: 8.906 kB / 4.237 GB, free: 33.02 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002646/10.08, allocations: 1.384 MB / 4.238 GB, free: 32.6 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002429/10.08, allocations: 121.8 kB / 4.238 GB, free: 32.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/10.08, allocations: 11.86 kB / 4.238 GB, free: 32.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008511/10.08, allocations: 54.39 kB / 4.238 GB, free: 32.47 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/10.08, allocations: 47.08 kB / 4.238 GB, free: 32.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/10.08, allocations: 32.48 kB / 4.238 GB, free: 32.47 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002727/10.08, allocations: 176.3 kB / 4.239 GB, free: 32.39 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003016/10.08, allocations: 0.5074 MB / 4.239 GB, free: 32.29 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 61 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003556/10.08, allocations: 1.357 MB / 4.24 GB, free: 32.03 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001609/10.09, allocations: 0.8748 MB / 4.241 GB, free: 31.69 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/10.09, allocations: 4.625 kB / 4.241 GB, free: 31.69 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007463/10.09, allocations: 370.7 kB / 4.242 GB, free: 31.56 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/10.09, allocations: 218.9 kB / 4.242 GB, free: 31.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/10.09, allocations: 1.068 MB / 4.243 GB, free: 31.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006393/10.09, allocations: 0.9402 MB / 4.244 GB, free: 30.36 MB / 346.7 MB Notification: Performance of SimCode: time 6.82e-07/10.09, allocations: 1.75 kB / 4.244 GB, free: 30.36 MB / 346.7 MB Notification: Performance of Templates: time 0.03487/10.13, allocations: 23.51 MB / 4.267 GB, free: 13.55 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1)