Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001287/0.001287, allocations: 178.9 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.301/1.301, 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.001763/0.001763, allocations: 112.3 kB / 256.9 MB, free: 4.371 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003361, allocations: 8 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09536/0.09571, allocations: 44.49 MB / 355.1 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.434/1.53, allocations: 0.7085 GB / 1.055 GB, free: 96.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/1.53, allocations: 91.72 kB / 1.055 GB, free: 96.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.708/3.238, allocations: 0.5735 GB / 1.629 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.466e-06/3.238, allocations: 0 / 1.629 GB, free: 66.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.405e-05/3.238, allocations: 14.38 kB / 1.629 GB, free: 66.23 MB / 410.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.001963/3.24, allocations: 0.8228 MB / 1.63 GB, free: 65.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/3.24, allocations: 8.188 kB / 1.63 GB, free: 65.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005565/3.24, allocations: 118.2 kB / 1.63 GB, free: 65.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005602/3.241, allocations: 377.3 kB / 1.63 GB, free: 65.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.379e-05/3.241, allocations: 26.09 kB / 1.63 GB, free: 65.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.299e-05/3.241, allocations: 41.62 kB / 1.63 GB, free: 65.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008006/3.242, allocations: 0.5377 MB / 1.631 GB, free: 65.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/3.242, allocations: 4.219 kB / 1.631 GB, free: 65.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.816e-05/3.242, allocations: 21.5 kB / 1.631 GB, free: 65.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/3.242, allocations: 10.11 kB / 1.631 GB, free: 65.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005937/3.242, allocations: 419.2 kB / 1.631 GB, free: 65.55 MB / 410.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.002872/3.245, allocations: 2.029 MB / 1.633 GB, free: 64.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/3.246, allocations: 155.9 kB / 1.633 GB, free: 64.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/3.246, allocations: 2.938 kB / 1.633 GB, free: 64.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/3.246, allocations: 38.44 kB / 1.633 GB, free: 64.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.783e-06/3.246, allocations: 0 / 1.633 GB, free: 64.35 MB / 410.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.005814/3.251, allocations: 1.674 MB / 1.635 GB, free: 63.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/3.252, allocations: 54.12 kB / 1.635 GB, free: 63.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003656/3.252, allocations: 432.3 kB / 1.635 GB, free: 63.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/3.252, allocations: 32.39 kB / 1.636 GB, free: 63.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/3.252, allocations: 316 kB / 1.636 GB, free: 63.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.15e-05/3.252, allocations: 89.75 kB / 1.636 GB, free: 63.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.009e-05/3.252, allocations: 18.69 kB / 1.636 GB, free: 63.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.873e-05/3.252, allocations: 353 kB / 1.636 GB, free: 62.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/3.252, allocations: 131.7 kB / 1.636 GB, free: 62.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/3.253, allocations: 437.1 kB / 1.637 GB, free: 62.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/3.253, allocations: 223.7 kB / 1.637 GB, free: 62.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/3.253, allocations: 3.875 kB / 1.637 GB, free: 62.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007284/3.254, allocations: 0.6335 MB / 1.638 GB, free: 62.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/3.254, allocations: 10.75 kB / 1.638 GB, free: 62.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/3.254, allocations: 7.125 kB / 1.638 GB, free: 62.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001562/3.254, allocations: 63.86 kB / 1.638 GB, free: 62.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004256/3.254, allocations: 145.6 kB / 1.638 GB, free: 62.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009228/3.255, allocations: 1.838 MB / 1.64 GB, free: 60.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003493/3.256, allocations: 37.39 kB / 1.64 GB, free: 60.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/3.256, allocations: 43.73 kB / 1.64 GB, free: 60.55 MB / 410.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 () * Number of clocked 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 0.0001635/3.256, allocations: 213.6 kB / 1.64 GB, free: 60.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/3.256, allocations: 46.59 kB / 1.64 GB, free: 60.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004196/3.256, allocations: 293.6 kB / 1.64 GB, free: 60.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/3.256, allocations: 4.734 kB / 1.64 GB, free: 60.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/3.256, allocations: 0 / 1.64 GB, free: 60.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003149/3.257, allocations: 0.5253 MB / 1.641 GB, free: 59.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007304/3.257, allocations: 0.7033 MB / 1.641 GB, free: 59.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/3.257, allocations: 0 / 1.641 GB, free: 59.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/3.258, allocations: 56.58 kB / 1.642 GB, free: 59.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.545e-05/3.258, allocations: 20.42 kB / 1.642 GB, free: 59.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/3.258, allocations: 9.188 kB / 1.642 GB, free: 59.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004916/3.258, allocations: 1.281 MB / 1.643 GB, free: 58.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/3.258, allocations: 0 / 1.643 GB, free: 58.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004019/3.259, allocations: 440.1 kB / 1.643 GB, free: 58.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.283e-05/3.259, allocations: 114.8 kB / 1.643 GB, free: 58.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.092e-05/3.259, allocations: 3.5 kB / 1.643 GB, free: 58.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/3.259, allocations: 14.83 kB / 1.643 GB, free: 58.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/3.259, allocations: 22.73 kB / 1.643 GB, free: 58.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/3.259, allocations: 14.09 kB / 1.643 GB, free: 58.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002465/3.259, allocations: 320.2 kB / 1.644 GB, free: 57.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/3.259, allocations: 0 / 1.644 GB, free: 57.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000885/3.26, allocations: 295.7 kB / 1.644 GB, free: 57.96 MB / 410.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 () * Number of clocked 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.001726/3.262, allocations: 1.093 MB / 1.645 GB, free: 57.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005515/3.263, allocations: 459.8 kB / 1.645 GB, free: 57.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/3.263, allocations: 0 / 1.645 GB, free: 57.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001829/3.263, allocations: 214.8 kB / 1.646 GB, free: 57.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000839/3.264, allocations: 217.5 kB / 1.646 GB, free: 57.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/3.265, allocations: 1.036 MB / 1.647 GB, free: 57.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/3.265, allocations: 0.8343 MB / 1.648 GB, free: 56.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004282/3.265, allocations: 136.6 kB / 1.648 GB, free: 56.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.2e-05/3.265, allocations: 39.22 kB / 1.648 GB, free: 56.43 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/3.265, allocations: 0 / 1.648 GB, free: 56.43 MB / 410.7 MB Notification: Performance of Templates: time 0.02979/3.295, allocations: 21.94 MB / 1.669 GB, free: 56.06 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)