Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_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.2_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.001867/0.001866, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001947/0.001947, allocations: 192.6 kB / 16.25 MB, free: 6.617 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.582/1.582, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3279/0.3279, allocations: 39.92 MB / 309.4 MB, free: 9.566 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.2. 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.001384/0.001384, allocations: 68.47 kB / 377.1 MB, free: 13.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1182, allocations: 56.87 MB / 434 MB, free: 4.293 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.433/0.5513, allocations: 181.3 MB / 0.6009 GB, free: 14.79 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.5614, allocations: 7.033 MB / 0.6078 GB, free: 7.73 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00166/0.5631, allocations: 35.75 kB / 0.6078 GB, free: 7.695 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002277/0.5655, allocations: 386.1 kB / 0.6082 GB, free: 7.316 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006827/0.5724, allocations: 1.883 MB / 0.61 GB, free: 5.434 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004969/0.5774, allocations: 1.592 MB / 0.6116 GB, free: 3.852 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003277/0.5807, allocations: 2.231 MB / 0.6137 GB, free: 1.617 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.5819, allocations: 0.7454 MB / 0.6145 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004572/0.5865, allocations: 1.914 MB / 0.6163 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003311/0.5898, allocations: 1.714 MB / 0.618 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003018/0.5901, allocations: 104 kB / 0.6181 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003825/0.594, allocations: 1.924 MB / 0.62 GB, free: 11.22 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008389/0.5948, allocations: 0.6859 MB / 0.6207 GB, free: 10.53 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.596, allocations: 0.7587 MB / 0.6214 GB, free: 9.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004357/0.6004, allocations: 2.914 MB / 0.6242 GB, free: 6.848 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.6004, allocations: 0 / 0.6242 GB, free: 6.848 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6004, allocations: 0 / 0.6242 GB, free: 6.848 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.6005, allocations: 0 / 0.6242 GB, free: 6.848 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.003274/0.6037, allocations: 1.68 MB / 0.6259 GB, free: 5.121 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.6038, allocations: 8.031 kB / 0.6259 GB, free: 5.113 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/0.6056, allocations: 318.2 kB / 0.6262 GB, free: 4.801 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.6074, allocations: 0.7454 MB / 0.6269 GB, free: 4.012 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.6076, allocations: 145.3 kB / 0.6271 GB, free: 3.855 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002606/0.6079, allocations: 104 kB / 0.6272 GB, free: 3.754 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003108/0.611, allocations: 1.846 MB / 0.629 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.434e-05/0.611, allocations: 11.91 kB / 0.629 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.6112, allocations: 40 kB / 0.629 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.622e-05/0.6113, allocations: 93.95 kB / 0.6291 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002525/0.6138, allocations: 1.69 MB / 0.6307 GB, free: 8 kB / 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.1991/0.813, allocations: 6.998 MB / 0.6376 GB, free: 157.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.8141, allocations: 0.869 MB / 0.6384 GB, free: 157.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005127/0.8146, allocations: 448.6 kB / 0.6389 GB, free: 157.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.8147, allocations: 143.5 kB / 0.639 GB, free: 157.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.8148, allocations: 48.97 kB / 0.639 GB, free: 157.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=60): time 2.454e-06/0.8148, allocations: 0 / 0.639 GB, free: 157.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=72): time 0.01065/0.8254, allocations: 4.243 MB / 0.6432 GB, free: 155.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.8255, allocations: 109.7 kB / 0.6433 GB, free: 155.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.8267, allocations: 1.108 MB / 0.6444 GB, free: 154.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001387/0.8269, allocations: 44.39 kB / 0.6444 GB, free: 154.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002896/0.8272, allocations: 0.5165 MB / 0.6449 GB, free: 154.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.8273, allocations: 271.3 kB / 0.6452 GB, free: 154.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003346/0.8277, allocations: 206.7 kB / 0.6454 GB, free: 154.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.381e-05/0.8278, allocations: 346.4 kB / 0.6457 GB, free: 153.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007557/0.8285, allocations: 0.589 MB / 0.6463 GB, free: 153.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009271/0.8295, allocations: 0.8734 MB / 0.6471 GB, free: 153 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.8312, allocations: 1.453 MB / 0.6486 GB, free: 152.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.8312, allocations: 0 / 0.6486 GB, free: 152.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002896/0.8341, allocations: 1.997 MB / 0.6505 GB, free: 151.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.8342, allocations: 13.23 kB / 0.6505 GB, free: 151.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.8342, allocations: 9.188 kB / 0.6505 GB, free: 151.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00426/0.8384, allocations: 1.328 MB / 0.6518 GB, free: 151.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005558/0.839, allocations: 140.5 kB / 0.652 GB, free: 151.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/0.8413, allocations: 1.933 MB / 0.6538 GB, free: 150.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.8425, allocations: 103.9 kB / 0.6539 GB, free: 150.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.8426, allocations: 68.2 kB / 0.654 GB, free: 150.3 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.0006424/0.8433, allocations: 406.9 kB / 0.6544 GB, free: 150 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/0.8435, allocations: 108.9 kB / 0.6545 GB, free: 150 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002067/0.8456, allocations: 1.384 MB / 0.6558 GB, free: 149.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.8456, allocations: 10.14 kB / 0.6559 GB, free: 149.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.8456, allocations: 3.938 kB / 0.6559 GB, free: 149.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.8456, allocations: 11.55 kB / 0.6559 GB, free: 149.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003372/0.849, allocations: 2.692 MB / 0.6585 GB, free: 148.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.849, allocations: 0 / 0.6585 GB, free: 148.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001749/0.8508, allocations: 327 kB / 0.6588 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001661/0.8509, allocations: 69.78 kB / 0.6589 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.76e-05/0.851, allocations: 38.22 kB / 0.6589 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/0.8528, allocations: 3.036 MB / 0.6619 GB, free: 145.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.8528, allocations: 3.688 kB / 0.6619 GB, free: 145.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/0.8555, allocations: 1.903 MB / 0.6637 GB, free: 144.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006951/0.8562, allocations: 325.8 kB / 0.6641 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/0.8564, allocations: 33.28 kB / 0.6641 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009859/0.8574, allocations: 84.12 kB / 0.6642 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.8576, allocations: 68.5 kB / 0.6642 GB, free: 144.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.8577, allocations: 62.66 kB / 0.6643 GB, free: 144.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009296/0.8586, allocations: 0.7931 MB / 0.6651 GB, free: 143.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8586, allocations: 2.438 kB / 0.6651 GB, free: 143.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001598/0.8602, allocations: 0.5238 MB / 0.6656 GB, free: 143.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.002233/0.8625, allocations: 0.8073 MB / 0.6664 GB, free: 143.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00319/0.8657, allocations: 1.796 MB / 0.6681 GB, free: 143.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.8657, allocations: 6.906 kB / 0.6681 GB, free: 143.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001503/0.8672, allocations: 0.8622 MB / 0.669 GB, free: 142.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003149/0.8704, allocations: 0.764 MB / 0.6697 GB, free: 142.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004484/0.8749, allocations: 3.287 MB / 0.6729 GB, free: 140.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007104/0.8756, allocations: 1.18 MB / 0.6741 GB, free: 140 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001459/0.877, allocations: 413.8 kB / 0.6745 GB, free: 139.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003545/0.8774, allocations: 104.9 kB / 0.6746 GB, free: 139.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.021e-06/0.8774, allocations: 0 / 0.6746 GB, free: 139.9 MB / 494.1 MB Notification: Performance of Templates: time 0.05191/0.9293, allocations: 39.36 MB / 0.713 GB, free: 110.8 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1)