Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001733/0.001734, allocations: 176.3 kB / 8.699 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.01/2.01, allocations: 205.3 MB / 214.4 MB, free: 1.73 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.001013/0.001013, allocations: 82.38 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.214e-05/1.217e-05, allocations: 0 / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1299, allocations: 47.59 MB / 363.1 MB, free: 7.086 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.39/18.52, allocations: 6.597 GB / 6.951 GB, free: 93.09 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/18.52, allocations: 70.5 kB / 6.952 GB, free: 93.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775/21.3, allocations: 0.6563 GB / 7.608 GB, free: 26.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.256e-06/21.3, allocations: 3.938 kB / 7.608 GB, free: 26.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.02e-05/21.3, allocations: 18.08 kB / 7.608 GB, free: 26.11 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01216/21.31, allocations: 2.385 MB / 7.61 GB, free: 24.74 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/21.31, allocations: 9.875 kB / 7.61 GB, free: 24.74 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005627/21.31, allocations: 83.06 kB / 7.61 GB, free: 24.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007644/21.31, allocations: 442.9 kB / 7.611 GB, free: 24.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/21.31, allocations: 18.81 kB / 7.611 GB, free: 24.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.873e-05/21.31, allocations: 40.5 kB / 7.611 GB, free: 24.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001266/21.31, allocations: 0.9097 MB / 7.612 GB, free: 24.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009834/21.32, allocations: 0.6447 MB / 7.612 GB, free: 24.4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/21.32, allocations: 0 / 7.612 GB, free: 24.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.4e-05/21.32, allocations: 3.844 kB / 7.612 GB, free: 24.4 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/21.32, allocations: 12.25 kB / 7.612 GB, free: 24.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01521/21.33, allocations: 12.35 MB / 7.624 GB, free: 13.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/21.33, allocations: 0.7093 MB / 7.625 GB, free: 13.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004688/21.33, allocations: 366 kB / 7.625 GB, free: 13.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03931/21.37, allocations: 30.74 MB / 7.655 GB, free: 14.52 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.464e-05/21.37, allocations: 52.55 kB / 7.655 GB, free: 14.48 MB / 474.7 MB Notification: Performance of pre-optimization done (n=78): time 2.815e-06/21.37, allocations: 0 / 7.655 GB, free: 14.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=88): time 0.007794/21.38, allocations: 2.478 MB / 7.658 GB, free: 14.02 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/21.38, allocations: 58.88 kB / 7.658 GB, free: 13.95 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/21.38, allocations: 252.6 kB / 7.658 GB, free: 13.85 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.945e-05/21.38, allocations: 29.67 kB / 7.658 GB, free: 13.82 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/21.38, allocations: 242.7 kB / 7.658 GB, free: 13.66 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/21.38, allocations: 293.7 kB / 7.659 GB, free: 13.46 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/21.38, allocations: 0 / 7.659 GB, free: 13.46 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001861/21.38, allocations: 367.5 kB / 7.659 GB, free: 13.15 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004991/21.38, allocations: 327.3 kB / 7.659 GB, free: 13.14 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005803/21.38, allocations: 447.8 kB / 7.66 GB, free: 13.05 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/21.38, allocations: 0.5192 MB / 7.66 GB, free: 13.04 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/21.38, allocations: 0 / 7.66 GB, free: 13.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00265/21.39, allocations: 1.129 MB / 7.661 GB, free: 12.92 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/21.39, allocations: 5.812 kB / 7.661 GB, free: 12.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/21.39, allocations: 2.625 kB / 7.661 GB, free: 12.92 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002913/21.39, allocations: 115.8 kB / 7.662 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007263/21.39, allocations: 197.1 kB / 7.662 GB, free: 12.87 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003187/21.39, allocations: 3.857 MB / 7.665 GB, free: 9.309 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006049/21.39, allocations: 54.77 kB / 7.666 GB, free: 9.297 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/21.39, allocations: 51.66 kB / 7.666 GB, free: 9.297 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,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.0003765/21.39, allocations: 128.2 kB / 7.666 GB, free: 9.176 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004205/21.39, allocations: 59.62 kB / 7.666 GB, free: 9.148 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002874/21.39, allocations: 1.328 MB / 7.667 GB, free: 8.977 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/21.39, allocations: 11.52 kB / 7.667 GB, free: 8.973 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/21.39, allocations: 0 / 7.667 GB, free: 8.973 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002071/21.4, allocations: 1.37 MB / 7.668 GB, free: 8.309 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003398/21.4, allocations: 1.933 MB / 7.67 GB, free: 7.969 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/21.4, allocations: 0 / 7.67 GB, free: 7.969 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006962/21.4, allocations: 176 kB / 7.67 GB, free: 7.957 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002429/21.4, allocations: 133.4 kB / 7.671 GB, free: 7.934 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.805e-05/21.4, allocations: 27.33 kB / 7.671 GB, free: 7.934 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/21.4, allocations: 1.349 MB / 7.672 GB, free: 6.754 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/21.4, allocations: 0 / 7.672 GB, free: 6.754 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/21.4, allocations: 1.457 MB / 7.673 GB, free: 6.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/21.41, allocations: 134.6 kB / 7.673 GB, free: 6.383 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.685e-05/21.41, allocations: 9.922 kB / 7.673 GB, free: 6.383 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005651/21.41, allocations: 38.47 kB / 7.674 GB, free: 6.375 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.197e-05/21.41, allocations: 61.38 kB / 7.674 GB, free: 6.375 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.449e-05/21.41, allocations: 50.08 kB / 7.674 GB, free: 6.375 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002504/21.41, allocations: 227.5 kB / 7.674 GB, free: 6.301 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.01e-07/21.41, allocations: 0 / 7.674 GB, free: 6.301 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01139/21.42, allocations: 2.26 MB / 7.676 GB, free: 5.832 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02084/21.44, allocations: 3.514 MB / 7.679 GB, free: 5.141 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00297/21.44, allocations: 1.09 MB / 7.681 GB, free: 20.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/21.44, allocations: 0 / 7.681 GB, free: 20.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009964/21.44, allocations: 487.5 kB / 7.681 GB, free: 20.85 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/21.44, allocations: 291.7 kB / 7.681 GB, free: 20.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/21.45, allocations: 1.326 MB / 7.683 GB, free: 20.52 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/21.45, allocations: 0.9301 MB / 7.684 GB, free: 19.81 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009728/21.45, allocations: 203.9 kB / 7.684 GB, free: 19.78 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/21.45, allocations: 76.86 kB / 7.684 GB, free: 19.77 MB / 490.7 MB Notification: Performance of SimCode: time 7.41e-07/21.45, allocations: 1.969 kB / 7.684 GB, free: 19.77 MB / 490.7 MB Notification: Performance of Templates: time 0.4649/21.91, allocations: 68.6 MB / 7.751 GB, free: 74.11 MB / 490.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1)