Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.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.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001007/0.001007, allocations: 179.5 kB / 16.38 MB, free: 5.762 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.216/1.216, allocations: 194.5 MB / 211.6 MB, free: 3.055 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.001564/0.001564, allocations: 117.8 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003409, allocations: 11.98 kB / 310.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07893/0.07929, allocations: 44.5 MB / 355 MB, free: 2.359 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.752/5.831, allocations: 3.699 GB / 4.046 GB, free: 79.45 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/5.831, allocations: 71.97 kB / 4.046 GB, free: 79.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09255/5.924, allocations: 48.76 MB / 4.094 GB, free: 30.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/5.924, allocations: 0 / 4.094 GB, free: 30.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.099e-05/5.924, allocations: 5.125 kB / 4.094 GB, free: 30.3 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.001449/5.925, allocations: 0.6348 MB / 4.094 GB, free: 29.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/5.925, allocations: 12.03 kB / 4.094 GB, free: 29.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/5.926, allocations: 19.81 kB / 4.094 GB, free: 29.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/5.926, allocations: 214.8 kB / 4.094 GB, free: 29.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/5.926, allocations: 8.328 kB / 4.094 GB, free: 29.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/5.926, allocations: 19.94 kB / 4.094 GB, free: 29.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/5.926, allocations: 261.4 kB / 4.095 GB, free: 29.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/5.926, allocations: 0 / 4.095 GB, free: 29.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/5.926, allocations: 12 kB / 4.095 GB, free: 29.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/5.926, allocations: 7.984 kB / 4.095 GB, free: 29.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004908/5.927, allocations: 260.4 kB / 4.095 GB, free: 28.77 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.001085/5.928, allocations: 0.6813 MB / 4.096 GB, free: 28.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005069/5.929, allocations: 217.2 kB / 4.096 GB, free: 27.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002377/5.929, allocations: 368.3 kB / 4.096 GB, free: 27.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/5.929, allocations: 34.56 kB / 4.096 GB, free: 27.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.362e-06/5.929, allocations: 0 / 4.096 GB, free: 27.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002041/5.931, allocations: 0.6751 MB / 4.097 GB, free: 26.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/5.931, allocations: 81.3 kB / 4.097 GB, free: 26.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.831e-05/5.931, allocations: 109.2 kB / 4.097 GB, free: 26.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/5.931, allocations: 29.7 kB / 4.097 GB, free: 26.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.26e-05/5.931, allocations: 108.8 kB / 4.097 GB, free: 26.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.32e-05/5.931, allocations: 126.2 kB / 4.097 GB, free: 26.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.882e-05/5.931, allocations: 8.656 kB / 4.097 GB, free: 26.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.12e-05/5.931, allocations: 330.8 kB / 4.098 GB, free: 25.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002922/5.932, allocations: 131.9 kB / 4.098 GB, free: 25.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/5.932, allocations: 211.3 kB / 4.098 GB, free: 25.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/5.932, allocations: 154.6 kB / 4.098 GB, free: 25.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/5.932, allocations: 0 / 4.098 GB, free: 25.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007304/5.933, allocations: 406.8 kB / 4.098 GB, free: 24.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/5.933, allocations: 8 kB / 4.098 GB, free: 24.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/5.933, allocations: 3.938 kB / 4.098 GB, free: 24.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/5.933, allocations: 4 kB / 4.098 GB, free: 24.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/5.933, allocations: 91.81 kB / 4.099 GB, free: 24.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/5.933, allocations: 4 kB / 4.099 GB, free: 24.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/5.934, allocations: 36.06 kB / 4.099 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/5.934, allocations: 12 kB / 4.099 GB, free: 24.74 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.0001039/5.934, allocations: 147.1 kB / 4.099 GB, free: 24.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/5.934, allocations: 19.81 kB / 4.099 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003393/5.934, allocations: 182.9 kB / 4.099 GB, free: 24.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/5.934, allocations: 7.984 kB / 4.099 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/5.934, allocations: 0 / 4.099 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/5.934, allocations: 8 kB / 4.099 GB, free: 24.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/5.936, allocations: 0.7542 MB / 4.1 GB, free: 23.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/5.936, allocations: 0 / 4.1 GB, free: 23.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/5.936, allocations: 79.88 kB / 4.1 GB, free: 23.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/5.936, allocations: 7.953 kB / 4.1 GB, free: 23.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/5.936, allocations: 16.16 kB / 4.1 GB, free: 23.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/5.936, allocations: 7.938 kB / 4.1 GB, free: 23.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/5.936, allocations: 0 / 4.1 GB, free: 23.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/5.937, allocations: 0.7731 MB / 4.101 GB, free: 22.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.914e-05/5.937, allocations: 120.8 kB / 4.101 GB, free: 22.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/5.937, allocations: 10.16 kB / 4.101 GB, free: 22.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/5.938, allocations: 31.97 kB / 4.101 GB, free: 22.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/5.938, allocations: 27.88 kB / 4.101 GB, free: 22.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/5.938, allocations: 12 kB / 4.101 GB, free: 22.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.551e-05/5.938, allocations: 95.27 kB / 4.101 GB, free: 22.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/5.938, allocations: 0 / 4.101 GB, free: 22.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006631/5.938, allocations: 175.9 kB / 4.101 GB, free: 22.12 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 (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.0007627/5.939, allocations: 0.651 MB / 4.102 GB, free: 21.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006981/5.94, allocations: 339.5 kB / 4.102 GB, free: 21.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/5.94, allocations: 0 / 4.102 GB, free: 21.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000306/5.94, allocations: 175.7 kB / 4.102 GB, free: 20.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004842/5.941, allocations: 98.28 kB / 4.102 GB, free: 20.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/5.942, allocations: 0.735 MB / 4.103 GB, free: 20.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/5.942, allocations: 0.7413 MB / 4.104 GB, free: 19.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000367/5.942, allocations: 77.88 kB / 4.104 GB, free: 19.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/5.942, allocations: 31.42 kB / 4.104 GB, free: 19.22 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/5.942, allocations: 0 / 4.104 GB, free: 19.22 MB / 410.7 MB Notification: Performance of Templates: time 0.01355/5.956, allocations: 12.19 MB / 4.116 GB, free: 7.043 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.2_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.MoistAir.pipe 2>&1)