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.001047/0.001047, allocations: 184.3 kB / 13.65 MB, free: 1.668 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.43/1.43, allocations: 194.3 MB / 208.4 MB, free: 6.734 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.001481/0.001481, allocations: 116.7 kB / 253.5 MB, free: 9.598 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.856e-05/3.858e-05, allocations: 0 / 304.9 MB, free: 29.81 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08107/0.08112, allocations: 44.51 MB / 349.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.419/8.5, allocations: 3.699 GB / 4.04 GB, free: 19.95 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/8.501, allocations: 68.84 kB / 4.04 GB, free: 19.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3224/8.823, allocations: 48.65 MB / 4.088 GB, free: 134.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.472e-06/8.823, allocations: 3.938 kB / 4.088 GB, free: 134.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/8.823, allocations: 3.844 kB / 4.088 GB, free: 134.4 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.001752/8.825, allocations: 0.6245 MB / 4.088 GB, free: 133.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.036e-05/8.825, allocations: 13.72 kB / 4.088 GB, free: 133.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/8.825, allocations: 14.88 kB / 4.088 GB, free: 133.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/8.825, allocations: 213.8 kB / 4.089 GB, free: 133.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/8.825, allocations: 14.64 kB / 4.089 GB, free: 133.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/8.825, allocations: 16.12 kB / 4.089 GB, free: 133.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003996/8.826, allocations: 236.1 kB / 4.089 GB, free: 133.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/8.826, allocations: 0 / 4.089 GB, free: 133.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/8.826, allocations: 10.77 kB / 4.089 GB, free: 133.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/8.826, allocations: 10.12 kB / 4.089 GB, free: 133.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000351/8.826, allocations: 233.1 kB / 4.089 GB, free: 133.5 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.001227/8.828, allocations: 0.6797 MB / 4.09 GB, free: 133 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004623/8.828, allocations: 210 kB / 4.09 GB, free: 132.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/8.828, allocations: 119.8 kB / 4.09 GB, free: 132.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002863/8.829, allocations: 358.7 kB / 4.091 GB, free: 132.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/8.829, allocations: 46.44 kB / 4.091 GB, free: 132.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.473e-06/8.829, allocations: 0 / 4.091 GB, free: 132.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001395/8.83, allocations: 0.4929 MB / 4.091 GB, free: 132.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/8.83, allocations: 88.97 kB / 4.091 GB, free: 132.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.154e-05/8.83, allocations: 108.6 kB / 4.091 GB, free: 132 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/8.83, allocations: 33.55 kB / 4.091 GB, free: 132 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/8.83, allocations: 104.6 kB / 4.091 GB, free: 131.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.812e-05/8.83, allocations: 129.4 kB / 4.091 GB, free: 131.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-05/8.83, allocations: 11.94 kB / 4.092 GB, free: 131.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.236e-05/8.83, allocations: 322.4 kB / 4.092 GB, free: 131.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/8.831, allocations: 113.7 kB / 4.092 GB, free: 131.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/8.831, allocations: 173.5 kB / 4.092 GB, free: 131.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/8.831, allocations: 130.2 kB / 4.092 GB, free: 131.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/8.831, allocations: 0 / 4.092 GB, free: 131.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005091/8.831, allocations: 371.8 kB / 4.093 GB, free: 131.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/8.831, allocations: 7.125 kB / 4.093 GB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/8.832, allocations: 3.031 kB / 4.093 GB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/8.832, allocations: 7.391 kB / 4.093 GB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/8.832, allocations: 89.86 kB / 4.093 GB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/8.832, allocations: 3.656 kB / 4.093 GB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/8.832, allocations: 30.03 kB / 4.093 GB, free: 131 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/8.832, allocations: 15.47 kB / 4.093 GB, free: 131 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 8.97e-05/8.832, allocations: 120.7 kB / 4.093 GB, free: 130.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/8.833, allocations: 23.28 kB / 4.093 GB, free: 130.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/8.833, allocations: 170.3 kB / 4.093 GB, free: 130.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/8.833, allocations: 7.234 kB / 4.093 GB, free: 130.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/8.833, allocations: 7.516 kB / 4.093 GB, free: 130.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/8.833, allocations: 3.125 kB / 4.093 GB, free: 130.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/8.834, allocations: 0.7085 MB / 4.094 GB, free: 130.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/8.834, allocations: 0 / 4.094 GB, free: 130.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000398/8.834, allocations: 84.45 kB / 4.094 GB, free: 130.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/8.834, allocations: 7.156 kB / 4.094 GB, free: 130.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/8.834, allocations: 14.02 kB / 4.094 GB, free: 130.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/8.834, allocations: 0 / 4.094 GB, free: 130.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/8.834, allocations: 3 kB / 4.094 GB, free: 130.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000744/8.835, allocations: 0.712 MB / 4.095 GB, free: 129.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/8.835, allocations: 124.4 kB / 4.095 GB, free: 129.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/8.835, allocations: 6.625 kB / 4.095 GB, free: 129.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/8.836, allocations: 17.34 kB / 4.095 GB, free: 129.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/8.836, allocations: 33.02 kB / 4.095 GB, free: 129.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/8.836, allocations: 13.09 kB / 4.095 GB, free: 129.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.444e-05/8.836, allocations: 100.6 kB / 4.095 GB, free: 129.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/8.836, allocations: 0 / 4.095 GB, free: 129.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008131/8.837, allocations: 181 kB / 4.095 GB, free: 129.5 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 (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.0009115/8.838, allocations: 0.6456 MB / 4.096 GB, free: 129.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004774/8.838, allocations: 286.3 kB / 4.096 GB, free: 129.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/8.838, allocations: 3.906 kB / 4.096 GB, free: 129.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002033/8.838, allocations: 149.2 kB / 4.096 GB, free: 129.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005801/8.839, allocations: 95.16 kB / 4.096 GB, free: 129.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009788/8.84, allocations: 483.8 kB / 4.097 GB, free: 128.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/8.84, allocations: 0.7487 MB / 4.097 GB, free: 128.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003781/8.841, allocations: 76.55 kB / 4.097 GB, free: 128.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/8.841, allocations: 31.67 kB / 4.097 GB, free: 128 MB / 410.7 MB Notification: Performance of SimCode: time 3.61e-07/8.841, allocations: 0 / 4.097 GB, free: 128 MB / 410.7 MB Notification: Performance of Templates: time 0.01714/8.858, allocations: 13.79 MB / 4.111 GB, free: 119 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)