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.00761/0.00761, allocations: 165.8 kB / 15.11 MB, free: 5.973 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.387/1.387, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001676/0.001676, allocations: 122.6 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003268, allocations: 8 kB / 274.1 MB, free: 10.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2329, allocations: 38.77 MB / 312.9 MB, free: 38.79 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.205/7.438, allocations: 3.693 GB / 3.999 GB, free: 31.11 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/7.438, allocations: 70.41 kB / 3.999 GB, free: 31.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.307/7.745, allocations: 48.45 MB / 4.046 GB, free: 111 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.215e-06/7.745, allocations: 0 / 4.046 GB, free: 111 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/7.745, allocations: 6.844 kB / 4.046 GB, free: 111 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.001687/7.747, allocations: 0.6316 MB / 4.047 GB, free: 110.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/7.747, allocations: 9.719 kB / 4.047 GB, free: 110.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/7.747, allocations: 21.47 kB / 4.047 GB, free: 110.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/7.748, allocations: 206.8 kB / 4.047 GB, free: 110.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/7.748, allocations: 17.7 kB / 4.047 GB, free: 110.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/7.748, allocations: 16.3 kB / 4.047 GB, free: 110.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005194/7.748, allocations: 256.6 kB / 4.048 GB, free: 110.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/7.748, allocations: 6.375 kB / 4.048 GB, free: 110.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/7.748, allocations: 6.312 kB / 4.048 GB, free: 110.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/7.748, allocations: 15.06 kB / 4.048 GB, free: 110.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000527/7.749, allocations: 258.1 kB / 4.048 GB, free: 110.3 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.001226/7.75, allocations: 0.6791 MB / 4.048 GB, free: 109.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005498/7.751, allocations: 220.2 kB / 4.049 GB, free: 109.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002817/7.751, allocations: 357.7 kB / 4.049 GB, free: 109.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/7.751, allocations: 44.84 kB / 4.049 GB, free: 109.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.543e-06/7.751, allocations: 2.25 kB / 4.049 GB, free: 109.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002258/7.753, allocations: 0.6684 MB / 4.05 GB, free: 109.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/7.753, allocations: 82.73 kB / 4.05 GB, free: 109.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.084e-05/7.753, allocations: 113.1 kB / 4.05 GB, free: 109.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/7.753, allocations: 37.17 kB / 4.05 GB, free: 109.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/7.753, allocations: 112.1 kB / 4.05 GB, free: 109.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.978e-05/7.753, allocations: 127.5 kB / 4.05 GB, free: 109 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/7.753, allocations: 6.312 kB / 4.05 GB, free: 109 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.286e-05/7.754, allocations: 335.2 kB / 4.05 GB, free: 108.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003446/7.754, allocations: 133.2 kB / 4.051 GB, free: 108.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/7.754, allocations: 203.1 kB / 4.051 GB, free: 108.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/7.755, allocations: 159.8 kB / 4.051 GB, free: 108.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/7.755, allocations: 0 / 4.051 GB, free: 108.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007858/7.755, allocations: 409.8 kB / 4.051 GB, free: 108.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/7.755, allocations: 7.531 kB / 4.051 GB, free: 108.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/7.755, allocations: 0 / 4.051 GB, free: 108.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/7.755, allocations: 7.312 kB / 4.051 GB, free: 108.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/7.756, allocations: 90.19 kB / 4.051 GB, free: 108.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/7.756, allocations: 5.781 kB / 4.051 GB, free: 108.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/7.756, allocations: 27.78 kB / 4.051 GB, free: 108.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.855e-05/7.756, allocations: 25.81 kB / 4.051 GB, free: 108.6 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 () * Number of clocked 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.0001212/7.756, allocations: 149 kB / 4.052 GB, free: 108.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/7.757, allocations: 16.34 kB / 4.052 GB, free: 108.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003586/7.757, allocations: 178.3 kB / 4.052 GB, free: 108.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/7.757, allocations: 3.938 kB / 4.052 GB, free: 108.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/7.757, allocations: 3.906 kB / 4.052 GB, free: 108.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/7.757, allocations: 0 / 4.052 GB, free: 108.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/7.758, allocations: 0.7597 MB / 4.053 GB, free: 108.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/7.758, allocations: 3.688 kB / 4.053 GB, free: 108.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004249/7.759, allocations: 83.86 kB / 4.053 GB, free: 108.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/7.759, allocations: 3.375 kB / 4.053 GB, free: 108.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/7.759, allocations: 11.06 kB / 4.053 GB, free: 108.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/7.759, allocations: 1.625 kB / 4.053 GB, free: 108.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/7.759, allocations: 7.219 kB / 4.053 GB, free: 108.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/7.76, allocations: 0.7807 MB / 4.053 GB, free: 107.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/7.76, allocations: 125.6 kB / 4.054 GB, free: 107.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/7.76, allocations: 13.09 kB / 4.054 GB, free: 107.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/7.761, allocations: 21.75 kB / 4.054 GB, free: 107.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/7.761, allocations: 26.14 kB / 4.054 GB, free: 107.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/7.761, allocations: 13.86 kB / 4.054 GB, free: 107.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.517e-05/7.761, allocations: 96.22 kB / 4.054 GB, free: 107.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/7.761, allocations: 0 / 4.054 GB, free: 107.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007592/7.762, allocations: 177.7 kB / 4.054 GB, free: 107.5 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 () * Number of clocked 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.0009918/7.763, allocations: 0.6535 MB / 4.055 GB, free: 107.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008015/7.763, allocations: 335.5 kB / 4.055 GB, free: 107.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/7.763, allocations: 448 / 4.055 GB, free: 107.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003395/7.764, allocations: 176.4 kB / 4.055 GB, free: 107.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005341/7.764, allocations: 93.31 kB / 4.055 GB, free: 107.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/7.766, allocations: 0.7681 MB / 4.056 GB, free: 106.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/7.766, allocations: 0.7423 MB / 4.057 GB, free: 106.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004031/7.766, allocations: 75.38 kB / 4.057 GB, free: 106.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/7.767, allocations: 30.17 kB / 4.057 GB, free: 106.2 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/7.767, allocations: 0 / 4.057 GB, free: 106.2 MB / 362.7 MB Notification: Performance of Templates: time 0.01669/7.783, allocations: 12.19 MB / 4.069 GB, free: 105.2 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)