Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009763/0.0009763, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 225.6 MB / 234.8 MB, free: 3.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008852/0.0008851, allocations: 96.12 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.144e-05/2.155e-05, allocations: 4 kB / 343.7 MB, free: 8.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1566, allocations: 51.48 MB / 395.2 MB, free: 4.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.58/18.74, allocations: 6.123 GB / 6.509 GB, free: 98.26 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/18.74, allocations: 78.78 kB / 6.509 GB, free: 98.26 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845/21.58, allocations: 0.7989 GB / 7.308 GB, free: 5.688 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.964e-06/21.58, allocations: 4 kB / 7.308 GB, free: 5.684 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.158e-05/21.58, allocations: 8 kB / 7.308 GB, free: 5.676 MB / 474.7 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.01443/21.6, allocations: 2.735 MB / 7.311 GB, free: 2.895 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/21.6, allocations: 8.031 kB / 7.311 GB, free: 2.887 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004155/21.6, allocations: 59.52 kB / 7.311 GB, free: 2.828 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000496/21.6, allocations: 358.5 kB / 7.311 GB, free: 2.441 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/21.6, allocations: 16 kB / 7.311 GB, free: 2.426 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.318e-05/21.6, allocations: 27.98 kB / 7.311 GB, free: 2.398 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008295/21.6, allocations: 0.6584 MB / 7.312 GB, free: 1.742 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006556/21.6, allocations: 483.9 kB / 7.312 GB, free: 1.262 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/21.6, allocations: 7.906 kB / 7.312 GB, free: 1.254 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.51e-05/21.6, allocations: 0 / 7.312 GB, free: 1.254 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/21.6, allocations: 15.94 kB / 7.312 GB, free: 1.238 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3833/21.98, allocations: 11.54 MB / 7.324 GB, free: 20.63 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008124/21.98, allocations: 489.9 kB / 7.324 GB, free: 20.61 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/21.99, allocations: 234.5 kB / 7.324 GB, free: 20.59 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0226/22.01, allocations: 20.97 MB / 7.345 GB, free: 31.49 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.561e-05/22.01, allocations: 40.78 kB / 7.345 GB, free: 31.45 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=50): time 2.645e-06/22.01, allocations: 3.875 kB / 7.345 GB, free: 31.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55): time 0.004333/22.01, allocations: 1.6 MB / 7.346 GB, free: 31.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/22.01, allocations: 58 kB / 7.346 GB, free: 31.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/22.01, allocations: 228.3 kB / 7.347 GB, free: 30.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/22.01, allocations: 31.83 kB / 7.347 GB, free: 30.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/22.01, allocations: 203.3 kB / 7.347 GB, free: 30.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.697e-05/22.01, allocations: 183.3 kB / 7.347 GB, free: 30.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/22.01, allocations: 0 / 7.347 GB, free: 30.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001222/22.01, allocations: 347.5 kB / 7.347 GB, free: 30.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/22.01, allocations: 211.4 kB / 7.348 GB, free: 30.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/22.01, allocations: 308.2 kB / 7.348 GB, free: 30.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008483/22.01, allocations: 353.6 kB / 7.348 GB, free: 30.29 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/22.01, allocations: 3.125 kB / 7.348 GB, free: 30.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001708/22.02, allocations: 0.7723 MB / 7.349 GB, free: 30.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/22.02, allocations: 6.156 kB / 7.349 GB, free: 30.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/22.02, allocations: 0 / 7.349 GB, free: 30.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001954/22.02, allocations: 81.28 kB / 7.349 GB, free: 30.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000456/22.02, allocations: 125.6 kB / 7.349 GB, free: 30.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/22.02, allocations: 3.199 MB / 7.352 GB, free: 27.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/22.02, allocations: 26.44 kB / 7.352 GB, free: 27.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.535e-05/22.02, allocations: 38.27 kB / 7.352 GB, free: 27.21 MB / 0.4948 GB 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: 11 * 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.0002085/22.02, allocations: 119.5 kB / 7.352 GB, free: 27.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002605/22.02, allocations: 42.09 kB / 7.352 GB, free: 27.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/22.02, allocations: 0.8595 MB / 7.353 GB, free: 26.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/22.02, allocations: 6.875 kB / 7.353 GB, free: 26.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/22.02, allocations: 0 / 7.353 GB, free: 26.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001101/22.02, allocations: 0.7955 MB / 7.354 GB, free: 26.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/22.02, allocations: 1.278 MB / 7.355 GB, free: 26.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/22.02, allocations: 2.5 kB / 7.355 GB, free: 26.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000415/22.02, allocations: 108.6 kB / 7.355 GB, free: 26.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001246/22.02, allocations: 69.81 kB / 7.355 GB, free: 26.29 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/22.02, allocations: 14.08 kB / 7.356 GB, free: 26.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004753/22.03, allocations: 0.6706 MB / 7.356 GB, free: 25.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/22.03, allocations: 6.188 kB / 7.356 GB, free: 25.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/22.03, allocations: 0.9461 MB / 7.357 GB, free: 25.47 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/22.03, allocations: 120.1 kB / 7.357 GB, free: 25.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.819e-05/22.03, allocations: 13.62 kB / 7.357 GB, free: 25.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/22.03, allocations: 20.61 kB / 7.357 GB, free: 25.36 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/22.03, allocations: 35.81 kB / 7.357 GB, free: 25.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.818e-05/22.03, allocations: 38.55 kB / 7.357 GB, free: 25.36 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001973/22.03, allocations: 198.5 kB / 7.358 GB, free: 25.29 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/22.03, allocations: 0 / 7.358 GB, free: 25.29 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00872/22.04, allocations: 1.934 MB / 7.359 GB, free: 25.29 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (53): * Single equations (assignments): 52 * 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.01472/22.05, allocations: 3.058 MB / 7.362 GB, free: 25.11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001252/22.05, allocations: 0.7608 MB / 7.363 GB, free: 24.89 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/22.05, allocations: 3.281 kB / 7.363 GB, free: 24.89 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003393/22.05, allocations: 281.4 kB / 7.363 GB, free: 24.88 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/22.05, allocations: 193.5 kB / 7.364 GB, free: 24.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/22.06, allocations: 0.8311 MB / 7.364 GB, free: 24.72 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/22.06, allocations: 0.8431 MB / 7.365 GB, free: 24.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005028/22.06, allocations: 127.2 kB / 7.365 GB, free: 24.02 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/22.06, allocations: 53.95 kB / 7.365 GB, free: 24.01 MB / 0.4948 GB Notification: Performance of SimCode: time 3.3e-07/22.06, allocations: 0 / 7.365 GB, free: 24.01 MB / 0.4948 GB Notification: Performance of Templates: time 0.07001/22.13, allocations: 52.83 MB / 7.417 GB, free: 22.32 MB / 0.4948 GB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)