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.009392/0.009392, allocations: 165.3 kB / 15.11 MB, free: 5.973 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.552/1.552, allocations: 170.8 MB / 186.6 MB, free: 1.047 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.00179/0.00179, allocations: 118.2 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004822/0.000482, allocations: 8 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2385, allocations: 38.77 MB / 312.9 MB, free: 38.84 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.635/1.874, allocations: 0.6963 GB / 1.002 GB, free: 123.1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/1.874, allocations: 86.17 kB / 1.002 GB, free: 123.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.826/3.7, allocations: 0.5695 GB / 1.571 GB, free: 54.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.873e-06/3.7, allocations: 0 / 1.571 GB, free: 54.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.592e-05/3.7, allocations: 10.59 kB / 1.571 GB, free: 54.88 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.001828/3.702, allocations: 0.8358 MB / 1.572 GB, free: 54.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/3.702, allocations: 9.438 kB / 1.572 GB, free: 54.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005498/3.702, allocations: 116.5 kB / 1.572 GB, free: 54.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005667/3.703, allocations: 377.5 kB / 1.573 GB, free: 54.18 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/3.703, allocations: 28.12 kB / 1.573 GB, free: 54.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.404e-05/3.703, allocations: 35.78 kB / 1.573 GB, free: 54.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007671/3.704, allocations: 0.5428 MB / 1.573 GB, free: 54.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/3.704, allocations: 0.8438 kB / 1.573 GB, free: 54.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.088e-05/3.704, allocations: 24.38 kB / 1.573 GB, free: 54.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/3.704, allocations: 9.25 kB / 1.573 GB, free: 54.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005415/3.704, allocations: 419.2 kB / 1.574 GB, free: 54.11 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.002281/3.707, allocations: 1.828 MB / 1.576 GB, free: 53.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/3.707, allocations: 153.9 kB / 1.576 GB, free: 53.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/3.707, allocations: 3.969 kB / 1.576 GB, free: 53.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/3.707, allocations: 37.38 kB / 1.576 GB, free: 53.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.713e-06/3.707, allocations: 0 / 1.576 GB, free: 53.09 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.005508/3.712, allocations: 1.659 MB / 1.577 GB, free: 52.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/3.713, allocations: 59.2 kB / 1.577 GB, free: 52.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004677/3.713, allocations: 434 kB / 1.578 GB, free: 52.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/3.713, allocations: 31.2 kB / 1.578 GB, free: 52.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/3.713, allocations: 312.5 kB / 1.578 GB, free: 51.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.224e-05/3.713, allocations: 99.72 kB / 1.578 GB, free: 51.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.99e-05/3.713, allocations: 11.28 kB / 1.578 GB, free: 51.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.639e-05/3.713, allocations: 351.2 kB / 1.579 GB, free: 51.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/3.714, allocations: 134.6 kB / 1.579 GB, free: 51.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/3.714, allocations: 437.2 kB / 1.579 GB, free: 51.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/3.714, allocations: 224 kB / 1.579 GB, free: 51.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/3.714, allocations: 2.562 kB / 1.579 GB, free: 51.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008012/3.715, allocations: 0.6257 MB / 1.58 GB, free: 51.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/3.715, allocations: 9.969 kB / 1.58 GB, free: 51.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/3.715, allocations: 12.62 kB / 1.58 GB, free: 51.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/3.715, allocations: 57.62 kB / 1.58 GB, free: 51.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/3.716, allocations: 142 kB / 1.58 GB, free: 51.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/3.717, allocations: 1.854 MB / 1.582 GB, free: 49.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004508/3.717, allocations: 28.91 kB / 1.582 GB, free: 49.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.323e-05/3.717, allocations: 39.09 kB / 1.582 GB, free: 49.26 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 () * 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.000222/3.717, allocations: 216 kB / 1.582 GB, free: 49.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.717e-05/3.718, allocations: 45.05 kB / 1.582 GB, free: 49.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005434/3.718, allocations: 298.7 kB / 1.583 GB, free: 49.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/3.718, allocations: 3.969 kB / 1.583 GB, free: 49.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/3.718, allocations: 2.719 kB / 1.583 GB, free: 49.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003584/3.718, allocations: 0.5182 MB / 1.583 GB, free: 48.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008377/3.719, allocations: 0.6998 MB / 1.584 GB, free: 48.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/3.719, allocations: 0 / 1.584 GB, free: 48.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/3.72, allocations: 55.72 kB / 1.584 GB, free: 48.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.001e-05/3.72, allocations: 24.62 kB / 1.584 GB, free: 48.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/3.72, allocations: 18.8 kB / 1.584 GB, free: 48.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006559/3.72, allocations: 1.286 MB / 1.585 GB, free: 47.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/3.72, allocations: 0 / 1.585 GB, free: 47.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004973/3.721, allocations: 426 kB / 1.586 GB, free: 46.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/3.721, allocations: 122.9 kB / 1.586 GB, free: 46.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.334e-05/3.721, allocations: 3.25 kB / 1.586 GB, free: 46.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/3.721, allocations: 22.83 kB / 1.586 GB, free: 46.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/3.721, allocations: 17.48 kB / 1.586 GB, free: 46.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/3.721, allocations: 12.75 kB / 1.586 GB, free: 46.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003184/3.722, allocations: 322.2 kB / 1.586 GB, free: 46.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/3.722, allocations: 0 / 1.586 GB, free: 46.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001261/3.723, allocations: 287.1 kB / 1.586 GB, free: 46.64 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 () * 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.002075/3.725, allocations: 1.098 MB / 1.587 GB, free: 46.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007686/3.726, allocations: 464.4 kB / 1.588 GB, free: 46.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/3.726, allocations: 0 / 1.588 GB, free: 46.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000224/3.726, allocations: 214.5 kB / 1.588 GB, free: 46.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009366/3.727, allocations: 203.3 kB / 1.588 GB, free: 46.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/3.728, allocations: 1.029 MB / 1.589 GB, free: 45.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/3.729, allocations: 0.8365 MB / 1.59 GB, free: 45.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005475/3.729, allocations: 135.2 kB / 1.59 GB, free: 45.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.687e-05/3.729, allocations: 40.69 kB / 1.59 GB, free: 45.02 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/3.729, allocations: 0 / 1.59 GB, free: 45.02 MB / 362.7 MB Notification: Performance of Templates: time 0.02914/3.758, allocations: 21.95 MB / 1.612 GB, free: 43.94 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)