Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001791/0.001791, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.566/1.566, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001673/0.001673, allocations: 103.5 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.298e-05/4.301e-05, allocations: 4 kB / 268.9 MB, free: 20.94 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09403/0.09409, allocations: 38.78 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.91/17.01, allocations: 6.605 GB / 6.906 GB, free: 82.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/17.01, allocations: 70.11 kB / 6.906 GB, free: 82.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7984/17.81, allocations: 190.2 MB / 7.091 GB, free: 39.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.144e-06/17.81, allocations: 0 / 7.091 GB, free: 39.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.691e-05/17.81, allocations: 4 kB / 7.091 GB, free: 39.83 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.009176/17.82, allocations: 1.449 MB / 7.093 GB, free: 38.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/17.82, allocations: 8.031 kB / 7.093 GB, free: 38.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/17.82, allocations: 23.77 kB / 7.093 GB, free: 38.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/17.82, allocations: 214.8 kB / 7.093 GB, free: 38.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/17.82, allocations: 12.33 kB / 7.093 GB, free: 38.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/17.82, allocations: 20 kB / 7.093 GB, free: 38.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005736/17.82, allocations: 249.5 kB / 7.093 GB, free: 37.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/17.82, allocations: 0 / 7.093 GB, free: 37.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/17.82, allocations: 4 kB / 7.093 GB, free: 37.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/17.82, allocations: 8 kB / 7.093 GB, free: 37.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/17.82, allocations: 247.8 kB / 7.094 GB, free: 37.51 MB / 362.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.001151/17.82, allocations: 0.6877 MB / 7.094 GB, free: 36.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005248/17.82, allocations: 294.3 kB / 7.094 GB, free: 36.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/17.82, allocations: 117.7 kB / 7.095 GB, free: 36.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009386/17.83, allocations: 10.08 MB / 7.104 GB, free: 24.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/17.83, allocations: 38.5 kB / 7.104 GB, free: 24.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.297e-06/17.83, allocations: 4 kB / 7.104 GB, free: 24.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001975/17.83, allocations: 0.5042 MB / 7.105 GB, free: 23.67 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/17.83, allocations: 85.3 kB / 7.105 GB, free: 23.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/17.83, allocations: 116.9 kB / 7.105 GB, free: 23.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/17.83, allocations: 37.69 kB / 7.105 GB, free: 23.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/17.83, allocations: 108.6 kB / 7.105 GB, free: 23.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.32e-05/17.83, allocations: 126.1 kB / 7.105 GB, free: 23.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-05/17.83, allocations: 11.94 kB / 7.105 GB, free: 23.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.685e-05/17.83, allocations: 326.8 kB / 7.106 GB, free: 22.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/17.83, allocations: 112 kB / 7.106 GB, free: 22.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/17.83, allocations: 183.8 kB / 7.106 GB, free: 22.51 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/17.83, allocations: 129 kB / 7.106 GB, free: 22.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/17.83, allocations: 0 / 7.106 GB, free: 22.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006477/17.83, allocations: 369.5 kB / 7.106 GB, free: 22.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/17.83, allocations: 7.938 kB / 7.107 GB, free: 22.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/17.83, allocations: 11.94 kB / 7.107 GB, free: 22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/17.83, allocations: 4.219 kB / 7.107 GB, free: 22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004435/17.83, allocations: 91.88 kB / 7.107 GB, free: 21.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/17.83, allocations: 7.953 kB / 7.107 GB, free: 21.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002913/17.83, allocations: 23.89 kB / 7.107 GB, free: 21.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/17.83, allocations: 19.98 kB / 7.107 GB, free: 21.86 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 () * 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.0001038/17.83, allocations: 128.9 kB / 7.107 GB, free: 21.72 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/17.83, allocations: 23.8 kB / 7.107 GB, free: 21.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004607/17.83, allocations: 181.7 kB / 7.107 GB, free: 21.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/17.83, allocations: 7.938 kB / 7.107 GB, free: 21.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/17.83, allocations: 8 kB / 7.107 GB, free: 21.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/17.83, allocations: 7.938 kB / 7.107 GB, free: 21.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/17.84, allocations: 0.9112 MB / 7.108 GB, free: 20.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/17.84, allocations: 0 / 7.108 GB, free: 20.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00038/17.84, allocations: 79.88 kB / 7.108 GB, free: 20.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/17.84, allocations: 4 kB / 7.108 GB, free: 20.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/17.84, allocations: 15.98 kB / 7.108 GB, free: 20.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/17.84, allocations: 4 kB / 7.108 GB, free: 20.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/17.84, allocations: 7.938 kB / 7.108 GB, free: 20.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008895/17.84, allocations: 0.7247 MB / 7.109 GB, free: 19.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/17.84, allocations: 116.9 kB / 7.109 GB, free: 19.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/17.84, allocations: 8 kB / 7.109 GB, free: 19.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/17.84, allocations: 19.98 kB / 7.109 GB, free: 19.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/17.84, allocations: 31.97 kB / 7.109 GB, free: 19.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/17.84, allocations: 23.94 kB / 7.109 GB, free: 19.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.499e-05/17.84, allocations: 95.27 kB / 7.109 GB, free: 19.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/17.84, allocations: 3.938 kB / 7.109 GB, free: 19.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00603/17.84, allocations: 1.089 MB / 7.11 GB, free: 18.2 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 () * 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.007478/17.85, allocations: 1.605 MB / 7.112 GB, free: 16.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007069/17.85, allocations: 295.7 kB / 7.112 GB, free: 16.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/17.85, allocations: 4 kB / 7.112 GB, free: 16.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002544/17.85, allocations: 159.8 kB / 7.112 GB, free: 16.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006534/17.85, allocations: 88.66 kB / 7.112 GB, free: 16.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/17.85, allocations: 487.6 kB / 7.113 GB, free: 15.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/17.85, allocations: 0.7456 MB / 7.113 GB, free: 14.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003811/17.85, allocations: 85.94 kB / 7.113 GB, free: 14.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/17.86, allocations: 39.42 kB / 7.113 GB, free: 14.65 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/17.86, allocations: 0 / 7.113 GB, free: 14.65 MB / 362.7 MB Notification: Performance of Templates: time 0.3197/18.17, allocations: 33.99 MB / 7.147 GB, free: 51.54 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1)