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.001058/0.001058, allocations: 179.6 kB / 16.38 MB, free: 5.762 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.269/1.269, allocations: 194.5 MB / 211.6 MB, free: 3.031 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.001644/0.001643, allocations: 120.3 kB / 256.9 MB, free: 4.367 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002915/0.0002917, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08738/0.08769, allocations: 44.5 MB / 355.1 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.459/1.547, allocations: 0.7077 GB / 1.054 GB, free: 97.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/1.547, allocations: 88.02 kB / 1.055 GB, free: 97.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.569/3.116, allocations: 0.5554 GB / 1.61 GB, free: 14.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.953e-06/3.116, allocations: 4 kB / 1.61 GB, free: 14.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.779e-05/3.116, allocations: 12 kB / 1.61 GB, free: 14.55 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.002113/3.118, allocations: 1.008 MB / 1.611 GB, free: 13.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/3.118, allocations: 8.031 kB / 1.611 GB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005475/3.119, allocations: 143 kB / 1.611 GB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007585/3.119, allocations: 489.2 kB / 1.612 GB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.22e-05/3.119, allocations: 58 kB / 1.612 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/3.119, allocations: 75.98 kB / 1.612 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/3.121, allocations: 0.9131 MB / 1.613 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/3.121, allocations: 7.906 kB / 1.613 GB, free: 11.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.912e-05/3.121, allocations: 32 kB / 1.613 GB, free: 11.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/3.121, allocations: 24 kB / 1.613 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009757/3.122, allocations: 0.8472 MB / 1.613 GB, free: 10.87 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.004264/3.126, allocations: 3.426 MB / 1.617 GB, free: 7.168 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006725/3.127, allocations: 0.6274 MB / 1.617 GB, free: 6.523 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.569e-05/3.127, allocations: 20.48 kB / 1.617 GB, free: 6.504 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/3.127, allocations: 55.06 kB / 1.617 GB, free: 6.441 MB / 410.7 MB Notification: Performance of pre-optimization done (n=59): time 3.005e-06/3.127, allocations: 0 / 1.617 GB, free: 6.441 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.2198/3.347, allocations: 6.174 MB / 1.623 GB, free: 61.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/3.347, allocations: 60.91 kB / 1.624 GB, free: 61.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007872/3.348, allocations: 0.4931 MB / 1.624 GB, free: 60.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000225/3.348, allocations: 42.42 kB / 1.624 GB, free: 60.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/3.348, allocations: 276.2 kB / 1.624 GB, free: 60.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000186/3.348, allocations: 255.5 kB / 1.625 GB, free: 60.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/3.348, allocations: 15.97 kB / 1.625 GB, free: 60.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.483e-05/3.348, allocations: 375.1 kB / 1.625 GB, free: 60.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005284/3.349, allocations: 443.9 kB / 1.625 GB, free: 60.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005553/3.349, allocations: 0.5076 MB / 1.626 GB, free: 60.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005908/3.35, allocations: 0.4931 MB / 1.626 GB, free: 60.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/3.35, allocations: 3.469 kB / 1.626 GB, free: 60.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001652/3.352, allocations: 1.339 MB / 1.628 GB, free: 60.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/3.352, allocations: 5.375 kB / 1.628 GB, free: 60.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/3.352, allocations: 0.5625 kB / 1.628 GB, free: 60.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005227/3.352, allocations: 337.5 kB / 1.628 GB, free: 60.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008797/3.353, allocations: 182.3 kB / 1.628 GB, free: 60.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005277/3.359, allocations: 10.27 MB / 1.638 GB, free: 50.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008665/3.359, allocations: 80.73 kB / 1.638 GB, free: 50.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.058e-05/3.36, allocations: 46.81 kB / 1.638 GB, free: 50.92 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 () * Number of clocked 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.0005815/3.36, allocations: 275.2 kB / 1.639 GB, free: 50.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/3.36, allocations: 60.09 kB / 1.639 GB, free: 50.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001799/3.362, allocations: 1.268 MB / 1.64 GB, free: 50.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/3.362, allocations: 7.812 kB / 1.64 GB, free: 50.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/3.362, allocations: 0 / 1.64 GB, free: 50.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001391/3.363, allocations: 1.617 MB / 1.641 GB, free: 49.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002902/3.366, allocations: 2.256 MB / 1.644 GB, free: 49.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/3.366, allocations: 7.562 kB / 1.644 GB, free: 49.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/3.368, allocations: 221.3 kB / 1.644 GB, free: 49.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001626/3.368, allocations: 73.81 kB / 1.644 GB, free: 49.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-05/3.368, allocations: 39.78 kB / 1.644 GB, free: 49.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008611/3.369, allocations: 1.446 MB / 1.645 GB, free: 48.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/3.369, allocations: 0.5469 kB / 1.645 GB, free: 48.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/3.371, allocations: 1.63 MB / 1.647 GB, free: 47.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/3.371, allocations: 151.5 kB / 1.647 GB, free: 47.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/3.371, allocations: 27.58 kB / 1.647 GB, free: 47.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007106/3.372, allocations: 78.83 kB / 1.647 GB, free: 47.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.803e-05/3.372, allocations: 53.94 kB / 1.647 GB, free: 47.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.635e-05/3.372, allocations: 65.53 kB / 1.647 GB, free: 47.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004454/3.372, allocations: 400.9 kB / 1.648 GB, free: 47.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.6e-07/3.372, allocations: 0 / 1.648 GB, free: 47.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001474/3.374, allocations: 415.9 kB / 1.648 GB, free: 47.71 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 () * Number of clocked 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.002212/3.376, allocations: 1.14 MB / 1.649 GB, free: 47.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002021/3.378, allocations: 1.86 MB / 1.651 GB, free: 46.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/3.378, allocations: 3.688 kB / 1.651 GB, free: 46.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008389/3.379, allocations: 0.6826 MB / 1.652 GB, free: 46.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/3.381, allocations: 481.9 kB / 1.652 GB, free: 46.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003842/3.385, allocations: 2.554 MB / 1.655 GB, free: 45.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/3.385, allocations: 0.9885 MB / 1.656 GB, free: 45.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00114/3.386, allocations: 275.3 kB / 1.656 GB, free: 45.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003274/3.387, allocations: 90.05 kB / 1.656 GB, free: 45.18 MB / 410.7 MB Notification: Performance of SimCode: time 7.12e-07/3.387, allocations: 0 / 1.656 GB, free: 45.18 MB / 410.7 MB Notification: Performance of Templates: time 0.04908/3.436, allocations: 35.11 MB / 1.69 GB, free: 44.35 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)