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.0009361/0.0009362, allocations: 164.5 kB / 7.636 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.166/1.166, allocations: 170.7 MB / 178.7 MB, free: 15.57 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.001655/0.001655, allocations: 107.5 kB / 218 MB, free: 8.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.66e-05/1.658e-05, allocations: 4 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06488/0.06491, allocations: 38.77 MB / 301 MB, free: 3.637 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.039/9.104, allocations: 3.693 GB / 3.987 GB, free: 78.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/9.104, allocations: 67.72 kB / 3.987 GB, free: 78.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1004/9.205, allocations: 47.65 MB / 4.033 GB, free: 35.6 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.185e-06/9.205, allocations: 3.984 kB / 4.033 GB, free: 35.6 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.623e-05/9.205, allocations: 4 kB / 4.033 GB, free: 35.59 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001718/9.207, allocations: 0.6275 MB / 4.034 GB, free: 34.92 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/9.207, allocations: 8.031 kB / 4.034 GB, free: 34.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/9.207, allocations: 19.81 kB / 4.034 GB, free: 34.89 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/9.207, allocations: 214.9 kB / 4.034 GB, free: 34.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/9.207, allocations: 4 kB / 4.034 GB, free: 34.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/9.207, allocations: 15.91 kB / 4.034 GB, free: 34.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003403/9.208, allocations: 212.5 kB / 4.034 GB, free: 34.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/9.208, allocations: 209.2 kB / 4.034 GB, free: 34.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/9.208, allocations: 0 / 4.034 GB, free: 34.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/9.208, allocations: 3.984 kB / 4.034 GB, free: 34.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/9.208, allocations: 8 kB / 4.035 GB, free: 34.19 MB / 346.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.001201/9.209, allocations: 0.6481 MB / 4.035 GB, free: 33.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004268/9.21, allocations: 185.3 kB / 4.035 GB, free: 33.28 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/9.21, allocations: 113.6 kB / 4.035 GB, free: 33.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00032/9.21, allocations: 356.4 kB / 4.036 GB, free: 32.74 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/9.21, allocations: 34.56 kB / 4.036 GB, free: 32.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 1.563e-06/9.21, allocations: 0 / 4.036 GB, free: 32.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001417/9.212, allocations: 0.4928 MB / 4.036 GB, free: 32.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/9.212, allocations: 81.3 kB / 4.036 GB, free: 32.1 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.344e-05/9.212, allocations: 109.2 kB / 4.036 GB, free: 31.99 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/9.212, allocations: 25.7 kB / 4.036 GB, free: 31.96 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/9.212, allocations: 108.9 kB / 4.037 GB, free: 31.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.834e-05/9.212, allocations: 122.1 kB / 4.037 GB, free: 31.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/9.212, allocations: 3.938 kB / 4.037 GB, free: 31.72 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.747e-05/9.212, allocations: 330.8 kB / 4.037 GB, free: 31.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/9.212, allocations: 103.9 kB / 4.037 GB, free: 31.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/9.212, allocations: 167.9 kB / 4.037 GB, free: 31.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/9.213, allocations: 141.3 kB / 4.037 GB, free: 30.96 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/9.213, allocations: 0 / 4.037 GB, free: 30.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005048/9.213, allocations: 345.9 kB / 4.038 GB, free: 30.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/9.213, allocations: 7.906 kB / 4.038 GB, free: 30.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/9.213, allocations: 4.219 kB / 4.038 GB, free: 30.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/9.213, allocations: 11.95 kB / 4.038 GB, free: 30.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004415/9.214, allocations: 87.88 kB / 4.038 GB, free: 30.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/9.214, allocations: 7.984 kB / 4.038 GB, free: 30.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/9.214, allocations: 19.89 kB / 4.038 GB, free: 30.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/9.214, allocations: 15.98 kB / 4.038 GB, free: 30.46 MB / 346.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 9.315e-05/9.214, allocations: 112.9 kB / 4.038 GB, free: 30.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/9.214, allocations: 15.91 kB / 4.038 GB, free: 30.33 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004206/9.214, allocations: 182.1 kB / 4.038 GB, free: 30.15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/9.214, allocations: 7.953 kB / 4.038 GB, free: 30.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/9.215, allocations: 0 / 4.038 GB, free: 30.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/9.215, allocations: 3.984 kB / 4.038 GB, free: 30.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009179/9.215, allocations: 0.6483 MB / 4.039 GB, free: 29.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/9.215, allocations: 0 / 4.039 GB, free: 29.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/9.216, allocations: 83.86 kB / 4.039 GB, free: 29.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/9.216, allocations: 4 kB / 4.039 GB, free: 29.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/9.216, allocations: 8.141 kB / 4.039 GB, free: 29.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/9.216, allocations: 11.94 kB / 4.039 GB, free: 29.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/9.216, allocations: 8 kB / 4.039 GB, free: 29.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007456/9.217, allocations: 0.6979 MB / 4.04 GB, free: 28.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.242e-05/9.217, allocations: 128.8 kB / 4.04 GB, free: 28.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/9.217, allocations: 0 / 4.04 GB, free: 28.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/9.217, allocations: 16.05 kB / 4.04 GB, free: 28.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/9.217, allocations: 27.92 kB / 4.04 GB, free: 28.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/9.217, allocations: 15.98 kB / 4.04 GB, free: 28.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.28e-05/9.217, allocations: 95.27 kB / 4.04 GB, free: 28.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/9.217, allocations: 288 / 4.04 GB, free: 28.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007032/9.218, allocations: 163.9 kB / 4.04 GB, free: 28.09 MB / 346.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.001009/9.219, allocations: 0.7324 MB / 4.041 GB, free: 27.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004126/9.219, allocations: 263.8 kB / 4.041 GB, free: 27.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/9.219, allocations: 0 / 4.041 GB, free: 27.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/9.22, allocations: 144.3 kB / 4.041 GB, free: 26.95 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005892/9.22, allocations: 85.36 kB / 4.041 GB, free: 26.86 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/9.221, allocations: 486.5 kB / 4.042 GB, free: 26.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/9.222, allocations: 0.7335 MB / 4.042 GB, free: 25.58 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003728/9.222, allocations: 78 kB / 4.042 GB, free: 25.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/9.222, allocations: 39.42 kB / 4.043 GB, free: 25.46 MB / 346.7 MB Notification: Performance of SimCode: time 3.61e-07/9.222, allocations: 0 / 4.043 GB, free: 25.46 MB / 346.7 MB Notification: Performance of Templates: time 0.01223/9.234, allocations: 8.256 MB / 4.051 GB, free: 17.2 MB / 346.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)