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.001607/0.001607, allocations: 176.4 kB / 13.65 MB, free: 1.664 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.55/1.55, allocations: 194.3 MB / 208.4 MB, free: 6.719 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.001651/0.001651, allocations: 124.7 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.608e-05/2.609e-05, allocations: 8 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09405/0.09409, allocations: 44.51 MB / 349.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.22/15.31, allocations: 6.611 GB / 6.952 GB, free: 94.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/15.31, allocations: 78.98 kB / 6.953 GB, free: 94.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7898/16.1, allocations: 191.1 MB / 7.139 GB, free: 76.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/16.1, allocations: 3.688 kB / 7.139 GB, free: 76.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.777e-05/16.1, allocations: 0 / 7.139 GB, free: 76.76 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.008592/16.11, allocations: 1.443 MB / 7.141 GB, free: 75.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/16.11, allocations: 7.781 kB / 7.141 GB, free: 75.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/16.11, allocations: 23.03 kB / 7.141 GB, free: 75.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/16.11, allocations: 211.8 kB / 7.141 GB, free: 75.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/16.11, allocations: 14.05 kB / 7.141 GB, free: 75.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/16.11, allocations: 14.91 kB / 7.141 GB, free: 75.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006082/16.11, allocations: 255.3 kB / 7.141 GB, free: 75.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/16.11, allocations: 0 / 7.141 GB, free: 75.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/16.11, allocations: 7.375 kB / 7.141 GB, free: 75.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/16.11, allocations: 6.438 kB / 7.141 GB, free: 75.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004771/16.11, allocations: 242.8 kB / 7.141 GB, free: 75.56 MB / 410.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.001188/16.11, allocations: 0.6943 MB / 7.142 GB, free: 75.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005098/16.11, allocations: 303 kB / 7.142 GB, free: 75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/16.11, allocations: 117.8 kB / 7.142 GB, free: 74.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01005/16.12, allocations: 10.08 MB / 7.152 GB, free: 64.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/16.12, allocations: 37.14 kB / 7.152 GB, free: 64.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.006e-06/16.12, allocations: 3.406 kB / 7.152 GB, free: 64.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002142/16.12, allocations: 0.5114 MB / 7.153 GB, free: 64.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/16.12, allocations: 91.86 kB / 7.153 GB, free: 64.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/16.12, allocations: 117.8 kB / 7.153 GB, free: 64.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/16.12, allocations: 36.17 kB / 7.153 GB, free: 64.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/16.12, allocations: 107.1 kB / 7.153 GB, free: 64.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.976e-05/16.12, allocations: 123.3 kB / 7.153 GB, free: 64.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/16.13, allocations: 6.906 kB / 7.153 GB, free: 64.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.267e-05/16.13, allocations: 324.3 kB / 7.154 GB, free: 63.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/16.13, allocations: 111.8 kB / 7.154 GB, free: 63.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/16.13, allocations: 180.6 kB / 7.154 GB, free: 63.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/16.13, allocations: 136.2 kB / 7.154 GB, free: 63.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/16.13, allocations: 0 / 7.154 GB, free: 63.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006819/16.13, allocations: 368.5 kB / 7.154 GB, free: 63.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/16.13, allocations: 9.938 kB / 7.154 GB, free: 63.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/16.13, allocations: 3.906 kB / 7.154 GB, free: 63.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/16.13, allocations: 2.5 kB / 7.154 GB, free: 63.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004616/16.13, allocations: 97.53 kB / 7.154 GB, free: 63.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/16.13, allocations: 3.594 kB / 7.154 GB, free: 63.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/16.13, allocations: 30.22 kB / 7.154 GB, free: 63.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.752e-05/16.13, allocations: 15.25 kB / 7.154 GB, free: 63.78 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 () * 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.0001136/16.13, allocations: 126.8 kB / 7.155 GB, free: 63.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/16.13, allocations: 26.47 kB / 7.155 GB, free: 63.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004972/16.13, allocations: 186.6 kB / 7.155 GB, free: 63.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/16.13, allocations: 3.812 kB / 7.155 GB, free: 63.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/16.13, allocations: 4 kB / 7.155 GB, free: 63.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/16.13, allocations: 7.609 kB / 7.155 GB, free: 63.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/16.13, allocations: 0.9092 MB / 7.156 GB, free: 63.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/16.13, allocations: 7.969 kB / 7.156 GB, free: 63.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/16.13, allocations: 81.69 kB / 7.156 GB, free: 63.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/16.13, allocations: 8.234 kB / 7.156 GB, free: 63.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/16.13, allocations: 10.06 kB / 7.156 GB, free: 63.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/16.13, allocations: 3.719 kB / 7.156 GB, free: 63.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/16.13, allocations: 3.953 kB / 7.156 GB, free: 63.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009102/16.13, allocations: 0.7286 MB / 7.156 GB, free: 62.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/16.13, allocations: 124.2 kB / 7.157 GB, free: 62.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/16.13, allocations: 7.781 kB / 7.157 GB, free: 62.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/16.13, allocations: 23.27 kB / 7.157 GB, free: 62.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/16.13, allocations: 30.5 kB / 7.157 GB, free: 62.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/16.13, allocations: 21.94 kB / 7.157 GB, free: 62.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.945e-05/16.13, allocations: 90.81 kB / 7.157 GB, free: 62.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/16.13, allocations: 0 / 7.157 GB, free: 62.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005902/16.14, allocations: 1.096 MB / 7.158 GB, free: 61.91 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 () * 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.007398/16.15, allocations: 1.593 MB / 7.159 GB, free: 60.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00073/16.15, allocations: 290.9 kB / 7.16 GB, free: 60.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/16.15, allocations: 4 kB / 7.16 GB, free: 60.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002764/16.15, allocations: 162.7 kB / 7.16 GB, free: 60.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006549/16.15, allocations: 102.4 kB / 7.16 GB, free: 60.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000875/16.15, allocations: 444.7 kB / 7.16 GB, free: 59.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/16.15, allocations: 0.747 MB / 7.161 GB, free: 58.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003956/16.15, allocations: 92.84 kB / 7.161 GB, free: 58.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/16.15, allocations: 31.19 kB / 7.161 GB, free: 58.82 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/16.15, allocations: 4 kB / 7.161 GB, free: 58.81 MB / 410.7 MB Notification: Performance of Templates: time 0.0431/16.19, allocations: 34.06 MB / 7.194 GB, free: 28.36 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)