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.007503/0.007503, allocations: 164.5 kB / 15.11 MB, free: 5.973 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.306/1.306, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001712/0.001712, allocations: 115.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003376, allocations: 8 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.244, allocations: 38.77 MB / 312.9 MB, free: 38.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.83/15.07, allocations: 6.605 GB / 6.911 GB, free: 96.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003704/15.07, allocations: 74.83 kB / 6.911 GB, free: 96.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7902/15.86, allocations: 190.5 MB / 7.097 GB, free: 51.95 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.545e-06/15.86, allocations: 0 / 7.097 GB, free: 51.95 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.215e-05/15.86, allocations: 8 kB / 7.097 GB, free: 51.94 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.009506/15.87, allocations: 1.457 MB / 7.098 GB, free: 50.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/15.87, allocations: 8.031 kB / 7.098 GB, free: 50.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003128/15.87, allocations: 23.77 kB / 7.098 GB, free: 50.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/15.87, allocations: 214.7 kB / 7.099 GB, free: 50.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/15.87, allocations: 8.328 kB / 7.099 GB, free: 50.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.16e-05/15.87, allocations: 27.98 kB / 7.099 GB, free: 50.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008397/15.87, allocations: 265.4 kB / 7.099 GB, free: 49.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/15.87, allocations: 0 / 7.099 GB, free: 49.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/15.87, allocations: 8 kB / 7.099 GB, free: 49.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/15.87, allocations: 7.984 kB / 7.099 GB, free: 49.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007691/15.87, allocations: 279.7 kB / 7.099 GB, free: 49.55 MB / 362.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.00153/15.87, allocations: 0.6862 MB / 7.1 GB, free: 48.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007139/15.87, allocations: 314.3 kB / 7.1 GB, free: 48.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01304/15.89, allocations: 10.06 MB / 7.11 GB, free: 36.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.657e-05/15.89, allocations: 34.97 kB / 7.11 GB, free: 36.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 6.472e-06/15.89, allocations: 0 / 7.11 GB, free: 36.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.00291/15.89, allocations: 0.6997 MB / 7.111 GB, free: 35.67 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/15.89, allocations: 81.3 kB / 7.111 GB, free: 35.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/15.89, allocations: 116.9 kB / 7.111 GB, free: 35.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/15.89, allocations: 33.7 kB / 7.111 GB, free: 35.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/15.89, allocations: 111.2 kB / 7.111 GB, free: 35.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.463e-05/15.89, allocations: 125.7 kB / 7.111 GB, free: 35.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/15.89, allocations: 8 kB / 7.111 GB, free: 35.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.399e-05/15.89, allocations: 326.8 kB / 7.111 GB, free: 34.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003079/15.89, allocations: 131.9 kB / 7.111 GB, free: 34.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003966/15.89, allocations: 215.6 kB / 7.112 GB, free: 34.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/15.89, allocations: 157.6 kB / 7.112 GB, free: 34.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/15.89, allocations: 0 / 7.112 GB, free: 34.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009398/15.89, allocations: 417.4 kB / 7.112 GB, free: 33.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/15.89, allocations: 4 kB / 7.112 GB, free: 33.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/15.89, allocations: 7.938 kB / 7.112 GB, free: 33.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/15.89, allocations: 4 kB / 7.112 GB, free: 33.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004583/15.89, allocations: 92.09 kB / 7.112 GB, free: 33.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/15.89, allocations: 11.89 kB / 7.112 GB, free: 33.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003178/15.89, allocations: 27.91 kB / 7.112 GB, free: 33.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/15.89, allocations: 19.98 kB / 7.112 GB, free: 33.75 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 () * 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.0001358/15.89, allocations: 137.8 kB / 7.113 GB, free: 33.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/15.89, allocations: 15.81 kB / 7.113 GB, free: 33.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004413/15.9, allocations: 196.5 kB / 7.113 GB, free: 33.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/15.9, allocations: 8 kB / 7.113 GB, free: 33.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/15.9, allocations: 0 / 7.113 GB, free: 33.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/15.9, allocations: 11.88 kB / 7.113 GB, free: 33.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/15.9, allocations: 0.9572 MB / 7.114 GB, free: 32.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/15.9, allocations: 3.938 kB / 7.114 GB, free: 32.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/15.9, allocations: 83.88 kB / 7.114 GB, free: 32.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/15.9, allocations: 8.156 kB / 7.114 GB, free: 32.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/15.9, allocations: 8 kB / 7.114 GB, free: 32.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/15.9, allocations: 7.984 kB / 7.114 GB, free: 32.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/15.9, allocations: 4 kB / 7.114 GB, free: 32.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/15.9, allocations: 0.8002 MB / 7.115 GB, free: 31.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/15.9, allocations: 128.8 kB / 7.115 GB, free: 31.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/15.9, allocations: 8 kB / 7.115 GB, free: 31.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/15.9, allocations: 24.03 kB / 7.115 GB, free: 31.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/15.9, allocations: 23.97 kB / 7.115 GB, free: 31.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/15.9, allocations: 16 kB / 7.115 GB, free: 31.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.961e-05/15.9, allocations: 103.2 kB / 7.115 GB, free: 31.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.433e-06/15.9, allocations: 0 / 7.115 GB, free: 31.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005859/15.91, allocations: 1.089 MB / 7.116 GB, free: 29.97 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 () * 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.009306/15.91, allocations: 1.599 MB / 7.117 GB, free: 28.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001193/15.92, allocations: 350.5 kB / 7.118 GB, free: 28.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/15.92, allocations: 0 / 7.118 GB, free: 28.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004228/15.92, allocations: 183.7 kB / 7.118 GB, free: 27.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006556/15.92, allocations: 96 kB / 7.118 GB, free: 27.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/15.92, allocations: 0.7514 MB / 7.119 GB, free: 27.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/15.92, allocations: 0.7494 MB / 7.12 GB, free: 26.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004075/15.92, allocations: 82.19 kB / 7.12 GB, free: 26.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/15.92, allocations: 35.41 kB / 7.12 GB, free: 26.2 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/15.92, allocations: 0 / 7.12 GB, free: 26.2 MB / 362.7 MB Notification: Performance of Templates: time 0.2808/16.2, allocations: 32.6 MB / 7.152 GB, free: 55.83 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)