Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.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.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00128/0.00128, allocations: 181.2 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.697/1.697, 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.001622/0.001622, allocations: 116.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.252e-05/4.254e-05, allocations: 4 kB / 305 MB, free: 29.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1146, allocations: 44.49 MB / 349.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.779/1.894, allocations: 0.7076 GB / 1.049 GB, free: 156.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/1.894, allocations: 87.06 kB / 1.049 GB, free: 156.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.732/3.626, allocations: 0.5558 GB / 1.605 GB, free: 64.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/3.626, allocations: 0 / 1.605 GB, free: 64.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.096e-05/3.626, allocations: 12 kB / 1.605 GB, free: 64.07 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001899/3.628, allocations: 0.9541 MB / 1.606 GB, free: 63.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/3.628, allocations: 8.031 kB / 1.606 GB, free: 63.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006091/3.628, allocations: 155.1 kB / 1.606 GB, free: 62.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006634/3.629, allocations: 487 kB / 1.606 GB, free: 62.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/3.629, allocations: 54 kB / 1.606 GB, free: 62.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/3.629, allocations: 75.91 kB / 1.606 GB, free: 62.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/3.63, allocations: 0.9092 MB / 1.607 GB, free: 61.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/3.63, allocations: 6.625 kB / 1.607 GB, free: 61.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.55e-05/3.631, allocations: 32 kB / 1.607 GB, free: 61.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/3.631, allocations: 16 kB / 1.607 GB, free: 61.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/3.632, allocations: 0.8278 MB / 1.608 GB, free: 60.49 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.004426/3.636, allocations: 3.438 MB / 1.612 GB, free: 56.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007032/3.637, allocations: 0.6066 MB / 1.612 GB, free: 56.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003781/3.637, allocations: 356.9 kB / 1.612 GB, free: 55.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.288e-05/3.637, allocations: 23.77 kB / 1.612 GB, free: 55.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/3.637, allocations: 50.27 kB / 1.613 GB, free: 55.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=59): time 2.585e-06/3.637, allocations: 0 / 1.613 GB, free: 55.79 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.Xi[6] 2: volume.medium.Xi[5] 3: volume.medium.Xi[4] 4: volume.medium.Xi[3] 5: volume.medium.Xi[2] 6: volume.medium.Xi[1] 7: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=71): time 0.01171/3.649, allocations: 4.326 MB / 1.617 GB, free: 51.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/3.649, allocations: 61.53 kB / 1.617 GB, free: 51.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005355/3.65, allocations: 0.499 MB / 1.617 GB, free: 50.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.934e-05/3.65, allocations: 37.7 kB / 1.617 GB, free: 50.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/3.65, allocations: 278.2 kB / 1.618 GB, free: 50.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/3.65, allocations: 251.2 kB / 1.618 GB, free: 50.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/3.65, allocations: 16 kB / 1.618 GB, free: 50.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.283e-05/3.65, allocations: 376.9 kB / 1.618 GB, free: 49.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004932/3.651, allocations: 429.4 kB / 1.619 GB, free: 49.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005231/3.651, allocations: 0.5014 MB / 1.619 GB, free: 48.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005695/3.652, allocations: 497.4 kB / 1.62 GB, free: 48.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/3.652, allocations: 0 / 1.62 GB, free: 48.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001738/3.653, allocations: 1.355 MB / 1.621 GB, free: 47.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/3.653, allocations: 9.406 kB / 1.621 GB, free: 47.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/3.654, allocations: 0 / 1.621 GB, free: 47.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005853/3.654, allocations: 336.3 kB / 1.621 GB, free: 46.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008732/3.655, allocations: 179.6 kB / 1.621 GB, free: 46.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005259/3.66, allocations: 10.2 MB / 1.631 GB, free: 35.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008176/3.661, allocations: 86.39 kB / 1.631 GB, free: 35.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.45e-05/3.661, allocations: 39.98 kB / 1.631 GB, free: 35.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 72 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002552/3.661, allocations: 152.5 kB / 1.632 GB, free: 35.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/3.662, allocations: 63.34 kB / 1.632 GB, free: 35.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/3.664, allocations: 1.291 MB / 1.633 GB, free: 33.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/3.664, allocations: 8 kB / 1.633 GB, free: 33.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/3.664, allocations: 11.42 kB / 1.633 GB, free: 33.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001312/3.665, allocations: 1.59 MB / 1.635 GB, free: 31.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/3.668, allocations: 2.26 MB / 1.637 GB, free: 29.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/3.668, allocations: 0 / 1.637 GB, free: 29.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/3.669, allocations: 221.9 kB / 1.637 GB, free: 29.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001633/3.669, allocations: 70.78 kB / 1.637 GB, free: 29.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.714e-05/3.669, allocations: 39.97 kB / 1.637 GB, free: 29.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008702/3.67, allocations: 1.443 MB / 1.638 GB, free: 27.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/3.67, allocations: 1.312 kB / 1.638 GB, free: 27.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/3.672, allocations: 1.609 MB / 1.64 GB, free: 26.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002599/3.672, allocations: 151.2 kB / 1.64 GB, free: 25.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.754e-05/3.672, allocations: 27.98 kB / 1.64 GB, free: 25.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008011/3.673, allocations: 77.06 kB / 1.64 GB, free: 25.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/3.673, allocations: 52.7 kB / 1.64 GB, free: 25.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.946e-05/3.673, allocations: 71.88 kB / 1.64 GB, free: 25.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004079/3.674, allocations: 397.1 kB / 1.641 GB, free: 25.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/3.674, allocations: 0 / 1.641 GB, free: 25.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001542/3.675, allocations: 421.8 kB / 1.641 GB, free: 24.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 76 * 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.002261/3.677, allocations: 1.147 MB / 1.642 GB, free: 23.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001992/3.679, allocations: 1.839 MB / 1.644 GB, free: 22.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/3.679, allocations: 4 kB / 1.644 GB, free: 22.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007093/3.68, allocations: 0.679 MB / 1.645 GB, free: 21.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/3.683, allocations: 490 kB / 1.645 GB, free: 20.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/3.686, allocations: 1.888 MB / 1.647 GB, free: 18.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/3.686, allocations: 0.9906 MB / 1.648 GB, free: 17.97 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001154/3.688, allocations: 268.8 kB / 1.648 GB, free: 17.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003166/3.688, allocations: 91.39 kB / 1.648 GB, free: 17.63 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/3.688, allocations: 0 / 1.648 GB, free: 17.63 MB / 410.7 MB Notification: Performance of Templates: time 0.2769/3.965, allocations: 37.84 MB / 1.685 GB, free: 66.25 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1)