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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000952/0.0009523, allocations: 95.17 kB / 16.3 MB, free: 5.656 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.001133/0.001133, allocations: 180.7 kB / 17.19 MB, free: 5.59 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.546/1.546, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0004573/0.0004574, allocations: 12 kB / 280.1 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1085, allocations: 47.59 MB / 327.7 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3837/0.4923, allocations: 138.9 MB / 466.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003897/0.4962, allocations: 2.381 MB / 469 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000343/0.4966, allocations: 0 / 469 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007188/0.4974, allocations: 171.2 kB / 469.2 MB, free: 11.28 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006463/0.498, allocations: 231.4 kB / 469.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.4993, allocations: 412.9 kB / 469.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007572/0.5001, allocations: 0.5818 MB / 470.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.5003, allocations: 69.19 kB / 470.5 MB, free: 10 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001645/0.5019, allocations: 0.7911 MB / 471.3 MB, free: 9.207 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.5022, allocations: 219.3 kB / 471.5 MB, free: 8.992 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.446e-05/0.5023, allocations: 16 kB / 471.5 MB, free: 8.977 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009103/0.5032, allocations: 435.5 kB / 471.9 MB, free: 8.551 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.5034, allocations: 195.5 kB / 472.1 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.5035, allocations: 133.5 kB / 472.3 MB, free: 8.223 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008858/0.5044, allocations: 0.8053 MB / 473.1 MB, free: 7.418 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.5045, allocations: 0 / 473.1 MB, free: 7.418 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5045, allocations: 0 / 473.1 MB, free: 7.418 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.5045, allocations: 7.938 kB / 473.1 MB, free: 7.41 MB / 366.1 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.001148/0.5056, allocations: 0.6945 MB / 473.8 MB, free: 6.664 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.5057, allocations: 12.03 kB / 473.8 MB, free: 6.652 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006176/0.5063, allocations: 135.3 kB / 473.9 MB, free: 6.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000563/0.5069, allocations: 365.3 kB / 474.3 MB, free: 6.121 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.5069, allocations: 29 kB / 474.3 MB, free: 6.094 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.363e-05/0.507, allocations: 39.98 kB / 474.3 MB, free: 6.055 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008396/0.5078, allocations: 0.5537 MB / 474.9 MB, free: 5.484 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.5079, allocations: 3.938 kB / 474.9 MB, free: 5.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-05/0.5079, allocations: 24 kB / 474.9 MB, free: 5.457 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.5079, allocations: 8 kB / 474.9 MB, free: 5.449 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005805/0.5085, allocations: 442.3 kB / 475.3 MB, free: 5.02 MB / 366.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.003083/0.5116, allocations: 2.063 MB / 477.4 MB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.5119, allocations: 146.6 kB / 477.6 MB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.5119, allocations: 8.062 kB / 477.6 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.512, allocations: 38.56 kB / 477.6 MB, free: 2.574 MB / 366.1 MB Notification: Performance of pre-optimization done (n=18): time 1.664e-06/0.512, allocations: 0 / 477.6 MB, free: 2.574 MB / 366.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.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.005828/0.5178, allocations: 1.676 MB / 479.3 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.5179, allocations: 55.36 kB / 479.3 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005397/0.5184, allocations: 481.6 kB / 479.8 MB, free: 208 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.5185, allocations: 33.7 kB / 479.8 MB, free: 168 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.5187, allocations: 310.5 kB / 480.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.304e-05/0.5187, allocations: 98.72 kB / 480.2 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.5188, allocations: 16 kB / 480.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.5189, allocations: 350.8 kB / 480.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.5191, allocations: 133.2 kB / 480.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003835/0.5195, allocations: 436.5 kB / 481.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.5198, allocations: 223.8 kB / 481.4 MB, free: 14.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.5198, allocations: 4 kB / 481.4 MB, free: 14.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009048/0.5207, allocations: 0.6317 MB / 482 MB, free: 13.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.5208, allocations: 12 kB / 482 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.5208, allocations: 8.875 kB / 482 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001824/0.521, allocations: 65.62 kB / 482.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/0.5215, allocations: 135.8 kB / 482.2 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.5229, allocations: 1.859 MB / 484.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004289/0.5233, allocations: 28 kB / 484.1 MB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/0.5234, allocations: 39.98 kB / 484.1 MB, free: 11.52 MB / 382.1 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.0002442/0.5236, allocations: 213.5 kB / 484.4 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.675e-05/0.5237, allocations: 47.48 kB / 484.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005298/0.5243, allocations: 302.8 kB / 484.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.5243, allocations: 8 kB / 484.7 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.5243, allocations: 0 / 484.7 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004729/0.5248, allocations: 0.5122 MB / 485.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000972/0.5257, allocations: 0.6981 MB / 485.9 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.5258, allocations: 0 / 485.9 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.526, allocations: 51.91 kB / 486 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.137e-05/0.5261, allocations: 28.84 kB / 486 MB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.5261, allocations: 11.94 kB / 486 MB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008491/0.527, allocations: 1.291 MB / 487.3 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.527, allocations: 0 / 487.3 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005467/0.5276, allocations: 424.3 kB / 487.7 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.5277, allocations: 120.5 kB / 487.8 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.909e-05/0.5278, allocations: 4 kB / 487.8 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.528, allocations: 20.19 kB / 487.8 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.5281, allocations: 15.97 kB / 487.9 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.5281, allocations: 19.98 kB / 487.9 MB, free: 7.434 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003317/0.5285, allocations: 319.1 kB / 488.2 MB, free: 7.121 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5285, allocations: 0 / 488.2 MB, free: 7.121 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008006/0.5293, allocations: 215.9 kB / 488.4 MB, free: 6.91 MB / 382.1 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.001263/0.5305, allocations: 394 kB / 488.8 MB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007541/0.5313, allocations: 467.8 kB / 489.2 MB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5313, allocations: 0 / 489.2 MB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.5316, allocations: 206.6 kB / 489.5 MB, free: 5.836 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.5326, allocations: 210.4 kB / 489.7 MB, free: 5.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.534, allocations: 1.028 MB / 490.7 MB, free: 4.582 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/0.5344, allocations: 0.8505 MB / 491.5 MB, free: 3.703 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004788/0.5349, allocations: 132.6 kB / 491.7 MB, free: 3.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.787e-05/0.535, allocations: 43.44 kB / 491.7 MB, free: 3.527 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.535, allocations: 3.938 kB / 491.7 MB, free: 3.523 MB / 382.1 MB Notification: Performance of Templates: time 0.01973/0.5548, allocations: 11.72 MB / 0.4916 GB, free: 7.77 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: