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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 112.8 kB / 17.06 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 200 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 47.94 kB / 327.9 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1275, allocations: 46.62 MB / 374.5 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4713/0.5989, allocations: 175.5 MB / 0.5371 GB, free: 15.55 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004606/0.6035, allocations: 3.838 MB / 0.5409 GB, free: 11.69 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002421/0.6038, allocations: 4 kB / 0.5409 GB, free: 11.69 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007597/0.6046, allocations: 246.6 kB / 0.5411 GB, free: 11.45 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006613/0.6053, allocations: 358.1 kB / 0.5415 GB, free: 11.09 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.6067, allocations: 0.544 MB / 0.542 GB, free: 10.55 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001117/0.6078, allocations: 1.099 MB / 0.5431 GB, free: 9.449 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003461/0.6082, allocations: 289.6 kB / 0.5433 GB, free: 9.168 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002962/0.6111, allocations: 1.299 MB / 0.5446 GB, free: 7.871 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004947/0.6116, allocations: 402.7 kB / 0.545 GB, free: 7.477 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.6117, allocations: 72 kB / 0.5451 GB, free: 7.406 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.6128, allocations: 479.1 kB / 0.5455 GB, free: 6.938 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003492/0.6131, allocations: 443 kB / 0.5459 GB, free: 6.504 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005266/0.6137, allocations: 490.3 kB / 0.5464 GB, free: 6.023 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.6153, allocations: 1.543 MB / 0.5479 GB, free: 4.477 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.6153, allocations: 0 / 0.5479 GB, free: 4.477 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6153, allocations: 0 / 0.5479 GB, free: 4.477 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.6153, allocations: 0 / 0.5479 GB, free: 4.477 MB / 478.1 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.00169/0.617, allocations: 1.065 MB / 0.549 GB, free: 3.363 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.6171, allocations: 11.89 kB / 0.549 GB, free: 3.352 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006349/0.6177, allocations: 157.7 kB / 0.5491 GB, free: 3.199 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008703/0.6186, allocations: 484.8 kB / 0.5496 GB, free: 2.684 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/0.6186, allocations: 53.3 kB / 0.5496 GB, free: 2.629 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.6188, allocations: 64 kB / 0.5497 GB, free: 2.566 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.6202, allocations: 0.9512 MB / 0.5506 GB, free: 1.609 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.6202, allocations: 7.906 kB / 0.5506 GB, free: 1.602 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.421e-05/0.6203, allocations: 28 kB / 0.5507 GB, free: 1.574 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.429e-05/0.6204, allocations: 49.98 kB / 0.5507 GB, free: 1.527 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.6216, allocations: 0.8667 MB / 0.5515 GB, free: 0.6562 MB / 478.1 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.2501/0.8717, allocations: 3.375 MB / 0.5548 GB, free: 169 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.8729, allocations: 0.6442 MB / 0.5555 GB, free: 168.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005371/0.8735, allocations: 360.7 kB / 0.5558 GB, free: 168.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.689e-05/0.8736, allocations: 15.77 kB / 0.5558 GB, free: 168.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.862e-05/0.8736, allocations: 45.28 kB / 0.5559 GB, free: 168.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=59): time 4.268e-06/0.8737, allocations: 0 / 0.5559 GB, free: 168.7 MB / 478.1 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.01611/0.8898, allocations: 6.081 MB / 0.5618 GB, free: 165.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.8898, allocations: 58.72 kB / 0.5619 GB, free: 165.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008472/0.8907, allocations: 0.5413 MB / 0.5624 GB, free: 165.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001313/0.8909, allocations: 44.8 kB / 0.5624 GB, free: 165 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000203/0.8911, allocations: 282.4 kB / 0.5627 GB, free: 164.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.8913, allocations: 253.9 kB / 0.563 GB, free: 164.6 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003067/0.8916, allocations: 144.9 kB / 0.5631 GB, free: 164.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.8917, allocations: 371.9 kB / 0.5634 GB, free: 164.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007524/0.8925, allocations: 446.7 kB / 0.5639 GB, free: 164 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007877/0.8933, allocations: 0.5141 MB / 0.5644 GB, free: 163.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/0.8949, allocations: 0.9669 MB / 0.5653 GB, free: 163.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.8949, allocations: 5.031 kB / 0.5653 GB, free: 163.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002255/0.8971, allocations: 1.338 MB / 0.5666 GB, free: 162.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.8972, allocations: 11.06 kB / 0.5666 GB, free: 162.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.8972, allocations: 2.688 kB / 0.5666 GB, free: 162.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000811/0.898, allocations: 336.5 kB / 0.567 GB, free: 162.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.8991, allocations: 181.2 kB / 0.5671 GB, free: 162.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006472/0.9056, allocations: 10.96 MB / 0.5778 GB, free: 152 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000679/0.9063, allocations: 22.02 kB / 0.5779 GB, free: 151.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/0.9065, allocations: 42.3 kB / 0.5779 GB, free: 151.9 MB / 478.1 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 8 systems {(1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0006016/0.9071, allocations: 277.4 kB / 0.5782 GB, free: 151.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002651/0.9073, allocations: 63.44 kB / 0.5782 GB, free: 151.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/0.9099, allocations: 1.284 MB / 0.5795 GB, free: 151.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.9099, allocations: 11.66 kB / 0.5795 GB, free: 151.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.91, allocations: 12.97 kB / 0.5795 GB, free: 151.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001854/0.9118, allocations: 1.606 MB / 0.5811 GB, free: 150 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004064/0.9159, allocations: 2.261 MB / 0.5833 GB, free: 148.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.9159, allocations: 1.281 kB / 0.5833 GB, free: 148.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/0.9171, allocations: 218.6 kB / 0.5835 GB, free: 148.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001979/0.9173, allocations: 71.17 kB / 0.5836 GB, free: 148.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.169e-05/0.9174, allocations: 42.67 kB / 0.5836 GB, free: 148.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.9185, allocations: 1.538 MB / 0.5851 GB, free: 147.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.9185, allocations: 0 / 0.5851 GB, free: 147.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/0.9209, allocations: 1.6 MB / 0.5867 GB, free: 146.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/0.9212, allocations: 138.5 kB / 0.5868 GB, free: 146.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.9213, allocations: 29.45 kB / 0.5868 GB, free: 146.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007259/0.9221, allocations: 41.94 kB / 0.5869 GB, free: 146.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.9222, allocations: 52.7 kB / 0.5869 GB, free: 146.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/0.9224, allocations: 62.36 kB / 0.587 GB, free: 146.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004921/0.9229, allocations: 410.5 kB / 0.5874 GB, free: 146.1 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.392e-06/0.9229, allocations: 4 kB / 0.5874 GB, free: 146.1 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00164/0.9245, allocations: 333.1 kB / 0.5877 GB, free: 146 MB / 478.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001596/0.9261, allocations: 498 kB / 0.5882 GB, free: 145.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002671/0.9288, allocations: 1.892 MB / 0.59 GB, free: 144.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.9288, allocations: 5.078 kB / 0.59 GB, free: 144.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008868/0.9297, allocations: 0.6848 MB / 0.5907 GB, free: 144.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/0.9322, allocations: 0.502 MB / 0.5912 GB, free: 143.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003708/0.936, allocations: 2.198 MB / 0.5933 GB, free: 142.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/0.9365, allocations: 0.9671 MB / 0.5943 GB, free: 141.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001131/0.9376, allocations: 281.7 kB / 0.5945 GB, free: 141 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/0.938, allocations: 91.41 kB / 0.5946 GB, free: 140.9 MB / 478.1 MB Notification: Performance of SimCode: time 1.513e-06/0.938, allocations: 0 / 0.5946 GB, free: 140.9 MB / 478.1 MB Notification: Performance of Templates: time 0.03619/0.9742, allocations: 27.24 MB / 0.6212 GB, free: 113.6 MB / 478.1 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)