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.001083/0.001083, allocations: 164.4 kB / 7.635 MB, free: 1.418 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.613/1.613, allocations: 170.7 MB / 178.7 MB, free: 15.58 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.001741/0.001741, allocations: 111.4 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.083e-05/2.082e-05, allocations: 0 / 262.2 MB, free: 26.38 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09278/0.09282, allocations: 38.79 MB / 301 MB, free: 3.605 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.643/8.736, allocations: 3.61 GB / 3.904 GB, free: 122.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/8.736, allocations: 91.17 kB / 3.905 GB, free: 122.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.05/9.786, allocations: 316.2 MB / 4.213 GB, free: 41.97 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.733e-06/9.786, allocations: 0 / 4.213 GB, free: 41.97 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.051e-05/9.786, allocations: 10.44 kB / 4.213 GB, free: 41.97 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.005312/9.791, allocations: 1.552 MB / 4.215 GB, free: 41.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/9.792, allocations: 12.06 kB / 4.215 GB, free: 41.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004647/9.792, allocations: 63.72 kB / 4.215 GB, free: 41.08 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000576/9.793, allocations: 355.1 kB / 4.215 GB, free: 40.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/9.793, allocations: 15.69 kB / 4.215 GB, free: 40.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.147e-05/9.793, allocations: 25.41 kB / 4.215 GB, free: 40.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008459/9.794, allocations: 0.5607 MB / 4.216 GB, free: 40.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000696/9.794, allocations: 435 kB / 4.216 GB, free: 40.81 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/9.794, allocations: 0 / 4.216 GB, free: 40.81 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.94e-05/9.794, allocations: 3.75 kB / 4.216 GB, free: 40.81 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/9.794, allocations: 11.38 kB / 4.216 GB, free: 40.81 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002822/9.797, allocations: 1.905 MB / 4.218 GB, free: 39.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009408/9.798, allocations: 0.5278 MB / 4.219 GB, free: 39.81 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/9.799, allocations: 239.3 kB / 4.219 GB, free: 39.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004461/9.799, allocations: 0.7062 MB / 4.22 GB, free: 39.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/9.799, allocations: 36.75 kB / 4.22 GB, free: 39.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=53): time 1.953e-06/9.799, allocations: 0 / 4.22 GB, free: 39.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=65): time 0.009329/9.808, allocations: 2.822 MB / 4.222 GB, free: 38.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/9.808, allocations: 57.91 kB / 4.222 GB, free: 38.56 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/9.809, allocations: 203.3 kB / 4.223 GB, free: 38.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.273e-05/9.809, allocations: 31.55 kB / 4.223 GB, free: 38.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.096e-05/9.809, allocations: 202.6 kB / 4.223 GB, free: 38.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/9.809, allocations: 214.8 kB / 4.223 GB, free: 38.15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/9.809, allocations: 0 / 4.223 GB, free: 38.15 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.682e-05/9.809, allocations: 346.8 kB / 4.223 GB, free: 37.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/9.809, allocations: 264.5 kB / 4.224 GB, free: 37.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/9.81, allocations: 326.4 kB / 4.224 GB, free: 37.78 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007213/9.81, allocations: 360.9 kB / 4.224 GB, free: 37.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/9.81, allocations: 0 / 4.224 GB, free: 37.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001667/9.812, allocations: 0.8992 MB / 4.225 GB, free: 37.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/9.812, allocations: 9.328 kB / 4.225 GB, free: 37.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/9.812, allocations: 3.281 kB / 4.225 GB, free: 37.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000997/9.813, allocations: 268.5 kB / 4.225 GB, free: 37.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005326/9.814, allocations: 125.9 kB / 4.225 GB, free: 37.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/9.816, allocations: 3.33 MB / 4.229 GB, free: 34.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000654/9.817, allocations: 55.25 kB / 4.229 GB, free: 34.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.174e-05/9.817, allocations: 28.59 kB / 4.229 GB, free: 34.75 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.0003008/9.817, allocations: 128.6 kB / 4.229 GB, free: 34.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/9.817, allocations: 37.62 kB / 4.229 GB, free: 34.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003912/9.821, allocations: 1.243 MB / 4.23 GB, free: 34.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/9.821, allocations: 10.38 kB / 4.23 GB, free: 34.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/9.821, allocations: 0 / 4.23 GB, free: 34.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003476/9.825, allocations: 1.306 MB / 4.231 GB, free: 34.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/9.827, allocations: 1.534 MB / 4.233 GB, free: 33.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/9.827, allocations: 0 / 4.233 GB, free: 33.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005268/9.828, allocations: 118.9 kB / 4.233 GB, free: 33.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001259/9.829, allocations: 299.3 kB / 4.233 GB, free: 33.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-05/9.829, allocations: 16.61 kB / 4.233 GB, free: 33.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007468/9.83, allocations: 0.7953 MB / 4.234 GB, free: 33.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/9.83, allocations: 9.688 kB / 4.234 GB, free: 33.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003781/9.834, allocations: 1.519 MB / 4.236 GB, free: 33.08 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/9.834, allocations: 117.7 kB / 4.236 GB, free: 32.97 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.461e-05/9.834, allocations: 7.688 kB / 4.236 GB, free: 32.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006832/9.835, allocations: 46.56 kB / 4.236 GB, free: 32.97 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/9.835, allocations: 38.39 kB / 4.236 GB, free: 32.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.903e-05/9.835, allocations: 33.2 kB / 4.236 GB, free: 32.97 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001806/9.835, allocations: 173.3 kB / 4.236 GB, free: 32.89 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.61e-07/9.835, allocations: 0 / 4.236 GB, free: 32.89 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002307/9.837, allocations: 0.4974 MB / 4.237 GB, free: 32.79 MB / 346.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 () * 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.002965/9.84, allocations: 1.326 MB / 4.238 GB, free: 32.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00136/9.842, allocations: 0.866 MB / 4.239 GB, free: 32.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/9.842, allocations: 3.781 kB / 4.239 GB, free: 32.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005964/9.842, allocations: 369.5 kB / 4.239 GB, free: 32.28 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/9.844, allocations: 222.6 kB / 4.239 GB, free: 32.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/9.846, allocations: 0.9747 MB / 4.24 GB, free: 32.04 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/9.846, allocations: 0.8644 MB / 4.241 GB, free: 31.33 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006462/9.847, allocations: 126.4 kB / 4.241 GB, free: 31.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/9.847, allocations: 49.48 kB / 4.241 GB, free: 31.31 MB / 346.7 MB Notification: Performance of SimCode: time 9.02e-07/9.847, allocations: 0 / 4.241 GB, free: 31.31 MB / 346.7 MB Notification: Performance of Templates: time 0.03379/9.881, allocations: 22.22 MB / 4.263 GB, free: 18.52 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)