Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.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.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001142/0.001142, allocations: 169.8 kB / 12.72 MB, free: 2.594 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.583/1.583, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.00175/0.00175, allocations: 111.5 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.856e-05/2.872e-05, allocations: 0 / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09082/0.09086, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.426/9.517, allocations: 3.693 GB / 3.994 GB, free: 22.41 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/9.518, allocations: 67.53 kB / 3.994 GB, free: 22.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.361/9.879, allocations: 48.35 MB / 4.041 GB, free: 115.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.254e-06/9.879, allocations: 0 / 4.041 GB, free: 115.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.556e-05/9.879, allocations: 7.375 kB / 4.041 GB, free: 115.4 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001882/9.881, allocations: 0.6151 MB / 4.042 GB, free: 114.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/9.881, allocations: 10.81 kB / 4.042 GB, free: 114.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/9.881, allocations: 22 kB / 4.042 GB, free: 114.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/9.881, allocations: 207 kB / 4.042 GB, free: 114.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/9.881, allocations: 16.2 kB / 4.042 GB, free: 114.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.795e-05/9.881, allocations: 23.05 kB / 4.042 GB, free: 114.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/9.882, allocations: 241.1 kB / 4.042 GB, free: 114.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/9.882, allocations: 3.938 kB / 4.042 GB, free: 114.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/9.882, allocations: 5.594 kB / 4.042 GB, free: 114.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/9.882, allocations: 6.812 kB / 4.042 GB, free: 114.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003716/9.882, allocations: 229.1 kB / 4.042 GB, free: 114.7 MB / 362.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/9.883, allocations: 0.6938 MB / 4.043 GB, free: 114.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000473/9.884, allocations: 205.9 kB / 4.043 GB, free: 114.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/9.884, allocations: 115.6 kB / 4.043 GB, free: 114.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003009/9.884, allocations: 356 kB / 4.044 GB, free: 113.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/9.884, allocations: 36.95 kB / 4.044 GB, free: 113.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.754e-06/9.884, allocations: 0 / 4.044 GB, free: 113.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001494/9.886, allocations: 0.5019 MB / 4.044 GB, free: 113.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/9.886, allocations: 85.27 kB / 4.044 GB, free: 113.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.281e-05/9.886, allocations: 108.5 kB / 4.044 GB, free: 113.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/9.886, allocations: 33.48 kB / 4.044 GB, free: 113.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/9.886, allocations: 111 kB / 4.045 GB, free: 113.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.157e-05/9.886, allocations: 120.1 kB / 4.045 GB, free: 113.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.131e-05/9.886, allocations: 8 kB / 4.045 GB, free: 113.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.609e-05/9.886, allocations: 329 kB / 4.045 GB, free: 112.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/9.886, allocations: 108.5 kB / 4.045 GB, free: 112.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/9.887, allocations: 180.7 kB / 4.045 GB, free: 112.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/9.887, allocations: 134.3 kB / 4.045 GB, free: 112.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/9.887, allocations: 3.938 kB / 4.045 GB, free: 112.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005502/9.887, allocations: 364.8 kB / 4.046 GB, free: 112.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/9.887, allocations: 3.125 kB / 4.046 GB, free: 112.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/9.887, allocations: 3.25 kB / 4.046 GB, free: 112.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/9.887, allocations: 7.344 kB / 4.046 GB, free: 112.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004586/9.888, allocations: 87.55 kB / 4.046 GB, free: 112.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/9.888, allocations: 6.688 kB / 4.046 GB, free: 112.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003061/9.888, allocations: 31.17 kB / 4.046 GB, free: 112.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/9.888, allocations: 21.09 kB / 4.046 GB, free: 112.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 0.0001047/9.888, allocations: 129.4 kB / 4.046 GB, free: 112.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.323e-05/9.888, allocations: 17.47 kB / 4.046 GB, free: 112.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003654/9.889, allocations: 172 kB / 4.046 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/9.889, allocations: 3.219 kB / 4.046 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/9.889, allocations: 0 / 4.046 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/9.889, allocations: 0 / 4.046 GB, free: 112.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/9.89, allocations: 0.7197 MB / 4.047 GB, free: 111.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/9.89, allocations: 2 kB / 4.047 GB, free: 111.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004037/9.89, allocations: 73.98 kB / 4.047 GB, free: 111.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/9.89, allocations: 7.531 kB / 4.047 GB, free: 111.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/9.89, allocations: 7.375 kB / 4.047 GB, free: 111.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/9.89, allocations: 7.125 kB / 4.047 GB, free: 111.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/9.89, allocations: 3.938 kB / 4.047 GB, free: 111.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007492/9.891, allocations: 0.7241 MB / 4.048 GB, free: 111.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.785e-05/9.891, allocations: 121.2 kB / 4.048 GB, free: 111.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/9.891, allocations: 11.31 kB / 4.048 GB, free: 111.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003341/9.892, allocations: 22.53 kB / 4.048 GB, free: 111.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/9.892, allocations: 28.78 kB / 4.048 GB, free: 111.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/9.892, allocations: 14.09 kB / 4.048 GB, free: 111.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.565e-05/9.892, allocations: 96.3 kB / 4.048 GB, free: 111 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/9.892, allocations: 0 / 4.048 GB, free: 111 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008143/9.893, allocations: 176.9 kB / 4.048 GB, free: 110.9 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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 Backend phase and start with SimCode phase: time 0.0009121/9.894, allocations: 0.6456 MB / 4.049 GB, free: 110.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004654/9.894, allocations: 291.5 kB / 4.049 GB, free: 110.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/9.894, allocations: 448 / 4.049 GB, free: 110.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/9.894, allocations: 165.2 kB / 4.049 GB, free: 110.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005847/9.895, allocations: 83.27 kB / 4.049 GB, free: 110.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/9.896, allocations: 0.4992 MB / 4.05 GB, free: 110.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/9.896, allocations: 0.7348 MB / 4.051 GB, free: 109.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000368/9.897, allocations: 76.22 kB / 4.051 GB, free: 109.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/9.897, allocations: 33.38 kB / 4.051 GB, free: 109.5 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/9.897, allocations: 0 / 4.051 GB, free: 109.5 MB / 362.7 MB Notification: Performance of Templates: time 0.0168/9.914, allocations: 13.79 MB / 4.064 GB, free: 101.6 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.MoistAir.pipe 2>&1)