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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008176/0.008176, allocations: 165 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.513/1.513, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001756/0.001756, allocations: 114.6 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003926, allocations: 12 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2697, allocations: 38.77 MB / 312.9 MB, free: 38.71 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.667/7.936, allocations: 3.611 GB / 3.917 GB, free: 74.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/7.937, allocations: 91.94 kB / 3.917 GB, free: 74.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.036/8.972, allocations: 319.7 MB / 4.229 GB, free: 37.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.364e-06/8.972, allocations: 0 / 4.229 GB, free: 37.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.29e-05/8.972, allocations: 11.98 kB / 4.229 GB, free: 37.29 MB / 362.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.004672/8.977, allocations: 1.588 MB / 4.231 GB, free: 35.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/8.977, allocations: 12.03 kB / 4.231 GB, free: 35.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003168/8.977, allocations: 55.44 kB / 4.231 GB, free: 35.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004656/8.978, allocations: 365.3 kB / 4.231 GB, free: 35.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/8.978, allocations: 29 kB / 4.231 GB, free: 35.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.559e-05/8.978, allocations: 47.94 kB / 4.231 GB, free: 35.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007371/8.979, allocations: 0.4906 MB / 4.232 GB, free: 34.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/8.979, allocations: 3.984 kB / 4.232 GB, free: 34.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.252e-05/8.979, allocations: 20 kB / 4.232 GB, free: 34.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/8.979, allocations: 15.38 kB / 4.232 GB, free: 34.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007579/8.98, allocations: 0.5934 MB / 4.232 GB, free: 33.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002661/8.982, allocations: 2 MB / 4.234 GB, free: 31.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009455/8.983, allocations: 0.5541 MB / 4.235 GB, free: 31.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004347/8.984, allocations: 0.7048 MB / 4.235 GB, free: 30.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/8.984, allocations: 42.98 kB / 4.235 GB, free: 30.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 2.935e-06/8.984, allocations: 0 / 4.235 GB, free: 30.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.0149/8.999, allocations: 4.119 MB / 4.239 GB, free: 26.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/8.999, allocations: 55.97 kB / 4.24 GB, free: 26.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/8.999, allocations: 273.8 kB / 4.24 GB, free: 25.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.069e-05/8.999, allocations: 37.7 kB / 4.24 GB, free: 25.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.147e-05/8.999, allocations: 193.1 kB / 4.24 GB, free: 25.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/8.999, allocations: 228.7 kB / 4.24 GB, free: 25.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/8.999, allocations: 8 kB / 4.24 GB, free: 25.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.758e-05/8.999, allocations: 370 kB / 4.241 GB, free: 24.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005851/9, allocations: 309.1 kB / 4.241 GB, free: 24.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006681/9.001, allocations: 392.2 kB / 4.241 GB, free: 24.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000642/9.001, allocations: 347.1 kB / 4.242 GB, free: 23.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/9.001, allocations: 4 kB / 4.242 GB, free: 23.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002092/9.003, allocations: 1.003 MB / 4.243 GB, free: 22.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/9.003, allocations: 4 kB / 4.243 GB, free: 22.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/9.003, allocations: 4 kB / 4.243 GB, free: 22.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/9.005, allocations: 358.2 kB / 4.243 GB, free: 22.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000545/9.006, allocations: 127.8 kB / 4.243 GB, free: 22.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002696/9.008, allocations: 3.529 MB / 4.246 GB, free: 18.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007764/9.009, allocations: 71.89 kB / 4.247 GB, free: 18.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-05/9.009, allocations: 27.97 kB / 4.247 GB, free: 18.47 MB / 362.7 MB 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 () * Number of clocked 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.0003111/9.009, allocations: 200.4 kB / 4.247 GB, free: 18.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.218e-05/9.01, allocations: 43.52 kB / 4.247 GB, free: 18.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004168/9.014, allocations: 1.384 MB / 4.248 GB, free: 16.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/9.014, allocations: 8 kB / 4.248 GB, free: 16.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/9.014, allocations: 3.953 kB / 4.248 GB, free: 16.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003828/9.018, allocations: 1.422 MB / 4.25 GB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002903/9.021, allocations: 1.726 MB / 4.251 GB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/9.021, allocations: 4.031 kB / 4.251 GB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005376/9.021, allocations: 111.9 kB / 4.251 GB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001841/9.023, allocations: 396.2 kB / 4.252 GB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-05/9.023, allocations: 23.98 kB / 4.252 GB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/9.024, allocations: 0.8841 MB / 4.253 GB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/9.024, allocations: 0 / 4.253 GB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004329/9.029, allocations: 1.701 MB / 4.254 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/9.029, allocations: 128.5 kB / 4.254 GB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.201e-05/9.029, allocations: 20 kB / 4.254 GB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006891/9.03, allocations: 59.89 kB / 4.254 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/9.03, allocations: 40.5 kB / 4.255 GB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.78e-05/9.03, allocations: 31.97 kB / 4.255 GB, free: 10.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002337/9.03, allocations: 229.9 kB / 4.255 GB, free: 9.844 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/9.03, allocations: 0 / 4.255 GB, free: 9.844 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002166/9.032, allocations: 0.5307 MB / 4.255 GB, free: 9.312 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.002296/9.034, allocations: 1.181 MB / 4.256 GB, free: 8.121 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001866/9.036, allocations: 1.001 MB / 4.257 GB, free: 7.094 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/9.036, allocations: 320 / 4.257 GB, free: 7.094 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007717/9.037, allocations: 427 kB / 4.258 GB, free: 6.672 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/9.039, allocations: 280.5 kB / 4.258 GB, free: 6.395 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/9.041, allocations: 1.567 MB / 4.26 GB, free: 4.809 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/9.041, allocations: 0.8574 MB / 4.26 GB, free: 3.918 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005652/9.042, allocations: 136.5 kB / 4.261 GB, free: 3.781 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/9.042, allocations: 55.42 kB / 4.261 GB, free: 3.73 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/9.042, allocations: 0 / 4.261 GB, free: 3.73 MB / 362.7 MB Notification: Performance of Templates: time 0.2296/9.272, allocations: 29.53 MB / 4.289 GB, free: 45.91 MB / 362.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)