Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+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.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.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 1.061/1.061, allocations: 110.8 MB / 118.3 MB, free: 10.56 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002211/0.002211, allocations: 159.3 kB / 144 MB, free: 9.801 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.629e-05/2.655e-05, allocations: 4 kB / 173.9 MB, free: 11.86 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08045/0.0805, allocations: 25.17 MB / 199 MB, free: 2.645 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.177/2.258, allocations: 0.6506 GB / 0.845 GB, free: 128 kB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/2.258, allocations: 71.95 kB / 0.8451 GB, free: 56 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.554/3.812, allocations: 454.6 MB / 1.289 GB, free: 27.82 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.273e-06/3.812, allocations: 1.969 kB / 1.289 GB, free: 27.82 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.93e-05/3.812, allocations: 15.41 kB / 1.289 GB, free: 27.81 MB / 250.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.001573/3.814, allocations: 0.8102 MB / 1.29 GB, free: 27.26 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/3.814, allocations: 7.312 kB / 1.29 GB, free: 27.26 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/3.814, allocations: 63 kB / 1.29 GB, free: 27.23 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/3.814, allocations: 352.7 kB / 1.29 GB, free: 27 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/3.814, allocations: 12.95 kB / 1.29 GB, free: 27 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.741e-05/3.814, allocations: 22.28 kB / 1.29 GB, free: 27 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005258/3.815, allocations: 457.4 kB / 1.291 GB, free: 26.91 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006255/3.816, allocations: 445.4 kB / 1.291 GB, free: 26.73 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/3.816, allocations: 7.859 kB / 1.291 GB, free: 26.73 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.061e-05/3.816, allocations: 3.656 kB / 1.291 GB, free: 26.73 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/3.816, allocations: 13.47 kB / 1.291 GB, free: 26.73 MB / 250.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.002247/3.818, allocations: 1.875 MB / 1.293 GB, free: 25.11 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/3.818, allocations: 158.5 kB / 1.293 GB, free: 25.02 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.855e-05/3.818, allocations: 68.91 kB / 1.293 GB, free: 24.99 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006317/3.819, allocations: 0.7952 MB / 1.294 GB, free: 24.2 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/3.819, allocations: 34.27 kB / 1.294 GB, free: 24.16 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 2.444e-06/3.819, allocations: 3.609 kB / 1.294 GB, free: 24.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.004193/3.823, allocations: 1.176 MB / 1.295 GB, free: 23.32 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/3.823, allocations: 54.53 kB / 1.295 GB, free: 23.25 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/3.824, allocations: 389.9 kB / 1.296 GB, free: 23.02 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/3.824, allocations: 25.7 kB / 1.296 GB, free: 22.99 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/3.824, allocations: 318 kB / 1.296 GB, free: 22.7 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/3.824, allocations: 84.83 kB / 1.296 GB, free: 22.63 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-05/3.824, allocations: 3.312 kB / 1.296 GB, free: 22.63 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.088e-05/3.824, allocations: 349.3 kB / 1.296 GB, free: 22.29 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/3.824, allocations: 116.1 kB / 1.296 GB, free: 22.2 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/3.824, allocations: 415.1 kB / 1.297 GB, free: 21.66 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/3.825, allocations: 221.3 kB / 1.297 GB, free: 21.46 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/3.825, allocations: 0 / 1.297 GB, free: 21.46 MB / 250.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007519/3.825, allocations: 0.5528 MB / 1.298 GB, free: 20.91 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/3.825, allocations: 12 kB / 1.298 GB, free: 20.89 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/3.825, allocations: 11.98 kB / 1.298 GB, free: 20.88 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001532/3.826, allocations: 65.02 kB / 1.298 GB, free: 20.82 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/3.826, allocations: 135.8 kB / 1.298 GB, free: 20.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008873/3.827, allocations: 1.79 MB / 1.3 GB, free: 18.76 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/3.827, allocations: 22.95 kB / 1.3 GB, free: 18.74 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/3.827, allocations: 36 kB / 1.3 GB, free: 18.7 MB / 250.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 9e-05/3.827, allocations: 136.7 kB / 1.3 GB, free: 18.56 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/3.828, allocations: 42.56 kB / 1.3 GB, free: 18.52 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004645/3.828, allocations: 278.5 kB / 1.3 GB, free: 18.23 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/3.828, allocations: 4 kB / 1.3 GB, free: 18.23 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/3.828, allocations: 0 / 1.3 GB, free: 18.23 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003277/3.828, allocations: 0.5161 MB / 1.301 GB, free: 17.62 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007169/3.829, allocations: 0.6434 MB / 1.301 GB, free: 16.94 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/3.829, allocations: 0 / 1.301 GB, free: 16.94 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/3.829, allocations: 59.95 kB / 1.301 GB, free: 16.88 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.766e-05/3.829, allocations: 16.84 kB / 1.301 GB, free: 16.86 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/3.829, allocations: 8 kB / 1.301 GB, free: 16.85 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005209/3.83, allocations: 1.231 MB / 1.302 GB, free: 15.51 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/3.83, allocations: 0 / 1.302 GB, free: 15.51 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/3.83, allocations: 405.7 kB / 1.303 GB, free: 15.09 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/3.831, allocations: 140.6 kB / 1.303 GB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.542e-05/3.831, allocations: 7.984 kB / 1.303 GB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/3.831, allocations: 12.09 kB / 1.303 GB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/3.831, allocations: 19.97 kB / 1.303 GB, free: 14.9 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/3.831, allocations: 15.98 kB / 1.303 GB, free: 14.88 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002194/3.831, allocations: 286.9 kB / 1.303 GB, free: 14.61 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.6e-07/3.831, allocations: 0 / 1.303 GB, free: 14.61 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0009932/3.832, allocations: 263.9 kB / 1.304 GB, free: 14.35 MB / 250.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.001953/3.834, allocations: 1.308 MB / 1.305 GB, free: 13.22 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005485/3.835, allocations: 418.8 kB / 1.305 GB, free: 12.8 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/3.835, allocations: 0 / 1.305 GB, free: 12.8 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001657/3.835, allocations: 203.5 kB / 1.305 GB, free: 12.59 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008832/3.836, allocations: 187.6 kB / 1.306 GB, free: 12.42 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008088/3.837, allocations: 0.5911 MB / 1.306 GB, free: 11.82 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/3.837, allocations: 0.8311 MB / 1.307 GB, free: 10.96 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0004474/3.837, allocations: 127.5 kB / 1.307 GB, free: 10.84 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.104e-05/3.837, allocations: 47.44 kB / 1.307 GB, free: 10.79 MB / 250.7 MB Notification: Performance of SimCode: time 1.213e-06/3.837, allocations: 0 / 1.307 GB, free: 10.79 MB / 250.7 MB Notification: Performance of Templates: time 0.167/4.004, allocations: 14.89 MB / 1.322 GB, free: 27.11 MB / 250.7 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)