Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007716/0.0007715, allocations: 90.91 kB / 15.36 MB, free: 0.7383 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.006357/0.006357, allocations: 172 kB / 16.26 MB, free: 6.613 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.45/1.45, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3168/0.3168, allocations: 38.02 MB / 308.8 MB, free: 10.38 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005323/0.0005321, allocations: 12 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1276, allocations: 57.52 MB / 434.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4173/0.5449, allocations: 179.3 MB / 0.5994 GB, free: 4.734 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0103/0.5553, allocations: 7.102 MB / 0.6064 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.5566, allocations: 27.75 kB / 0.6064 GB, free: 13.59 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.5582, allocations: 390.1 kB / 0.6068 GB, free: 13.21 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006504/0.5648, allocations: 1.829 MB / 0.6086 GB, free: 11.38 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004796/0.5696, allocations: 1.54 MB / 0.6101 GB, free: 9.852 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003971/0.5736, allocations: 3.241 MB / 0.6132 GB, free: 6.609 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.5747, allocations: 0.6595 MB / 0.6139 GB, free: 5.949 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004395/0.5791, allocations: 1.815 MB / 0.6157 GB, free: 4.137 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003085/0.5822, allocations: 1.663 MB / 0.6173 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00019/0.5824, allocations: 56 kB / 0.6173 GB, free: 2.414 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003908/0.5863, allocations: 2.049 MB / 0.6193 GB, free: 372 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006764/0.587, allocations: 0.6391 MB / 0.62 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008995/0.5879, allocations: 0.733 MB / 0.6207 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003998/0.5919, allocations: 2.832 MB / 0.6234 GB, free: 12.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.592, allocations: 0 / 0.6234 GB, free: 12.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.592, allocations: 0 / 0.6234 GB, free: 12.14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.592, allocations: 0 / 0.6234 GB, free: 12.14 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003055/0.5951, allocations: 1.412 MB / 0.6248 GB, free: 10.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.5951, allocations: 15.97 kB / 0.6248 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.5965, allocations: 322.2 kB / 0.6251 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.5977, allocations: 0.7416 MB / 0.6259 GB, free: 9.566 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.5978, allocations: 145.3 kB / 0.626 GB, free: 9.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/0.598, allocations: 103.9 kB / 0.6261 GB, free: 9.309 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/0.6007, allocations: 1.844 MB / 0.6279 GB, free: 7.398 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/0.6007, allocations: 7.938 kB / 0.6279 GB, free: 7.391 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/0.6009, allocations: 47.98 kB / 0.628 GB, free: 7.344 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.852e-05/0.601, allocations: 97.95 kB / 0.628 GB, free: 7.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00261/0.6036, allocations: 1.695 MB / 0.6297 GB, free: 5.555 MB / 494.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.2321/0.8357, allocations: 6.983 MB / 0.6365 GB, free: 157.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.8368, allocations: 0.8729 MB / 0.6374 GB, free: 157.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000551/0.8374, allocations: 454 kB / 0.6378 GB, free: 157.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001687/0.8376, allocations: 142.2 kB / 0.6379 GB, free: 157.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.8376, allocations: 46.91 kB / 0.638 GB, free: 157.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=60): time 3.587e-06/0.8376, allocations: 0 / 0.638 GB, free: 157.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=72): time 0.00938/0.847, allocations: 4.16 MB / 0.642 GB, free: 156.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.8471, allocations: 125 kB / 0.6422 GB, free: 156.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.8482, allocations: 1.1 MB / 0.6432 GB, free: 156.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.661e-05/0.8483, allocations: 43.36 kB / 0.6433 GB, free: 156.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/0.8486, allocations: 0.523 MB / 0.6438 GB, free: 156.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001688/0.8488, allocations: 264.8 kB / 0.644 GB, free: 156 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.8489, allocations: 89.75 kB / 0.6441 GB, free: 155.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.922e-05/0.849, allocations: 344.7 kB / 0.6445 GB, free: 155.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007571/0.8498, allocations: 0.5895 MB / 0.645 GB, free: 155.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009088/0.8507, allocations: 0.8703 MB / 0.6459 GB, free: 154.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.8522, allocations: 1.452 MB / 0.6473 GB, free: 154.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.8523, allocations: 3.25 kB / 0.6473 GB, free: 154.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002487/0.8547, allocations: 1.998 MB / 0.6493 GB, free: 153.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.8548, allocations: 6 kB / 0.6493 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.8548, allocations: 9.812 kB / 0.6493 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004317/0.8591, allocations: 1.387 MB / 0.6506 GB, free: 153.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005273/0.8597, allocations: 144.3 kB / 0.6508 GB, free: 153.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.8619, allocations: 1.929 MB / 0.6527 GB, free: 152.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009792/0.8629, allocations: 115 kB / 0.6528 GB, free: 152.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-05/0.863, allocations: 64.83 kB / 0.6528 GB, free: 152.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,35)} Notification: Performance of prepare postOptimizeDAE: time 0.0005035/0.8635, allocations: 397.4 kB / 0.6532 GB, free: 151.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.8637, allocations: 114.4 kB / 0.6533 GB, free: 151.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/0.8657, allocations: 1.399 MB / 0.6547 GB, free: 151.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.8657, allocations: 9.906 kB / 0.6547 GB, free: 151.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.8657, allocations: 0 / 0.6547 GB, free: 151.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.8657, allocations: 9.484 kB / 0.6547 GB, free: 151.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00315/0.8689, allocations: 2.697 MB / 0.6573 GB, free: 150 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.8689, allocations: 0 / 0.6573 GB, free: 150 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001645/0.8706, allocations: 323 kB / 0.6576 GB, free: 150 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001515/0.8707, allocations: 68.27 kB / 0.6577 GB, free: 150 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.864e-05/0.8708, allocations: 38.66 kB / 0.6577 GB, free: 150 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.8724, allocations: 2.835 MB / 0.6605 GB, free: 147.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.8724, allocations: 0 / 0.6605 GB, free: 147.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002355/0.8747, allocations: 1.906 MB / 0.6624 GB, free: 146.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004879/0.8752, allocations: 347.2 kB / 0.6627 GB, free: 146.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.8754, allocations: 30.81 kB / 0.6627 GB, free: 146.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000949/0.8764, allocations: 82.19 kB / 0.6628 GB, free: 146.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.8765, allocations: 64.28 kB / 0.6629 GB, free: 146.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/0.8767, allocations: 66.67 kB / 0.6629 GB, free: 146.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008228/0.8775, allocations: 0.7957 MB / 0.6637 GB, free: 145.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8775, allocations: 0 / 0.6637 GB, free: 145.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001355/0.8788, allocations: 0.5242 MB / 0.6642 GB, free: 145.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.001989/0.8808, allocations: 0.7969 MB / 0.665 GB, free: 145.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002373/0.8832, allocations: 1.464 MB / 0.6664 GB, free: 145.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.8832, allocations: 6.469 kB / 0.6664 GB, free: 145.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001552/0.8848, allocations: 0.8554 MB / 0.6673 GB, free: 144.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003279/0.8881, allocations: 0.7305 MB / 0.668 GB, free: 144.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004782/0.8929, allocations: 3.474 MB / 0.6714 GB, free: 142.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006663/0.8936, allocations: 1.181 MB / 0.6725 GB, free: 142.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001424/0.895, allocations: 409.8 kB / 0.6729 GB, free: 142 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003548/0.8954, allocations: 105.5 kB / 0.673 GB, free: 142 MB / 494.1 MB Notification: Performance of SimCode: time 4.61e-07/0.8954, allocations: 5.594 kB / 0.673 GB, free: 142 MB / 494.1 MB Notification: Performance of Templates: time 0.05586/0.9512, allocations: 37.84 MB / 0.71 GB, free: 118.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) Environment - environmentSimulation: