Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001353/0.001353, 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.001599/0.001599, 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.496/1.496, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.0004492/0.0004493, allocations: 15.98 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2552, allocations: 47.57 MB / 326.5 MB, free: 1.453 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4052/0.6605, allocations: 138.8 MB / 465.3 MB, free: 2.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002422/0.663, allocations: 2.377 MB / 467.6 MB, free: 2.137 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002253/0.6632, allocations: 2.875 kB / 467.7 MB, free: 2.137 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005538/0.6638, allocations: 187.5 kB / 467.8 MB, free: 2.137 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004484/0.6643, allocations: 224.4 kB / 468.1 MB, free: 2.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.6654, allocations: 420.1 kB / 468.5 MB, free: 2.121 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006077/0.666, allocations: 0.5776 MB / 469 MB, free: 2.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000261/0.6663, allocations: 207.6 kB / 469.2 MB, free: 2.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/0.6677, allocations: 0.7987 MB / 470 MB, free: 2.074 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003191/0.668, allocations: 265.7 kB / 470.3 MB, free: 2.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.852e-05/0.6681, allocations: 30.56 kB / 470.3 MB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008428/0.669, allocations: 433.4 kB / 470.8 MB, free: 2.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002817/0.6693, allocations: 372.8 kB / 471.1 MB, free: 2.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.6694, allocations: 192.1 kB / 471.3 MB, free: 2.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.6705, allocations: 1.175 MB / 472.5 MB, free: 1.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.6705, allocations: 4 kB / 472.5 MB, free: 1.973 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6705, allocations: 0 / 472.5 MB, free: 1.973 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.6705, allocations: 0 / 472.5 MB, free: 1.973 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001454/0.672, allocations: 0.8947 MB / 473.4 MB, free: 17.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.672, allocations: 7.812 kB / 473.4 MB, free: 17.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006363/0.6727, allocations: 159.8 kB / 473.5 MB, free: 17.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007145/0.6734, allocations: 467.4 kB / 474 MB, free: 17.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.444e-05/0.6734, allocations: 49.44 kB / 474 MB, free: 17.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.6735, allocations: 73.78 kB / 474.1 MB, free: 17.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.6749, allocations: 0.9452 MB / 475.1 MB, free: 17.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.6749, allocations: 0 / 475.1 MB, free: 17.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.145e-05/0.675, allocations: 34.48 kB / 475.1 MB, free: 17.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.79e-05/0.6751, allocations: 44.22 kB / 475.1 MB, free: 17.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.6762, allocations: 0.8662 MB / 476 MB, free: 17.06 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.005262/0.6815, allocations: 3.386 MB / 479.4 MB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007163/0.6822, allocations: 0.6351 MB / 480 MB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.478e-05/0.6823, allocations: 17.89 kB / 480 MB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.6823, allocations: 46.66 kB / 480.1 MB, free: 15.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=59): time 2.324e-06/0.6823, allocations: 0 / 480.1 MB, free: 15.41 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.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.01451/0.6969, allocations: 6.157 MB / 486.3 MB, free: 13.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.6969, allocations: 63.86 kB / 486.3 MB, free: 13.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006252/0.6976, allocations: 0.5433 MB / 486.9 MB, free: 13 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.13e-05/0.6977, allocations: 47.92 kB / 486.9 MB, free: 12.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.6979, allocations: 278 kB / 487.2 MB, free: 12.81 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.6981, allocations: 254.4 kB / 487.4 MB, free: 12.65 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.6981, allocations: 12.62 kB / 487.4 MB, free: 12.65 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.6983, allocations: 368.2 kB / 487.8 MB, free: 12.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005298/0.6988, allocations: 439.7 kB / 488.2 MB, free: 12.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005948/0.6994, allocations: 0.5145 MB / 488.7 MB, free: 12.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006672/0.7001, allocations: 0.5005 MB / 489.2 MB, free: 12.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.7001, allocations: 2.5 kB / 489.2 MB, free: 12.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001885/0.702, allocations: 1.336 MB / 490.6 MB, free: 12.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.702, allocations: 9.734 kB / 490.6 MB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.702, allocations: 2.375 kB / 490.6 MB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005455/0.7026, allocations: 338 kB / 490.9 MB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009402/0.7035, allocations: 177.3 kB / 491.1 MB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007134/0.7107, allocations: 10.29 MB / 0.4896 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007698/0.7115, allocations: 87.84 kB / 0.4897 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.879e-05/0.7116, allocations: 44.75 kB / 0.4898 GB, free: 2.707 MB / 398.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 (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.0004876/0.7121, allocations: 274.9 kB / 0.49 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.7122, allocations: 59.88 kB / 0.4901 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001915/0.7141, allocations: 1.295 MB / 0.4913 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.7141, allocations: 7.719 kB / 0.4913 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.7142, allocations: 0 / 0.4913 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001603/0.7158, allocations: 1.611 MB / 0.4929 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003132/0.7189, allocations: 2.268 MB / 0.4951 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.7189, allocations: 0 / 0.4951 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.72, allocations: 219.8 kB / 0.4953 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001726/0.7202, allocations: 68.44 kB / 0.4954 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.495e-05/0.7203, allocations: 41.91 kB / 0.4955 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.7214, allocations: 1.45 MB / 0.4969 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7214, allocations: 3 kB / 0.4969 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.7234, allocations: 1.627 MB / 0.4985 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/0.7236, allocations: 150.5 kB / 0.4986 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.7237, allocations: 29.95 kB / 0.4986 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007258/0.7245, allocations: 72.08 kB / 0.4987 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.7246, allocations: 54.36 kB / 0.4988 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.232e-05/0.7247, allocations: 65.34 kB / 0.4988 GB, free: 14.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003989/0.7251, allocations: 410 kB / 0.4992 GB, free: 14.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7251, allocations: 0 / 0.4992 GB, free: 14.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001102/0.7262, allocations: 338.5 kB / 0.4995 GB, free: 14.42 MB / 414.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 (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.001318/0.7275, allocations: 423.9 kB / 0.4999 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002131/0.7297, allocations: 1.863 MB / 0.5018 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.7297, allocations: 3.062 kB / 0.5018 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008199/0.7305, allocations: 0.6898 MB / 0.5024 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/0.7326, allocations: 493.3 kB / 0.5029 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003651/0.7363, allocations: 2.538 MB / 0.5054 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000628/0.7369, allocations: 0.9906 MB / 0.5063 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00094/0.7379, allocations: 277.2 kB / 0.5066 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002893/0.7382, allocations: 88.5 kB / 0.5067 GB, free: 10.53 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.7382, allocations: 0 / 0.5067 GB, free: 10.53 MB / 414.1 MB Notification: Performance of Templates: time 0.03862/0.7768, allocations: 24.81 MB / 0.5309 GB, free: 1.891 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) Environment - environmentSimulation: