Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001502/0.001502, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.376/1.376, allocations: 170.6 MB / 183.8 MB, free: 11.5 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.00165/0.001649, allocations: 107.4 kB / 223.2 MB, free: 4.117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.612e-05/2.615e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07437/0.07442, allocations: 38.77 MB / 307.7 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.582/1.657, allocations: 0.6962 GB / 0.9967 GB, free: 34.03 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/1.657, allocations: 90.92 kB / 0.9968 GB, free: 33.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.832/3.489, allocations: 0.5698 GB / 1.567 GB, free: 22.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.093e-06/3.489, allocations: 0 / 1.567 GB, free: 22.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.122e-05/3.489, allocations: 16 kB / 1.567 GB, free: 22.56 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001298/3.49, allocations: 0.7801 MB / 1.567 GB, free: 21.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/3.49, allocations: 8.031 kB / 1.567 GB, free: 21.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005327/3.491, allocations: 119.3 kB / 1.567 GB, free: 21.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004565/3.491, allocations: 361.4 kB / 1.568 GB, free: 21.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/3.491, allocations: 28.78 kB / 1.568 GB, free: 21.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.219e-05/3.491, allocations: 39.95 kB / 1.568 GB, free: 21.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006904/3.492, allocations: 0.5327 MB / 1.568 GB, free: 20.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/3.492, allocations: 3.906 kB / 1.568 GB, free: 20.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.421e-05/3.492, allocations: 16 kB / 1.568 GB, free: 20.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/3.492, allocations: 15.98 kB / 1.568 GB, free: 20.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004718/3.493, allocations: 414.9 kB / 1.569 GB, free: 20.15 MB / 362.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001961/3.495, allocations: 1.826 MB / 1.571 GB, free: 18.19 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/3.495, allocations: 152 kB / 1.571 GB, free: 18.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.341e-05/3.495, allocations: 72.86 kB / 1.571 GB, free: 17.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/3.495, allocations: 16.22 kB / 1.571 GB, free: 17.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/3.495, allocations: 34.55 kB / 1.571 GB, free: 17.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.413e-06/3.495, allocations: 0 / 1.571 GB, free: 17.9 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=23): time 0.00436/3.499, allocations: 1.324 MB / 1.572 GB, free: 16.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.058e-05/3.499, allocations: 55.41 kB / 1.572 GB, free: 16.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/3.5, allocations: 430.8 kB / 1.573 GB, free: 15.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/3.5, allocations: 33.7 kB / 1.573 GB, free: 15.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/3.5, allocations: 306.4 kB / 1.573 GB, free: 15.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/3.5, allocations: 98.72 kB / 1.573 GB, free: 15.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/3.5, allocations: 12 kB / 1.573 GB, free: 15.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.09e-05/3.5, allocations: 354.8 kB / 1.573 GB, free: 15.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/3.5, allocations: 133.5 kB / 1.574 GB, free: 15.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/3.5, allocations: 429.8 kB / 1.574 GB, free: 14.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/3.501, allocations: 228.3 kB / 1.574 GB, free: 14.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/3.501, allocations: 0 / 1.574 GB, free: 14.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007311/3.501, allocations: 0.6236 MB / 1.575 GB, free: 13.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/3.502, allocations: 8 kB / 1.575 GB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/3.502, allocations: 12 kB / 1.575 GB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001582/3.502, allocations: 62.25 kB / 1.575 GB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/3.502, allocations: 151.7 kB / 1.575 GB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008213/3.503, allocations: 1.835 MB / 1.577 GB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/3.503, allocations: 35.88 kB / 1.577 GB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.126e-05/3.503, allocations: 40 kB / 1.577 GB, free: 11.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * 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 8.475e-05/3.503, allocations: 147.8 kB / 1.577 GB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/3.504, allocations: 43.53 kB / 1.577 GB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004396/3.504, allocations: 294.5 kB / 1.577 GB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/3.504, allocations: 0 / 1.577 GB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/3.504, allocations: 0 / 1.577 GB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003058/3.504, allocations: 0.5238 MB / 1.578 GB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000705/3.505, allocations: 0.691 MB / 1.579 GB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/3.505, allocations: 0 / 1.579 GB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/3.505, allocations: 55.91 kB / 1.579 GB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.726e-05/3.505, allocations: 24.84 kB / 1.579 GB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/3.505, allocations: 7.656 kB / 1.579 GB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005091/3.506, allocations: 1.28 MB / 1.58 GB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/3.506, allocations: 11.88 kB / 1.58 GB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/3.506, allocations: 420.2 kB / 1.58 GB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-05/3.506, allocations: 116.6 kB / 1.58 GB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.974e-05/3.506, allocations: 4 kB / 1.58 GB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/3.507, allocations: 20.09 kB / 1.58 GB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/3.507, allocations: 23.92 kB / 1.58 GB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/3.507, allocations: 15.98 kB / 1.58 GB, free: 7.328 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002483/3.507, allocations: 313.2 kB / 1.581 GB, free: 7.023 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/3.507, allocations: 0 / 1.581 GB, free: 7.023 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009198/3.508, allocations: 299.8 kB / 1.581 GB, free: 6.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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.001717/3.51, allocations: 1.089 MB / 1.582 GB, free: 5.656 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005431/3.51, allocations: 447.5 kB / 1.583 GB, free: 5.207 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/3.51, allocations: 0 / 1.583 GB, free: 5.207 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001751/3.51, allocations: 208 kB / 1.583 GB, free: 4.992 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000957/3.511, allocations: 213.2 kB / 1.583 GB, free: 4.781 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007839/3.512, allocations: 0.6152 MB / 1.584 GB, free: 4.141 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/3.512, allocations: 0.8276 MB / 1.584 GB, free: 3.285 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004337/3.513, allocations: 140.6 kB / 1.584 GB, free: 3.148 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.977e-05/3.513, allocations: 43.42 kB / 1.584 GB, free: 3.105 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/3.513, allocations: 4 kB / 1.584 GB, free: 3.102 MB / 362.7 MB Notification: Performance of Templates: time 0.2088/3.722, allocations: 24.7 MB / 1.609 GB, free: 48.12 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)