Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001109/0.001109, allocations: 180.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.238/1.238, allocations: 194.5 MB / 211.6 MB, free: 3.039 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001571/0.001571, allocations: 120.5 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003056/0.0003057, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07823/0.07855, allocations: 44.5 MB / 355.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.18/12.26, allocations: 6.611 GB / 6.958 GB, free: 123.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/12.26, allocations: 75.97 kB / 6.958 GB, free: 123.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6668/12.92, allocations: 191.3 MB / 7.145 GB, free: 67.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/12.92, allocations: 0 / 7.145 GB, free: 67.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/12.92, allocations: 3.969 kB / 7.145 GB, free: 67.03 MB / 410.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.007143/12.93, allocations: 1.461 MB / 7.146 GB, free: 66.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/12.93, allocations: 11.69 kB / 7.146 GB, free: 66.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/12.93, allocations: 14.72 kB / 7.146 GB, free: 66.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/12.93, allocations: 216.4 kB / 7.147 GB, free: 65.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/12.93, allocations: 18.58 kB / 7.147 GB, free: 65.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/12.93, allocations: 14.72 kB / 7.147 GB, free: 65.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006265/12.93, allocations: 267.6 kB / 7.147 GB, free: 65.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/12.93, allocations: 0 / 7.147 GB, free: 65.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/12.93, allocations: 4.75 kB / 7.147 GB, free: 65.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/12.93, allocations: 11.41 kB / 7.147 GB, free: 65.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006362/12.93, allocations: 280.5 kB / 7.147 GB, free: 65.82 MB / 410.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.001237/12.93, allocations: 0.6943 MB / 7.148 GB, free: 65.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008583/12.94, allocations: 308 kB / 7.148 GB, free: 65.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01238/12.95, allocations: 10.06 MB / 7.158 GB, free: 55.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/12.95, allocations: 36.16 kB / 7.158 GB, free: 55.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.927e-06/12.95, allocations: 0 / 7.158 GB, free: 55.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.003498/12.95, allocations: 0.6933 MB / 7.159 GB, free: 54.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/12.95, allocations: 89.14 kB / 7.159 GB, free: 54.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.539e-05/12.95, allocations: 113.7 kB / 7.159 GB, free: 54.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/12.95, allocations: 30.08 kB / 7.159 GB, free: 54.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/12.95, allocations: 110.3 kB / 7.159 GB, free: 54.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.279e-05/12.95, allocations: 124.9 kB / 7.159 GB, free: 54.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/12.95, allocations: 10.16 kB / 7.159 GB, free: 54.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.906e-05/12.95, allocations: 328.2 kB / 7.159 GB, free: 54.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/12.95, allocations: 137.4 kB / 7.16 GB, free: 54.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004143/12.95, allocations: 204.7 kB / 7.16 GB, free: 54.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003938/12.95, allocations: 153.6 kB / 7.16 GB, free: 54.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/12.95, allocations: 4 kB / 7.16 GB, free: 54.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001035/12.95, allocations: 413.9 kB / 7.16 GB, free: 54.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/12.95, allocations: 11.58 kB / 7.16 GB, free: 54.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/12.95, allocations: 3.938 kB / 7.16 GB, free: 54.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/12.95, allocations: 6.938 kB / 7.16 GB, free: 54.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004627/12.95, allocations: 86.36 kB / 7.16 GB, free: 54.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/12.95, allocations: 10.11 kB / 7.16 GB, free: 54.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/12.95, allocations: 26.5 kB / 7.16 GB, free: 54.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/12.95, allocations: 22.83 kB / 7.161 GB, free: 54.06 MB / 410.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.0001403/12.96, allocations: 147 kB / 7.161 GB, free: 53.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/12.96, allocations: 15.3 kB / 7.161 GB, free: 53.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000474/12.96, allocations: 197.4 kB / 7.161 GB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/12.96, allocations: 6.719 kB / 7.161 GB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/12.96, allocations: 0 / 7.161 GB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/12.96, allocations: 0 / 7.161 GB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001832/12.96, allocations: 0.9614 MB / 7.162 GB, free: 53.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/12.96, allocations: 3.812 kB / 7.162 GB, free: 53.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004162/12.96, allocations: 78.97 kB / 7.162 GB, free: 53.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/12.96, allocations: 7.891 kB / 7.162 GB, free: 53.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/12.96, allocations: 20.41 kB / 7.162 GB, free: 53.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/12.96, allocations: 3.062 kB / 7.162 GB, free: 53.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/12.96, allocations: 3.938 kB / 7.162 GB, free: 53.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/12.96, allocations: 0.8022 MB / 7.163 GB, free: 53.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/12.96, allocations: 129.1 kB / 7.163 GB, free: 52.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/12.96, allocations: 7.812 kB / 7.163 GB, free: 52.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/12.96, allocations: 17.55 kB / 7.163 GB, free: 52.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/12.96, allocations: 34.64 kB / 7.163 GB, free: 52.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/12.96, allocations: 18.28 kB / 7.163 GB, free: 52.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.919e-05/12.96, allocations: 96.28 kB / 7.163 GB, free: 52.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.11e-07/12.96, allocations: 0 / 7.163 GB, free: 52.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005489/12.97, allocations: 1.083 MB / 7.164 GB, free: 52.65 MB / 410.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 (39): * Single equations (assignments): 39 * 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.009568/12.98, allocations: 1.592 MB / 7.166 GB, free: 52.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001195/12.98, allocations: 353.8 kB / 7.166 GB, free: 52.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/12.98, allocations: 0 / 7.166 GB, free: 52.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004975/12.98, allocations: 186.5 kB / 7.166 GB, free: 52.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006687/12.98, allocations: 103.9 kB / 7.166 GB, free: 52.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/12.98, allocations: 0.7156 MB / 7.167 GB, free: 51.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/12.98, allocations: 0.7488 MB / 7.168 GB, free: 51.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004564/12.98, allocations: 82.55 kB / 7.168 GB, free: 51.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/12.98, allocations: 33.75 kB / 7.168 GB, free: 51.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/12.98, allocations: 0 / 7.168 GB, free: 51.05 MB / 410.7 MB Notification: Performance of Templates: time 0.04963/13.03, allocations: 32.68 MB / 7.2 GB, free: 35.39 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1)