Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001372/0.001372, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 90.7 kB / 262.4 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.145e-05/2.147e-05, allocations: 0 / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1483, allocations: 47.58 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.27/18.41, allocations: 6.597 GB / 6.951 GB, free: 37.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/18.42, allocations: 73.53 kB / 6.952 GB, free: 37.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.385/21.8, allocations: 0.8215 GB / 7.773 GB, free: 39.33 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.463e-06/21.8, allocations: 0 / 7.773 GB, free: 39.33 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.353e-05/21.8, allocations: 11.78 kB / 7.773 GB, free: 39.32 MB / 458.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.01533/21.82, allocations: 2.88 MB / 7.776 GB, free: 37.53 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/21.82, allocations: 9.438 kB / 7.776 GB, free: 37.53 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006114/21.82, allocations: 56.62 kB / 7.776 GB, free: 37.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006739/21.82, allocations: 370.7 kB / 7.776 GB, free: 37.27 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/21.82, allocations: 11.81 kB / 7.776 GB, free: 37.27 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-05/21.82, allocations: 30.31 kB / 7.776 GB, free: 37.26 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009573/21.82, allocations: 0.6664 MB / 7.777 GB, free: 37.16 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007017/21.82, allocations: 486.3 kB / 7.777 GB, free: 36.96 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/21.82, allocations: 0 / 7.777 GB, free: 36.96 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.046e-05/21.82, allocations: 3.688 kB / 7.777 GB, free: 36.96 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/21.82, allocations: 13.16 kB / 7.777 GB, free: 36.96 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01293/21.83, allocations: 11.55 MB / 7.789 GB, free: 25.79 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008748/21.83, allocations: 491.2 kB / 7.789 GB, free: 25.6 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/21.83, allocations: 232.2 kB / 7.789 GB, free: 25.51 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02568/21.86, allocations: 20.97 MB / 7.81 GB, free: 19.93 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.457e-05/21.86, allocations: 42.94 kB / 7.81 GB, free: 19.88 MB / 474.7 MB Notification: Performance of pre-optimization done (n=50): time 2.785e-06/21.86, allocations: 0 / 7.81 GB, free: 19.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=55): time 0.004819/21.86, allocations: 1.606 MB / 7.812 GB, free: 19.14 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/21.86, allocations: 59.16 kB / 7.812 GB, free: 19.08 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/21.86, allocations: 223.8 kB / 7.812 GB, free: 18.94 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/21.86, allocations: 28.64 kB / 7.812 GB, free: 18.91 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/21.86, allocations: 202.7 kB / 7.812 GB, free: 18.74 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/21.86, allocations: 191.2 kB / 7.812 GB, free: 18.59 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/21.86, allocations: 0 / 7.812 GB, free: 18.59 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/21.86, allocations: 341 kB / 7.813 GB, free: 18.27 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/21.86, allocations: 218.5 kB / 7.813 GB, free: 18.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/21.86, allocations: 305.9 kB / 7.813 GB, free: 18 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008599/21.87, allocations: 354.7 kB / 7.813 GB, free: 17.88 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/21.87, allocations: 3.969 kB / 7.813 GB, free: 17.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001715/21.87, allocations: 0.766 MB / 7.814 GB, free: 17.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/21.87, allocations: 6.312 kB / 7.814 GB, free: 17.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/21.87, allocations: 6.312 kB / 7.814 GB, free: 17.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002147/21.87, allocations: 78.84 kB / 7.814 GB, free: 17.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004957/21.87, allocations: 121.2 kB / 7.814 GB, free: 17.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/21.87, allocations: 3.193 MB / 7.817 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003986/21.87, allocations: 38.06 kB / 7.817 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-05/21.87, allocations: 36.09 kB / 7.818 GB, free: 14.38 MB / 474.7 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: 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.000251/21.87, allocations: 119.9 kB / 7.818 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002815/21.87, allocations: 40.06 kB / 7.818 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/21.87, allocations: 0.8628 MB / 7.819 GB, free: 13.83 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/21.87, allocations: 8 kB / 7.819 GB, free: 13.82 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/21.87, allocations: 0 / 7.819 GB, free: 13.82 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00111/21.87, allocations: 0.7932 MB / 7.819 GB, free: 13.03 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/21.88, allocations: 1.279 MB / 7.821 GB, free: 11.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/21.88, allocations: 4.062 kB / 7.821 GB, free: 11.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004238/21.88, allocations: 104.9 kB / 7.821 GB, free: 11.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001391/21.88, allocations: 66.88 kB / 7.821 GB, free: 11.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.666e-05/21.88, allocations: 19.88 kB / 7.821 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005129/21.88, allocations: 0.6727 MB / 7.821 GB, free: 11.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/21.88, allocations: 0 / 7.821 GB, free: 11.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/21.88, allocations: 0.9441 MB / 7.822 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/21.88, allocations: 131.9 kB / 7.822 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.28e-05/21.88, allocations: 3.953 kB / 7.822 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003839/21.88, allocations: 22.66 kB / 7.822 GB, free: 10.05 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/21.88, allocations: 39.23 kB / 7.822 GB, free: 10.03 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.465e-05/21.88, allocations: 39.22 kB / 7.823 GB, free: 10 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002136/21.88, allocations: 202.2 kB / 7.823 GB, free: 9.816 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/21.88, allocations: 0 / 7.823 GB, free: 9.816 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00974/21.89, allocations: 1.939 MB / 7.825 GB, free: 7.941 MB / 474.7 MB 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.01434/21.9, allocations: 3.212 MB / 7.828 GB, free: 5.305 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001322/21.91, allocations: 0.7578 MB / 7.828 GB, free: 4.574 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/21.91, allocations: 0 / 7.828 GB, free: 4.574 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003484/21.91, allocations: 281.4 kB / 7.829 GB, free: 4.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/21.91, allocations: 192.4 kB / 7.829 GB, free: 4.18 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/21.91, allocations: 0.8301 MB / 7.83 GB, free: 3.418 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/21.91, allocations: 0.8487 MB / 7.831 GB, free: 2.609 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005198/21.91, allocations: 131.3 kB / 7.831 GB, free: 2.504 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/21.91, allocations: 58.09 kB / 7.831 GB, free: 2.453 MB / 474.7 MB Notification: Performance of SimCode: time 8.72e-07/21.91, allocations: 0 / 7.831 GB, free: 2.453 MB / 474.7 MB Notification: Performance of Templates: time 0.4339/22.34, allocations: 57.77 MB / 7.887 GB, free: 51.96 MB / 474.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)