Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001621/0.001621, allocations: 187.8 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.641/1.641, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001755/0.001755, allocations: 118.6 kB / 248.1 MB, free: 6.332 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.882e-05/1.883e-05, allocations: 4 kB / 298.1 MB, free: 8.223 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1182, allocations: 44.49 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.202/8.32, allocations: 3.616 GB / 3.951 GB, free: 57.05 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/8.321, allocations: 91.94 kB / 3.951 GB, free: 56.96 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.098/9.419, allocations: 318.9 MB / 4.262 GB, free: 38.95 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.926e-06/9.419, allocations: 0 / 4.262 GB, free: 38.95 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.114e-05/9.419, allocations: 12 kB / 4.262 GB, free: 38.94 MB / 395.1 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.00641/9.425, allocations: 1.549 MB / 4.264 GB, free: 37.34 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/9.425, allocations: 8.031 kB / 4.264 GB, free: 37.34 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004137/9.426, allocations: 63.47 kB / 4.264 GB, free: 37.27 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/9.426, allocations: 352.5 kB / 4.264 GB, free: 36.89 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/9.426, allocations: 12 kB / 4.264 GB, free: 36.88 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.139e-05/9.426, allocations: 28 kB / 4.264 GB, free: 36.86 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007739/9.427, allocations: 0.557 MB / 4.265 GB, free: 36.3 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006559/9.428, allocations: 431.9 kB / 4.265 GB, free: 35.87 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/9.428, allocations: 4 kB / 4.265 GB, free: 35.87 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.936e-05/9.428, allocations: 0 / 4.265 GB, free: 35.87 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/9.428, allocations: 15.95 kB / 4.265 GB, free: 35.85 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002667/9.43, allocations: 2.086 MB / 4.267 GB, free: 33.58 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009521/9.431, allocations: 0.5193 MB / 4.268 GB, free: 33.05 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/9.432, allocations: 238.5 kB / 4.268 GB, free: 32.82 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000409/9.432, allocations: 0.7027 MB / 4.269 GB, free: 31.97 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/9.432, allocations: 43 kB / 4.269 GB, free: 31.92 MB / 395.1 MB Notification: Performance of pre-optimization done (n=53): time 2.134e-06/9.432, allocations: 4 kB / 4.269 GB, free: 31.91 MB / 395.1 MB Notification: Performance of matching and sorting (n=65): time 0.009712/9.442, allocations: 2.809 MB / 4.271 GB, free: 29.05 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/9.442, allocations: 59.95 kB / 4.271 GB, free: 28.98 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/9.442, allocations: 203 kB / 4.272 GB, free: 28.77 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 6.206e-05/9.442, allocations: 29.7 kB / 4.272 GB, free: 28.74 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.232e-05/9.442, allocations: 200.9 kB / 4.272 GB, free: 28.54 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/9.442, allocations: 212.8 kB / 4.272 GB, free: 28.33 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/9.442, allocations: 3.938 kB / 4.272 GB, free: 28.32 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 6.768e-05/9.443, allocations: 346.8 kB / 4.272 GB, free: 27.98 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003237/9.443, allocations: 257.5 kB / 4.273 GB, free: 27.72 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/9.443, allocations: 324.1 kB / 4.273 GB, free: 27.39 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000679/9.444, allocations: 368 kB / 4.273 GB, free: 27.03 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/9.444, allocations: 4 kB / 4.273 GB, free: 27.03 MB / 395.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001596/9.445, allocations: 0.9063 MB / 4.274 GB, free: 26.11 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/9.446, allocations: 4 kB / 4.274 GB, free: 26.11 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/9.446, allocations: 4 kB / 4.274 GB, free: 26.1 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009885/9.447, allocations: 266.3 kB / 4.274 GB, free: 25.83 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005133/9.447, allocations: 119.8 kB / 4.275 GB, free: 25.71 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/9.449, allocations: 3.337 MB / 4.278 GB, free: 22.12 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006863/9.45, allocations: 51.86 kB / 4.278 GB, free: 22.07 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.604e-05/9.45, allocations: 27.98 kB / 4.278 GB, free: 22.05 MB / 395.1 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.0002349/9.45, allocations: 121.6 kB / 4.278 GB, free: 21.92 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.939e-05/9.45, allocations: 39.58 kB / 4.278 GB, free: 21.88 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003682/9.454, allocations: 1.247 MB / 4.279 GB, free: 20.62 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/9.454, allocations: 11.95 kB / 4.279 GB, free: 20.61 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/9.454, allocations: 4 kB / 4.279 GB, free: 20.61 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003176/9.457, allocations: 1.301 MB / 4.281 GB, free: 19.23 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002549/9.46, allocations: 1.533 MB / 4.282 GB, free: 17.67 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/9.46, allocations: 0 / 4.282 GB, free: 17.67 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000614/9.46, allocations: 111.9 kB / 4.282 GB, free: 17.56 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001511/9.462, allocations: 312.5 kB / 4.282 GB, free: 17.25 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.394e-05/9.462, allocations: 15.97 kB / 4.282 GB, free: 17.24 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007504/9.463, allocations: 0.8037 MB / 4.283 GB, free: 16.41 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/9.463, allocations: 0 / 4.283 GB, free: 16.41 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004185/9.467, allocations: 1.517 MB / 4.285 GB, free: 14.87 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/9.467, allocations: 116.6 kB / 4.285 GB, free: 14.73 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.801e-05/9.467, allocations: 12 kB / 4.285 GB, free: 14.72 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006506/9.468, allocations: 51.89 kB / 4.285 GB, free: 14.67 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/9.468, allocations: 36.5 kB / 4.285 GB, free: 14.64 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.328e-05/9.468, allocations: 35.97 kB / 4.285 GB, free: 14.6 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001535/9.468, allocations: 172.5 kB / 4.285 GB, free: 14.43 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.3e-07/9.468, allocations: 0 / 4.285 GB, free: 14.43 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001875/9.47, allocations: 0.4995 MB / 4.286 GB, free: 13.93 MB / 395.1 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 () * 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.001923/9.472, allocations: 1.317 MB / 4.287 GB, free: 12.74 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.00124/9.473, allocations: 0.8692 MB / 4.288 GB, free: 11.85 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/9.473, allocations: 8 kB / 4.288 GB, free: 11.84 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005411/9.474, allocations: 358.3 kB / 4.288 GB, free: 11.49 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/9.475, allocations: 223.4 kB / 4.288 GB, free: 11.28 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/9.477, allocations: 0.988 MB / 4.289 GB, free: 10.26 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/9.477, allocations: 0.857 MB / 4.29 GB, free: 9.379 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.0005457/9.477, allocations: 128.2 kB / 4.29 GB, free: 9.254 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/9.478, allocations: 54.8 kB / 4.29 GB, free: 9.203 MB / 395.1 MB Notification: Performance of SimCode: time 3.8e-07/9.478, allocations: 0 / 4.29 GB, free: 9.203 MB / 395.1 MB Notification: Performance of Templates: time 0.03075/9.508, allocations: 22.22 MB / 4.312 GB, free: 3.008 MB / 411.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1)