Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001467/0.001467, allocations: 187.8 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.764/1.764, allocations: 194.3 MB / 203.1 MB, free: 9.312 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002109/0.002109, allocations: 120 kB / 248.1 MB, free: 6.34 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.165e-05/2.197e-05, allocations: 4 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1094, allocations: 44.49 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.07/16.17, allocations: 6.529 GB / 6.863 GB, free: 26.13 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003398/16.18, allocations: 81.08 kB / 6.864 GB, free: 26.05 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.364/19.54, allocations: 0.8269 GB / 7.69 GB, free: 0.9414 MB / 443.1 MB Notification: Performance of FrontEnd: time 1.704e-06/19.54, allocations: 0 / 7.69 GB, free: 0.9414 MB / 443.1 MB Notification: Performance of Transformations before backend: time 4.755e-05/19.54, allocations: 11.98 kB / 7.69 GB, free: 0.9297 MB / 443.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.3665/19.91, allocations: 2.878 MB / 7.693 GB, free: 38.94 MB / 443.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/19.91, allocations: 11.41 kB / 7.693 GB, free: 38.94 MB / 443.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004115/19.91, allocations: 63.3 kB / 7.693 GB, free: 38.92 MB / 443.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005537/19.91, allocations: 362.5 kB / 7.694 GB, free: 38.71 MB / 443.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/19.91, allocations: 14.53 kB / 7.694 GB, free: 38.71 MB / 443.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.313e-05/19.91, allocations: 23.67 kB / 7.694 GB, free: 38.71 MB / 443.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008862/19.91, allocations: 0.5707 MB / 7.694 GB, free: 38.71 MB / 443.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000683/19.91, allocations: 429.5 kB / 7.695 GB, free: 38.66 MB / 443.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/19.91, allocations: 2.625 kB / 7.695 GB, free: 38.66 MB / 443.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.873e-05/19.91, allocations: 0.7656 kB / 7.695 GB, free: 38.66 MB / 443.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/19.91, allocations: 10.91 kB / 7.695 GB, free: 38.66 MB / 443.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01224/19.92, allocations: 11.78 MB / 7.706 GB, free: 27.74 MB / 443.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007529/19.92, allocations: 0.5922 MB / 7.707 GB, free: 27.52 MB / 443.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/19.92, allocations: 237.1 kB / 7.707 GB, free: 27.51 MB / 443.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01997/19.94, allocations: 20.13 MB / 7.727 GB, free: 23.24 MB / 459.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/19.94, allocations: 41.97 kB / 7.727 GB, free: 23.2 MB / 459.1 MB Notification: Performance of pre-optimization done (n=50): time 2.895e-06/19.94, allocations: 1.562 kB / 7.727 GB, free: 23.2 MB / 459.1 MB Notification: Performance of matching and sorting (n=55): time 0.004232/19.95, allocations: 1.506 MB / 7.728 GB, free: 22.84 MB / 459.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/19.95, allocations: 57.34 kB / 7.728 GB, free: 22.78 MB / 459.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/19.95, allocations: 231.1 kB / 7.728 GB, free: 22.68 MB / 459.1 MB Notification: Performance of collectPreVariables (initialization): time 4.965e-05/19.95, allocations: 30.67 kB / 7.728 GB, free: 22.65 MB / 459.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/19.95, allocations: 203.2 kB / 7.729 GB, free: 22.52 MB / 459.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/19.95, allocations: 184.3 kB / 7.729 GB, free: 22.41 MB / 459.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/19.95, allocations: 2.312 kB / 7.729 GB, free: 22.41 MB / 459.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/19.95, allocations: 348.7 kB / 7.729 GB, free: 22.09 MB / 459.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/19.95, allocations: 194.1 kB / 7.729 GB, free: 22.09 MB / 459.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/19.95, allocations: 284.4 kB / 7.73 GB, free: 22.01 MB / 459.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007439/19.95, allocations: 326.8 kB / 7.73 GB, free: 22.01 MB / 459.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/19.95, allocations: 2.188 kB / 7.73 GB, free: 22.01 MB / 459.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001562/19.95, allocations: 0.7184 MB / 7.731 GB, free: 21.93 MB / 459.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/19.95, allocations: 7.25 kB / 7.731 GB, free: 21.93 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/19.95, allocations: 3.5 kB / 7.731 GB, free: 21.93 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000213/19.95, allocations: 76.81 kB / 7.731 GB, free: 21.9 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004805/19.95, allocations: 126.3 kB / 7.731 GB, free: 21.9 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/19.95, allocations: 3.195 MB / 7.734 GB, free: 18.93 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004076/19.95, allocations: 32.56 kB / 7.734 GB, free: 18.93 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.118e-05/19.95, allocations: 33.53 kB / 7.734 GB, free: 18.93 MB / 459.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002836/19.95, allocations: 127.4 kB / 7.734 GB, free: 18.82 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/19.95, allocations: 40.25 kB / 7.734 GB, free: 18.8 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/19.96, allocations: 0.7152 MB / 7.735 GB, free: 18.71 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/19.96, allocations: 5.719 kB / 7.735 GB, free: 18.71 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/19.96, allocations: 1.031 kB / 7.735 GB, free: 18.71 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001111/19.96, allocations: 0.7993 MB / 7.736 GB, free: 18.35 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002215/19.96, allocations: 1.353 MB / 7.737 GB, free: 18.02 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/19.96, allocations: 3.281 kB / 7.737 GB, free: 18.02 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004954/19.96, allocations: 117 kB / 7.737 GB, free: 18.02 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001478/19.96, allocations: 70.91 kB / 7.737 GB, free: 18 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/19.96, allocations: 10.72 kB / 7.737 GB, free: 18 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005369/19.96, allocations: 0.6867 MB / 7.738 GB, free: 17.41 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/19.96, allocations: 2.375 kB / 7.738 GB, free: 17.41 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/19.96, allocations: 0.9946 MB / 7.739 GB, free: 17.14 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/19.96, allocations: 120.4 kB / 7.739 GB, free: 17.03 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/19.96, allocations: 5.844 kB / 7.739 GB, free: 17.03 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004272/19.96, allocations: 31.98 kB / 7.739 GB, free: 17.02 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.158e-05/19.96, allocations: 42.53 kB / 7.739 GB, free: 17.02 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.847e-05/19.96, allocations: 38.09 kB / 7.739 GB, free: 17.02 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.0001872/19.96, allocations: 182.3 kB / 7.739 GB, free: 16.93 MB / 459.1 MB Notification: Performance of sort global known variables: time 1.2e-07/19.96, allocations: 0 / 7.739 GB, free: 16.93 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.01031/19.97, allocations: 1.936 MB / 7.741 GB, free: 16.54 MB / 459.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01603/19.99, allocations: 3.215 MB / 7.744 GB, free: 15.97 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.001802/19.99, allocations: 0.7408 MB / 7.745 GB, free: 15.76 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/19.99, allocations: 1.062 kB / 7.745 GB, free: 15.76 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007413/19.99, allocations: 292.9 kB / 7.745 GB, free: 15.75 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/19.99, allocations: 215.2 kB / 7.745 GB, free: 15.75 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/20, allocations: 0.8583 MB / 7.746 GB, free: 15.55 MB / 459.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005481/20, allocations: 0.8547 MB / 7.747 GB, free: 14.85 MB / 459.1 MB Notification: Performance of simCode: alias equations: time 0.0007378/20, allocations: 121.9 kB / 7.747 GB, free: 14.84 MB / 459.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/20, allocations: 61.55 kB / 7.747 GB, free: 14.83 MB / 459.1 MB Notification: Performance of SimCode: time 6.31e-07/20, allocations: 0 / 7.747 GB, free: 14.83 MB / 459.1 MB Notification: Performance of Templates: time 0.08689/20.08, allocations: 58.79 MB / 7.805 GB, free: 11.07 MB / 459.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)