Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.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.1_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.001079/0.001079, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001148/0.001147, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.4 MB / 222.1 MB, free: 5.543 MB / 174.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.000505/0.0005051, allocations: 12 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2766, allocations: 47.59 MB / 326.5 MB, free: 1.469 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3937/0.6704, allocations: 138.9 MB / 465.4 MB, free: 2.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002856/0.6733, allocations: 2.381 MB / 467.8 MB, free: 2.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002848/0.6736, allocations: 5.781 kB / 467.8 MB, free: 2.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006448/0.6743, allocations: 166.1 kB / 468 MB, free: 2.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006077/0.6749, allocations: 228 kB / 468.2 MB, free: 2.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.6762, allocations: 419.1 kB / 468.6 MB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007811/0.6769, allocations: 0.577 MB / 469.2 MB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.6771, allocations: 71.47 kB / 469.2 MB, free: 2.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/0.6789, allocations: 0.7889 MB / 470 MB, free: 2.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002606/0.6791, allocations: 215.3 kB / 470.2 MB, free: 2.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.363e-05/0.6792, allocations: 18.66 kB / 470.2 MB, free: 2.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008883/0.6801, allocations: 429.9 kB / 470.7 MB, free: 2.051 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.6803, allocations: 194.1 kB / 470.9 MB, free: 2.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.6804, allocations: 137.6 kB / 471 MB, free: 2.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007602/0.6811, allocations: 0.81 MB / 471.8 MB, free: 1.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.6812, allocations: 0 / 471.8 MB, free: 1.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6812, allocations: 0 / 471.8 MB, free: 1.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.6812, allocations: 0 / 471.8 MB, free: 1.98 MB / 382.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.001297/0.6825, allocations: 0.6965 MB / 472.5 MB, free: 17.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.6825, allocations: 10.97 kB / 472.5 MB, free: 17.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006482/0.6832, allocations: 138.5 kB / 472.6 MB, free: 17.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006279/0.6838, allocations: 364.8 kB / 473 MB, free: 17.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.6839, allocations: 35.22 kB / 473 MB, free: 17.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.594e-05/0.6839, allocations: 36.72 kB / 473.1 MB, free: 17.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007825/0.6847, allocations: 0.5523 MB / 473.6 MB, free: 17.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.6847, allocations: 0 / 473.6 MB, free: 17.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.391e-05/0.6848, allocations: 25.08 kB / 473.6 MB, free: 17.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.6848, allocations: 8.781 kB / 473.7 MB, free: 17.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005494/0.6854, allocations: 445.2 kB / 474.1 MB, free: 17.13 MB / 398.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.003013/0.6884, allocations: 2.053 MB / 476.1 MB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.6887, allocations: 154.4 kB / 476.3 MB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.6887, allocations: 2.375 kB / 476.3 MB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.6887, allocations: 36.97 kB / 476.3 MB, free: 15.9 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.272e-06/0.6887, allocations: 0 / 476.3 MB, free: 15.9 MB / 398.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.005608/0.6944, allocations: 1.676 MB / 478 MB, free: 15.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.6944, allocations: 57.53 kB / 478.1 MB, free: 14.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004603/0.6949, allocations: 480.6 kB / 478.5 MB, free: 14.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.6949, allocations: 29.33 kB / 478.6 MB, free: 14.81 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.6951, allocations: 315.9 kB / 478.9 MB, free: 14.6 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.278e-05/0.6952, allocations: 98.27 kB / 479 MB, free: 14.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.6952, allocations: 13.66 kB / 479 MB, free: 14.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.6953, allocations: 355.3 kB / 479.3 MB, free: 14.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.6955, allocations: 135 kB / 479.5 MB, free: 14.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.6958, allocations: 435 kB / 479.9 MB, free: 13.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.6961, allocations: 227.4 kB / 480.1 MB, free: 13.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.6961, allocations: 3.062 kB / 480.1 MB, free: 13.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000798/0.6969, allocations: 0.6293 MB / 480.7 MB, free: 13.74 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.6969, allocations: 8.719 kB / 480.7 MB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.6969, allocations: 10.88 kB / 480.8 MB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001628/0.6971, allocations: 61.81 kB / 480.8 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/0.6976, allocations: 141.6 kB / 481 MB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.6988, allocations: 1.852 MB / 482.8 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004182/0.6993, allocations: 35.81 kB / 482.8 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/0.6993, allocations: 36.34 kB / 482.9 MB, free: 11.95 MB / 398.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.000217/0.6996, allocations: 210.7 kB / 483.1 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.6996, allocations: 44.34 kB / 483.1 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004851/0.7001, allocations: 299.5 kB / 483.4 MB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.7001, allocations: 10.67 kB / 483.4 MB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.7001, allocations: 3.031 kB / 483.4 MB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004485/0.7006, allocations: 0.5221 MB / 484 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008091/0.7014, allocations: 0.6889 MB / 484.6 MB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.7014, allocations: 3.938 kB / 484.6 MB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002488/0.7017, allocations: 54.06 kB / 484.7 MB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.587e-05/0.7018, allocations: 26 kB / 484.7 MB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.7018, allocations: 6.25 kB / 484.7 MB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007959/0.7026, allocations: 1.287 MB / 486 MB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.7026, allocations: 3.953 kB / 486 MB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004662/0.7031, allocations: 428.5 kB / 486.4 MB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.7032, allocations: 120.9 kB / 486.6 MB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.923e-05/0.7033, allocations: 6.344 kB / 486.6 MB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002814/0.7036, allocations: 23.39 kB / 486.6 MB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.7036, allocations: 18.25 kB / 486.6 MB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.7036, allocations: 14.53 kB / 486.6 MB, free: 9.391 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002851/0.7039, allocations: 324.8 kB / 486.9 MB, free: 9.305 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7039, allocations: 0 / 486.9 MB, free: 9.305 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007969/0.7047, allocations: 214.3 kB / 487.1 MB, free: 9.289 MB / 398.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.001187/0.7059, allocations: 386.6 kB / 487.5 MB, free: 9.133 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007196/0.7067, allocations: 465.2 kB / 488 MB, free: 9.012 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7067, allocations: 0 / 488 MB, free: 9.012 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.7069, allocations: 209.4 kB / 488.2 MB, free: 8.902 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.708, allocations: 214.1 kB / 488.4 MB, free: 8.879 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.7094, allocations: 1.02 MB / 489.4 MB, free: 8.348 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/0.7099, allocations: 0.8447 MB / 490.3 MB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000466/0.7104, allocations: 139 kB / 490.4 MB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.597e-05/0.7105, allocations: 43.66 kB / 490.4 MB, free: 7.59 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.7105, allocations: 2.734 kB / 490.4 MB, free: 7.59 MB / 398.1 MB Notification: Performance of Templates: time 0.01964/0.7302, allocations: 11.73 MB / 0.4904 GB, free: 3.156 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) Environment - environmentSimulation: