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.0015/0.0015, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001804/0.001804, allocations: 191.4 kB / 16.14 MB, free: 6.703 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.658/1.658, allocations: 205.1 MB / 222 MB, free: 4.781 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.3236/0.3236, allocations: 37.98 MB / 307.3 MB, free: 10.04 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.001396/0.001396, allocations: 66.41 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.121, allocations: 56.47 MB / 431 MB, free: 7.047 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.3572/0.4782, allocations: 181.7 MB / 0.5984 GB, free: 2.457 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008602/0.4869, allocations: 7.183 MB / 0.6054 GB, free: 11.26 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006558/0.4876, allocations: 27.75 kB / 0.6054 GB, free: 11.23 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.4887, allocations: 398.1 kB / 0.6058 GB, free: 10.84 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003946/0.4927, allocations: 1.838 MB / 0.6076 GB, free: 9.008 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003562/0.4962, allocations: 1.531 MB / 0.6091 GB, free: 7.488 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002696/0.4989, allocations: 3.238 MB / 0.6122 GB, free: 4.246 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008305/0.4998, allocations: 0.6665 MB / 0.6129 GB, free: 3.586 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003583/0.5034, allocations: 1.807 MB / 0.6146 GB, free: 1.777 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002758/0.5062, allocations: 1.671 MB / 0.6163 GB, free: 104 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002047/0.5064, allocations: 56 kB / 0.6163 GB, free: 48 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0037/0.5101, allocations: 2.053 MB / 0.6183 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006842/0.5108, allocations: 0.6507 MB / 0.619 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008742/0.5117, allocations: 0.6962 MB / 0.6196 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003914/0.5156, allocations: 2.863 MB / 0.6224 GB, free: 9.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.5156, allocations: 0 / 0.6224 GB, free: 9.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.5156, allocations: 4 kB / 0.6224 GB, free: 9.766 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.5156, allocations: 0 / 0.6224 GB, free: 9.766 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.003183/0.5188, allocations: 1.677 MB / 0.6241 GB, free: 8.039 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.5189, allocations: 11.97 kB / 0.6241 GB, free: 8.027 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.5204, allocations: 314.2 kB / 0.6244 GB, free: 7.719 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.5215, allocations: 0.7416 MB / 0.6251 GB, free: 6.938 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.5217, allocations: 141.3 kB / 0.6253 GB, free: 6.785 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.5218, allocations: 111.9 kB / 0.6254 GB, free: 6.676 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002673/0.5245, allocations: 1.848 MB / 0.6272 GB, free: 4.762 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.5246, allocations: 3.938 kB / 0.6272 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/0.5247, allocations: 47.98 kB / 0.6272 GB, free: 4.711 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.273e-05/0.5248, allocations: 89.95 kB / 0.6273 GB, free: 4.625 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002477/0.5273, allocations: 1.694 MB / 0.629 GB, free: 2.93 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.1886/0.7159, allocations: 7.001 MB / 0.6358 GB, free: 160.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.7171, allocations: 0.8694 MB / 0.6366 GB, free: 160.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000524/0.7176, allocations: 452.4 kB / 0.6371 GB, free: 160 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.7178, allocations: 142.4 kB / 0.6372 GB, free: 159.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.7178, allocations: 50 kB / 0.6373 GB, free: 159.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=60): time 2.484e-06/0.7178, allocations: 0 / 0.6373 GB, free: 159.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=72): time 0.009707/0.7275, allocations: 4.235 MB / 0.6414 GB, free: 158.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.7276, allocations: 109.8 kB / 0.6415 GB, free: 158.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.7288, allocations: 1.108 MB / 0.6426 GB, free: 157.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.7289, allocations: 44.36 kB / 0.6426 GB, free: 157.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.7292, allocations: 0.5248 MB / 0.6431 GB, free: 157.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.7293, allocations: 262.4 kB / 0.6434 GB, free: 157 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002878/0.7296, allocations: 209.2 kB / 0.6436 GB, free: 156.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.55e-05/0.7297, allocations: 345.8 kB / 0.6439 GB, free: 156.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007367/0.7304, allocations: 0.5795 MB / 0.6445 GB, free: 156.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008601/0.7313, allocations: 0.8743 MB / 0.6453 GB, free: 155.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.7329, allocations: 1.445 MB / 0.6467 GB, free: 155.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.733, allocations: 2.938 kB / 0.6467 GB, free: 155.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002666/0.7356, allocations: 2.01 MB / 0.6487 GB, free: 154.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.7357, allocations: 6.25 kB / 0.6487 GB, free: 154.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.7357, allocations: 9.625 kB / 0.6487 GB, free: 154.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004179/0.7399, allocations: 1.314 MB / 0.65 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005397/0.7404, allocations: 151.1 kB / 0.6501 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/0.7426, allocations: 1.927 MB / 0.652 GB, free: 153.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.7437, allocations: 122.7 kB / 0.6521 GB, free: 153.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.7438, allocations: 64 kB / 0.6522 GB, free: 153.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.0006066/0.7444, allocations: 395.7 kB / 0.6526 GB, free: 152.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/0.7446, allocations: 109 kB / 0.6527 GB, free: 152.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.7468, allocations: 1.416 MB / 0.6541 GB, free: 152.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.7468, allocations: 6.5 kB / 0.6541 GB, free: 152.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.7468, allocations: 0 / 0.6541 GB, free: 152.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.7468, allocations: 3.047 kB / 0.6541 GB, free: 152.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003578/0.7504, allocations: 2.694 MB / 0.6567 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.7504, allocations: 0 / 0.6567 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001687/0.7521, allocations: 323.8 kB / 0.657 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001994/0.7523, allocations: 66.2 kB / 0.6571 GB, free: 151 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.645e-05/0.7524, allocations: 39.61 kB / 0.6571 GB, free: 151 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001669/0.7541, allocations: 2.838 MB / 0.6599 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.7541, allocations: 3.375 kB / 0.6599 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002449/0.7566, allocations: 1.902 MB / 0.6618 GB, free: 147.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006241/0.7572, allocations: 335.2 kB / 0.6621 GB, free: 147.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/0.7574, allocations: 36 kB / 0.6621 GB, free: 147.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009365/0.7584, allocations: 79.91 kB / 0.6622 GB, free: 147.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.7585, allocations: 61.88 kB / 0.6622 GB, free: 147.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.7587, allocations: 64.5 kB / 0.6623 GB, free: 147.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008952/0.7596, allocations: 0.7887 MB / 0.6631 GB, free: 146.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.7596, allocations: 4 kB / 0.6631 GB, free: 146.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00162/0.7612, allocations: 0.521 MB / 0.6636 GB, free: 146.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.002176/0.7634, allocations: 0.7958 MB / 0.6644 GB, free: 146.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002488/0.7659, allocations: 1.474 MB / 0.6658 GB, free: 146.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.7659, allocations: 7.031 kB / 0.6658 GB, free: 146.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.7674, allocations: 0.8545 MB / 0.6666 GB, free: 145.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003215/0.7707, allocations: 0.7156 MB / 0.6673 GB, free: 145.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005312/0.776, allocations: 3.298 MB / 0.6706 GB, free: 143.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006315/0.7766, allocations: 1.178 MB / 0.6717 GB, free: 143.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001516/0.7782, allocations: 415.8 kB / 0.6721 GB, free: 143 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003706/0.7785, allocations: 105.2 kB / 0.6722 GB, free: 143 MB / 494.1 MB Notification: Performance of SimCode: time 7.92e-07/0.7785, allocations: 0 / 0.6722 GB, free: 143 MB / 494.1 MB Notification: Performance of Templates: time 0.0477/0.8262, allocations: 38.17 MB / 0.7095 GB, free: 117.5 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (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)