Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01062/0.01062, allocations: 166.5 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.532/1.532, allocations: 170.8 MB / 186.6 MB, free: 0.9648 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00162/0.00162, allocations: 106.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003689, allocations: 8 kB / 274.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2962, allocations: 38.77 MB / 312.9 MB, free: 38.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.573/1.869, allocations: 0.5804 GB / 0.886 GB, free: 75.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/1.87, allocations: 82.27 kB / 0.8861 GB, free: 75.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5383/2.408, allocations: 153.7 MB / 1.036 GB, free: 73.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.144e-06/2.408, allocations: 0 / 1.036 GB, free: 73.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.044e-05/2.408, allocations: 8 kB / 1.036 GB, free: 73.18 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001139/2.409, allocations: 0.6244 MB / 1.037 GB, free: 72.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/2.409, allocations: 8.031 kB / 1.037 GB, free: 72.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002751/2.41, allocations: 47.56 kB / 1.037 GB, free: 72.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/2.41, allocations: 279 kB / 1.037 GB, free: 72.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/2.41, allocations: 16.56 kB / 1.037 GB, free: 72.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.112e-05/2.41, allocations: 24 kB / 1.037 GB, free: 72.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004455/2.411, allocations: 315.7 kB / 1.037 GB, free: 71.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/2.411, allocations: 3.906 kB / 1.037 GB, free: 71.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/2.411, allocations: 15.94 kB / 1.037 GB, free: 71.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/2.411, allocations: 11.95 kB / 1.037 GB, free: 71.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002764/2.411, allocations: 205.6 kB / 1.038 GB, free: 71.53 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/2.412, allocations: 1.566 MB / 1.039 GB, free: 69.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/2.413, allocations: 163 kB / 1.039 GB, free: 69.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/2.413, allocations: 8.188 kB / 1.039 GB, free: 69.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/2.413, allocations: 42.73 kB / 1.039 GB, free: 69.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.313e-06/2.413, allocations: 0 / 1.039 GB, free: 69.58 MB / 362.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.004973/2.418, allocations: 1.619 MB / 1.041 GB, free: 67.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/2.418, allocations: 63.38 kB / 1.041 GB, free: 67.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/2.418, allocations: 229.4 kB / 1.041 GB, free: 67.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/2.418, allocations: 33.7 kB / 1.041 GB, free: 67.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/2.418, allocations: 176.2 kB / 1.041 GB, free: 67.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/2.418, allocations: 90.66 kB / 1.042 GB, free: 67.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.707e-05/2.418, allocations: 4 kB / 1.042 GB, free: 67.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.726e-05/2.418, allocations: 342.8 kB / 1.042 GB, free: 66.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/2.418, allocations: 87.73 kB / 1.042 GB, free: 66.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/2.419, allocations: 187.8 kB / 1.042 GB, free: 66.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/2.419, allocations: 120.7 kB / 1.042 GB, free: 66.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/2.419, allocations: 3.938 kB / 1.042 GB, free: 66.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005077/2.419, allocations: 398.6 kB / 1.043 GB, free: 66.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/2.419, allocations: 8 kB / 1.043 GB, free: 66.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/2.419, allocations: 0 / 1.043 GB, free: 66.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002031/2.419, allocations: 69.69 kB / 1.043 GB, free: 65.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/2.42, allocations: 88.25 kB / 1.043 GB, free: 65.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/2.421, allocations: 1.864 MB / 1.045 GB, free: 63.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/2.421, allocations: 23.92 kB / 1.045 GB, free: 63.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/2.421, allocations: 36 kB / 1.045 GB, free: 63.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 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.0001528/2.421, allocations: 157.8 kB / 1.045 GB, free: 63.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.918e-05/2.421, allocations: 39.67 kB / 1.045 GB, free: 63.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000883/2.422, allocations: 439.6 kB / 1.045 GB, free: 63.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/2.422, allocations: 4 kB / 1.045 GB, free: 63.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/2.422, allocations: 0 / 1.045 GB, free: 63.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004276/2.423, allocations: 0.5708 MB / 1.046 GB, free: 62.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008442/2.424, allocations: 0.7158 MB / 1.047 GB, free: 61.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/2.424, allocations: 0 / 1.047 GB, free: 61.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002978/2.424, allocations: 75.89 kB / 1.047 GB, free: 61.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.705e-05/2.424, allocations: 24.8 kB / 1.047 GB, free: 61.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/2.424, allocations: 16.06 kB / 1.047 GB, free: 61.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006306/2.425, allocations: 1.292 MB / 1.048 GB, free: 60.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/2.425, allocations: 4.031 kB / 1.048 GB, free: 60.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005206/2.425, allocations: 493 kB / 1.048 GB, free: 59.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/2.425, allocations: 100.9 kB / 1.048 GB, free: 59.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.282e-05/2.425, allocations: 15.98 kB / 1.049 GB, free: 59.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/2.426, allocations: 15.91 kB / 1.049 GB, free: 59.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/2.426, allocations: 23.97 kB / 1.049 GB, free: 59.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-05/2.426, allocations: 35.94 kB / 1.049 GB, free: 59.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001418/2.426, allocations: 186 kB / 1.049 GB, free: 59.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/2.426, allocations: 0 / 1.049 GB, free: 59.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007875/2.427, allocations: 188 kB / 1.049 GB, free: 59.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00108/2.428, allocations: 0.7751 MB / 1.05 GB, free: 58.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005852/2.428, allocations: 379.4 kB / 1.05 GB, free: 57.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/2.428, allocations: 0 / 1.05 GB, free: 57.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002207/2.429, allocations: 227.8 kB / 1.05 GB, free: 57.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007711/2.429, allocations: 156.9 kB / 1.05 GB, free: 57.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/2.43, allocations: 0.8292 MB / 1.051 GB, free: 56.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/2.431, allocations: 0.7726 MB / 1.052 GB, free: 55.85 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005396/2.431, allocations: 114.9 kB / 1.052 GB, free: 55.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/2.431, allocations: 71.34 kB / 1.052 GB, free: 55.67 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/2.432, allocations: 0 / 1.052 GB, free: 55.67 MB / 362.7 MB Notification: Performance of Templates: time 0.02404/2.456, allocations: 17.67 MB / 1.069 GB, free: 37.99 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1)