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.001092/0.001091, allocations: 179.2 kB / 16.38 MB, free: 5.766 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.291/1.291, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001549/0.001549, allocations: 113.6 kB / 256.9 MB, free: 4.379 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003049/0.0003049, allocations: 12 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0923/0.09262, allocations: 44.49 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.24/12.33, allocations: 6.53 GB / 6.876 GB, free: 41.47 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/12.33, allocations: 78.44 kB / 6.876 GB, free: 41.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.802/15.13, allocations: 0.841 GB / 7.718 GB, free: 12.43 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.014e-06/15.13, allocations: 0 / 7.718 GB, free: 12.43 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.407e-05/15.13, allocations: 12 kB / 7.718 GB, free: 12.41 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.01381/15.15, allocations: 2.933 MB / 7.72 GB, free: 9.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/15.15, allocations: 8.031 kB / 7.72 GB, free: 9.422 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005366/15.15, allocations: 67.42 kB / 7.72 GB, free: 9.355 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007745/15.15, allocations: 354.6 kB / 7.721 GB, free: 8.969 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/15.15, allocations: 29 kB / 7.721 GB, free: 8.941 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/15.15, allocations: 44 kB / 7.721 GB, free: 8.898 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/15.15, allocations: 0.5101 MB / 7.721 GB, free: 8.383 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/15.15, allocations: 0 / 7.721 GB, free: 8.383 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-05/15.15, allocations: 20 kB / 7.721 GB, free: 8.363 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/15.15, allocations: 12 kB / 7.721 GB, free: 8.352 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/15.15, allocations: 0.6284 MB / 7.722 GB, free: 7.723 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2798/15.43, allocations: 11.86 MB / 7.734 GB, free: 32.01 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/15.43, allocations: 0.6446 MB / 7.734 GB, free: 31.79 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01937/15.45, allocations: 20.08 MB / 7.754 GB, free: 27.54 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.411e-05/15.45, allocations: 44.34 kB / 7.754 GB, free: 27.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=50): time 3.917e-06/15.45, allocations: 0.6562 kB / 7.754 GB, free: 27.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=55): time 0.006009/15.46, allocations: 2.078 MB / 7.756 GB, free: 26.96 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/15.46, allocations: 57.84 kB / 7.756 GB, free: 26.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000357/15.46, allocations: 292.5 kB / 7.756 GB, free: 26.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.445e-05/15.46, allocations: 36.05 kB / 7.756 GB, free: 26.77 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/15.46, allocations: 202.1 kB / 7.756 GB, free: 26.65 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/15.46, allocations: 195.2 kB / 7.757 GB, free: 26.56 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/15.46, allocations: 9.562 kB / 7.757 GB, free: 26.56 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/15.46, allocations: 351.2 kB / 7.757 GB, free: 26.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/15.46, allocations: 212.9 kB / 7.757 GB, free: 26.24 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005214/15.46, allocations: 306.5 kB / 7.757 GB, free: 26.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005118/15.46, allocations: 265.6 kB / 7.758 GB, free: 26.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/15.46, allocations: 0 / 7.758 GB, free: 26.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001545/15.46, allocations: 0.7024 MB / 7.758 GB, free: 26.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/15.46, allocations: 10.92 kB / 7.758 GB, free: 26.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/15.46, allocations: 7.094 kB / 7.758 GB, free: 26.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005145/15.46, allocations: 102.3 kB / 7.759 GB, free: 26.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004684/15.46, allocations: 122.4 kB / 7.759 GB, free: 26.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/15.46, allocations: 3.287 MB / 7.762 GB, free: 22.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004247/15.46, allocations: 37.45 kB / 7.762 GB, free: 22.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.593e-05/15.46, allocations: 34.59 kB / 7.762 GB, free: 22.95 MB / 458.7 MB 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 () * Number of clocked 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.0003014/15.47, allocations: 193.6 kB / 7.762 GB, free: 22.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/15.47, allocations: 43 kB / 7.762 GB, free: 22.82 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/15.47, allocations: 0.7197 MB / 7.763 GB, free: 22.74 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/15.47, allocations: 6.062 kB / 7.763 GB, free: 22.74 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/15.47, allocations: 2.875 kB / 7.763 GB, free: 22.74 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001022/15.47, allocations: 0.7923 MB / 7.764 GB, free: 22.38 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/15.47, allocations: 1.401 MB / 7.765 GB, free: 22.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/15.47, allocations: 0 / 7.765 GB, free: 22.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004704/15.47, allocations: 114.7 kB / 7.765 GB, free: 22.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008373/15.47, allocations: 154.2 kB / 7.765 GB, free: 22 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-05/15.47, allocations: 21.91 kB / 7.765 GB, free: 22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003965/15.47, allocations: 0.6521 MB / 7.766 GB, free: 21.41 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/15.47, allocations: 2.875 kB / 7.766 GB, free: 21.41 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/15.47, allocations: 1.009 MB / 7.767 GB, free: 21.14 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/15.47, allocations: 128 kB / 7.767 GB, free: 21.02 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.034e-05/15.47, allocations: 15.05 kB / 7.767 GB, free: 21.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/15.47, allocations: 37.95 kB / 7.767 GB, free: 21.02 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/15.47, allocations: 46.42 kB / 7.767 GB, free: 21.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.808e-05/15.47, allocations: 33.56 kB / 7.767 GB, free: 21.02 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002494/15.47, allocations: 237.7 kB / 7.767 GB, free: 20.94 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/15.47, allocations: 3.969 kB / 7.767 GB, free: 20.94 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008245/15.48, allocations: 1.967 MB / 7.769 GB, free: 20.94 MB / 458.7 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 () * Number of clocked 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.01287/15.5, allocations: 3.1 MB / 7.772 GB, free: 20.72 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001654/15.5, allocations: 0.8013 MB / 7.773 GB, free: 20.49 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/15.5, allocations: 0 / 7.773 GB, free: 20.49 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000529/15.5, allocations: 322.4 kB / 7.773 GB, free: 20.47 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/15.5, allocations: 280.3 kB / 7.774 GB, free: 20.46 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/15.5, allocations: 1.382 MB / 7.775 GB, free: 19.92 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/15.5, allocations: 0.8543 MB / 7.776 GB, free: 19.22 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005537/15.5, allocations: 133.8 kB / 7.776 GB, free: 19.21 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/15.5, allocations: 58.81 kB / 7.776 GB, free: 19.2 MB / 458.7 MB Notification: Performance of SimCode: time 2.51e-07/15.5, allocations: 0 / 7.776 GB, free: 19.2 MB / 458.7 MB Notification: Performance of Templates: time 0.08206/15.58, allocations: 65.46 MB / 7.84 GB, free: 14.92 MB / 458.7 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)