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.002209/0.002209, allocations: 182 kB / 13.64 MB, free: 1.676 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.556/1.556, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001742/0.001741, allocations: 116.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.984e-05/2.99e-05, allocations: 0 / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09722/0.09727, allocations: 44.5 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.12/15.22, allocations: 6.53 GB / 6.871 GB, free: 31.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/15.22, allocations: 74.41 kB / 6.871 GB, free: 31.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.448/18.67, allocations: 0.8403 GB / 7.711 GB, free: 4.578 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.793e-06/18.67, allocations: 0 / 7.711 GB, free: 4.578 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.808e-05/18.67, allocations: 12 kB / 7.711 GB, free: 4.566 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.01678/18.68, allocations: 2.883 MB / 7.714 GB, free: 1.633 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/18.68, allocations: 11.97 kB / 7.714 GB, free: 1.621 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004671/18.68, allocations: 59.52 kB / 7.714 GB, free: 1.562 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000645/18.68, allocations: 354.2 kB / 7.714 GB, free: 1.176 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/18.68, allocations: 33 kB / 7.714 GB, free: 1.145 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.855e-05/18.68, allocations: 47.98 kB / 7.714 GB, free: 1.098 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/18.68, allocations: 0.5101 MB / 7.715 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/18.68, allocations: 0 / 7.715 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.135e-05/18.68, allocations: 20 kB / 7.715 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/18.68, allocations: 12 kB / 7.715 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4041/19.09, allocations: 0.6147 MB / 7.716 GB, free: 39.66 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01538/19.1, allocations: 11.87 MB / 7.727 GB, free: 28.72 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/19.11, allocations: 0.6366 MB / 7.728 GB, free: 28.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005146/19.11, allocations: 255 kB / 7.728 GB, free: 28.49 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02903/19.14, allocations: 20.13 MB / 7.748 GB, free: 24.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/19.14, allocations: 47.39 kB / 7.748 GB, free: 24.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=50): time 8.116e-06/19.14, allocations: 0 / 7.748 GB, free: 24.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=55): time 0.01118/19.15, allocations: 1.734 MB / 7.749 GB, free: 23.82 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.92e-05/19.15, allocations: 59.23 kB / 7.75 GB, free: 23.76 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007247/19.15, allocations: 284.6 kB / 7.75 GB, free: 23.66 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001585/19.15, allocations: 36.92 kB / 7.75 GB, free: 23.63 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003089/19.15, allocations: 199.6 kB / 7.75 GB, free: 23.52 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003571/19.15, allocations: 196.7 kB / 7.75 GB, free: 23.42 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/19.15, allocations: 12.78 kB / 7.75 GB, free: 23.42 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003007/19.15, allocations: 350.8 kB / 7.751 GB, free: 23.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007405/19.15, allocations: 208.9 kB / 7.751 GB, free: 23.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/19.15, allocations: 305.9 kB / 7.751 GB, free: 23.02 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/19.15, allocations: 253.2 kB / 7.751 GB, free: 23.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/19.15, allocations: 0.9375 kB / 7.751 GB, free: 23.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003463/19.16, allocations: 0.6886 MB / 7.752 GB, free: 22.93 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/19.16, allocations: 8.391 kB / 7.752 GB, free: 22.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/19.16, allocations: 2.875 kB / 7.752 GB, free: 22.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000925/19.16, allocations: 111.9 kB / 7.752 GB, free: 22.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008318/19.16, allocations: 124.9 kB / 7.752 GB, free: 22.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004336/19.16, allocations: 3.275 MB / 7.755 GB, free: 19.81 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009435/19.16, allocations: 34.81 kB / 7.755 GB, free: 19.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/19.16, allocations: 31.73 kB / 7.755 GB, free: 19.81 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 () * 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.000517/19.16, allocations: 147.8 kB / 7.756 GB, free: 19.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007171/19.16, allocations: 44.62 kB / 7.756 GB, free: 19.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00283/19.17, allocations: 0.707 MB / 7.756 GB, free: 19.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/19.17, allocations: 6 kB / 7.756 GB, free: 19.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/19.17, allocations: 0 / 7.756 GB, free: 19.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002068/19.17, allocations: 0.7847 MB / 7.757 GB, free: 19.23 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004422/19.17, allocations: 1.407 MB / 7.758 GB, free: 18.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/19.17, allocations: 3.969 kB / 7.758 GB, free: 18.87 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007704/19.17, allocations: 115.9 kB / 7.759 GB, free: 18.87 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001505/19.18, allocations: 148.9 kB / 7.759 GB, free: 18.86 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.164e-05/19.18, allocations: 20.05 kB / 7.759 GB, free: 18.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008057/19.18, allocations: 0.6552 MB / 7.759 GB, free: 18.27 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/19.18, allocations: 0 / 7.759 GB, free: 18.27 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003296/19.18, allocations: 0.9864 MB / 7.76 GB, free: 17.99 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004865/19.18, allocations: 129.8 kB / 7.76 GB, free: 17.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002216/19.18, allocations: 14.62 kB / 7.76 GB, free: 17.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/19.18, allocations: 41.2 kB / 7.761 GB, free: 17.87 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/19.18, allocations: 36.2 kB / 7.761 GB, free: 17.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002062/19.18, allocations: 37.69 kB / 7.761 GB, free: 17.87 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006293/19.18, allocations: 233.4 kB / 7.761 GB, free: 17.79 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.01e-07/19.18, allocations: 3.969 kB / 7.761 GB, free: 17.79 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.02009/19.2, allocations: 1.97 MB / 7.763 GB, free: 17.79 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 () * 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.02839/19.23, allocations: 3.101 MB / 7.766 GB, free: 17.56 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002658/19.23, allocations: 0.7895 MB / 7.767 GB, free: 17.34 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.976e-06/19.23, allocations: 0 / 7.767 GB, free: 17.34 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009968/19.24, allocations: 316 kB / 7.767 GB, free: 17.32 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/19.24, allocations: 281.8 kB / 7.767 GB, free: 17.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/19.24, allocations: 0.8983 MB / 7.768 GB, free: 17.11 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006179/19.24, allocations: 0.8512 MB / 7.769 GB, free: 16.41 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009073/19.24, allocations: 136.8 kB / 7.769 GB, free: 16.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/19.24, allocations: 60.95 kB / 7.769 GB, free: 16.39 MB / 458.7 MB Notification: Performance of SimCode: time 1.973e-06/19.24, allocations: 0 / 7.769 GB, free: 16.39 MB / 458.7 MB Notification: Performance of Templates: time 0.1039/19.35, allocations: 68.47 MB / 7.836 GB, free: 11.88 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)