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.001153/0.001152, allocations: 182.7 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.759/1.759, 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.001466/0.001466, allocations: 122.2 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.95e-05/2.959e-05, allocations: 0 / 305 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09021/0.09026, allocations: 44.5 MB / 349.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.75/1.84, allocations: 0.7084 GB / 1.05 GB, free: 119.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/1.84, allocations: 90.17 kB / 1.05 GB, free: 119.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843/3.683, allocations: 0.5739 GB / 1.624 GB, free: 25.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.226e-06/3.683, allocations: 0 / 1.624 GB, free: 25.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.056e-05/3.683, allocations: 18.06 kB / 1.624 GB, free: 25.27 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.001386/3.685, allocations: 0.7805 MB / 1.624 GB, free: 24.44 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/3.685, allocations: 16.02 kB / 1.624 GB, free: 24.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005387/3.685, allocations: 115.5 kB / 1.625 GB, free: 24.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004863/3.686, allocations: 381.2 kB / 1.625 GB, free: 23.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/3.686, allocations: 32.78 kB / 1.625 GB, free: 23.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.624e-05/3.686, allocations: 36 kB / 1.625 GB, free: 23.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007255/3.687, allocations: 0.5316 MB / 1.626 GB, free: 23.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/3.687, allocations: 0 / 1.626 GB, free: 23.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.828e-05/3.687, allocations: 27.98 kB / 1.626 GB, free: 23.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/3.687, allocations: 8 kB / 1.626 GB, free: 23.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004928/3.687, allocations: 410.9 kB / 1.626 GB, free: 22.85 MB / 410.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.002547/3.69, allocations: 2.029 MB / 1.628 GB, free: 20.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/3.69, allocations: 155.7 kB / 1.628 GB, free: 20.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.819e-05/3.69, allocations: 76.84 kB / 1.628 GB, free: 20.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/3.69, allocations: 4 kB / 1.628 GB, free: 20.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/3.69, allocations: 46.45 kB / 1.628 GB, free: 20.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 2.134e-06/3.69, allocations: 0 / 1.628 GB, free: 20.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.004697/3.695, allocations: 1.316 MB / 1.63 GB, free: 18.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/3.695, allocations: 55.41 kB / 1.63 GB, free: 18.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/3.695, allocations: 426.9 kB / 1.63 GB, free: 18.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/3.695, allocations: 29.7 kB / 1.63 GB, free: 18.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/3.696, allocations: 318.3 kB / 1.63 GB, free: 18.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/3.696, allocations: 86.84 kB / 1.63 GB, free: 18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.876e-05/3.696, allocations: 12 kB / 1.63 GB, free: 17.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.603e-05/3.696, allocations: 362.8 kB / 1.631 GB, free: 17.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/3.696, allocations: 129.5 kB / 1.631 GB, free: 17.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/3.696, allocations: 431.3 kB / 1.631 GB, free: 16.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/3.696, allocations: 220.7 kB / 1.631 GB, free: 16.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/3.697, allocations: 4 kB / 1.631 GB, free: 16.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007752/3.697, allocations: 0.6278 MB / 1.632 GB, free: 16.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/3.697, allocations: 8 kB / 1.632 GB, free: 16.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/3.697, allocations: 12.75 kB / 1.632 GB, free: 16.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001754/3.698, allocations: 61.7 kB / 1.632 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004297/3.698, allocations: 139.8 kB / 1.632 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000934/3.699, allocations: 1.836 MB / 1.634 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004162/3.699, allocations: 35.83 kB / 1.634 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/3.699, allocations: 44.19 kB / 1.634 GB, free: 13.78 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 () * 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 9.76e-05/3.699, allocations: 148.7 kB / 1.634 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/3.7, allocations: 43.53 kB / 1.634 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004714/3.7, allocations: 286.6 kB / 1.635 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/3.7, allocations: 4 kB / 1.635 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/3.7, allocations: 0 / 1.635 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003518/3.7, allocations: 0.5203 MB / 1.635 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000776/3.701, allocations: 0.706 MB / 1.636 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/3.701, allocations: 0 / 1.636 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/3.701, allocations: 55.95 kB / 1.636 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.978e-05/3.702, allocations: 16.86 kB / 1.636 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/3.702, allocations: 11.98 kB / 1.636 GB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005406/3.702, allocations: 1.284 MB / 1.637 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/3.702, allocations: 0 / 1.637 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004224/3.703, allocations: 423.7 kB / 1.638 GB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.692e-05/3.703, allocations: 120.6 kB / 1.638 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.09e-05/3.703, allocations: 4 kB / 1.638 GB, free: 9.836 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/3.703, allocations: 19.89 kB / 1.638 GB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/3.703, allocations: 15.98 kB / 1.638 GB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/3.703, allocations: 15.98 kB / 1.638 GB, free: 9.785 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002722/3.703, allocations: 317.2 kB / 1.638 GB, free: 9.477 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/3.703, allocations: 4.062 kB / 1.638 GB, free: 9.473 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001063/3.704, allocations: 295.8 kB / 1.638 GB, free: 9.184 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 () * 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.001896/3.706, allocations: 1.087 MB / 1.639 GB, free: 8.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006308/3.707, allocations: 457.1 kB / 1.64 GB, free: 7.633 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/3.707, allocations: 0 / 1.64 GB, free: 7.633 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/3.707, allocations: 206.6 kB / 1.64 GB, free: 7.418 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000983/3.708, allocations: 210.3 kB / 1.64 GB, free: 7.211 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008735/3.709, allocations: 0.6176 MB / 1.641 GB, free: 6.574 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/3.709, allocations: 0.8431 MB / 1.642 GB, free: 5.703 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004554/3.71, allocations: 140.5 kB / 1.642 GB, free: 5.566 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.535e-05/3.71, allocations: 47.42 kB / 1.642 GB, free: 5.52 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/3.71, allocations: 0 / 1.642 GB, free: 5.52 MB / 410.7 MB Notification: Performance of Templates: time 0.263/3.973, allocations: 24.69 MB / 1.666 GB, free: 66.11 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)