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.00218/0.00218, 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.00279/0.00279, allocations: 194.8 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.64/1.64, allocations: 205.1 MB / 222 MB, free: 4.984 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.3294/0.3294, allocations: 39.93 MB / 309.3 MB, free: 9.555 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.00194/0.001941, allocations: 64.38 kB / 376.9 MB, free: 13.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.146, allocations: 56.89 MB / 433.8 MB, free: 4.453 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4176/0.5637, allocations: 181.7 MB / 0.6011 GB, free: 14.55 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008903/0.5727, allocations: 7.181 MB / 0.6081 GB, free: 7.352 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000752/0.5734, allocations: 27.75 kB / 0.6081 GB, free: 7.324 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.5746, allocations: 394.2 kB / 0.6085 GB, free: 6.938 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004372/0.5789, allocations: 1.839 MB / 0.6103 GB, free: 5.102 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003919/0.5829, allocations: 1.532 MB / 0.6118 GB, free: 3.578 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003208/0.5861, allocations: 3.241 MB / 0.615 GB, free: 344 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/0.5874, allocations: 0.6617 MB / 0.6156 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005901/0.5933, allocations: 1.81 MB / 0.6174 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003472/0.5968, allocations: 1.671 MB / 0.619 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002636/0.5971, allocations: 56 kB / 0.6191 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003947/0.601, allocations: 2.05 MB / 0.6211 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006683/0.6017, allocations: 0.6507 MB / 0.6217 GB, free: 9.434 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000863/0.6026, allocations: 0.6962 MB / 0.6224 GB, free: 8.734 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003829/0.6064, allocations: 2.856 MB / 0.6252 GB, free: 5.871 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6064, allocations: 0 / 0.6252 GB, free: 5.871 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.6065, allocations: 4 kB / 0.6252 GB, free: 5.867 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.486e-05/0.6065, allocations: 0 / 0.6252 GB, free: 5.867 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.003523/0.61, allocations: 1.68 MB / 0.6268 GB, free: 4.137 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.6101, allocations: 11.97 kB / 0.6268 GB, free: 4.125 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.6116, allocations: 310.3 kB / 0.6271 GB, free: 3.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.6128, allocations: 0.7453 MB / 0.6278 GB, free: 3.035 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.613, allocations: 149.3 kB / 0.628 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.6132, allocations: 100 kB / 0.6281 GB, free: 2.777 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002746/0.6159, allocations: 1.857 MB / 0.6299 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.616, allocations: 3.906 kB / 0.6299 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/0.6161, allocations: 47.98 kB / 0.6299 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.6162, allocations: 93.89 kB / 0.63 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2018/0.818, allocations: 1.694 MB / 0.6317 GB, free: 161.8 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.009161/0.8272, allocations: 6.993 MB / 0.6385 GB, free: 157.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.8284, allocations: 0.872 MB / 0.6394 GB, free: 157.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005439/0.8289, allocations: 451.7 kB / 0.6398 GB, free: 157 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/0.8291, allocations: 142.9 kB / 0.6399 GB, free: 156.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.8291, allocations: 52.55 kB / 0.64 GB, free: 156.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=60): time 2.064e-06/0.8291, allocations: 0 / 0.64 GB, free: 156.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=72): time 0.009712/0.8389, allocations: 4.24 MB / 0.6441 GB, free: 155.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.8389, allocations: 109.4 kB / 0.6442 GB, free: 155 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.84, allocations: 1.112 MB / 0.6453 GB, free: 154.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.262e-05/0.8402, allocations: 44.08 kB / 0.6454 GB, free: 154.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.8404, allocations: 0.5197 MB / 0.6459 GB, free: 154.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.8406, allocations: 266.7 kB / 0.6461 GB, free: 153.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003075/0.8409, allocations: 205.3 kB / 0.6463 GB, free: 153.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.901e-05/0.841, allocations: 347.7 kB / 0.6466 GB, free: 153.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007698/0.8417, allocations: 0.5859 MB / 0.6472 GB, free: 153.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008885/0.8426, allocations: 0.8685 MB / 0.6481 GB, free: 152.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.8442, allocations: 1.445 MB / 0.6495 GB, free: 152 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.8443, allocations: 4.594 kB / 0.6495 GB, free: 152 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002701/0.847, allocations: 2.004 MB / 0.6514 GB, free: 151.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.847, allocations: 13.41 kB / 0.6514 GB, free: 151.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.847, allocations: 7.469 kB / 0.6515 GB, free: 151.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004191/0.8512, allocations: 1.317 MB / 0.6527 GB, free: 151 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005458/0.8518, allocations: 145.3 kB / 0.6529 GB, free: 151 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/0.8541, allocations: 1.924 MB / 0.6548 GB, free: 150 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.8552, allocations: 114.3 kB / 0.6549 GB, free: 150 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.8553, allocations: 65.58 kB / 0.6549 GB, free: 150 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.000711/0.856, allocations: 399.9 kB / 0.6553 GB, free: 149.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.8562, allocations: 107.8 kB / 0.6554 GB, free: 149.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.8585, allocations: 1.407 MB / 0.6568 GB, free: 149.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.8585, allocations: 11.34 kB / 0.6568 GB, free: 149.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.8585, allocations: 3.938 kB / 0.6568 GB, free: 149.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.8585, allocations: 5.453 kB / 0.6568 GB, free: 149.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003638/0.8622, allocations: 2.685 MB / 0.6594 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.8622, allocations: 0 / 0.6594 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/0.8639, allocations: 326.7 kB / 0.6597 GB, free: 147.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001716/0.864, allocations: 73.61 kB / 0.6598 GB, free: 147.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.457e-05/0.8641, allocations: 39.14 kB / 0.6598 GB, free: 147.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/0.866, allocations: 2.829 MB / 0.6626 GB, free: 145.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.866, allocations: 3.938 kB / 0.6626 GB, free: 145.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003025/0.869, allocations: 1.9 MB / 0.6645 GB, free: 144.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006177/0.8697, allocations: 339.7 kB / 0.6648 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/0.8698, allocations: 25.88 kB / 0.6648 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009311/0.8708, allocations: 82.91 kB / 0.6649 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.871, allocations: 62.86 kB / 0.665 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.8711, allocations: 73.17 kB / 0.665 GB, free: 144 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009762/0.8721, allocations: 0.797 MB / 0.6658 GB, free: 143.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8721, allocations: 4 kB / 0.6658 GB, free: 143.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001614/0.8737, allocations: 0.5237 MB / 0.6663 GB, free: 143.7 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.00229/0.876, allocations: 0.7897 MB / 0.6671 GB, free: 143.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002414/0.8784, allocations: 1.459 MB / 0.6685 GB, free: 143 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.8784, allocations: 3.562 kB / 0.6685 GB, free: 143 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.88, allocations: 0.8572 MB / 0.6694 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.003006/0.883, allocations: 0.7319 MB / 0.6701 GB, free: 142.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005062/0.8881, allocations: 3.306 MB / 0.6733 GB, free: 140.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008254/0.8889, allocations: 1.173 MB / 0.6744 GB, free: 139.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001588/0.8905, allocations: 410.3 kB / 0.6748 GB, free: 139.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003837/0.8909, allocations: 107.2 kB / 0.6749 GB, free: 139.8 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.8909, allocations: 1.125 kB / 0.6749 GB, free: 139.8 MB / 494.1 MB Notification: Performance of Templates: time 0.0487/0.9396, allocations: 38.16 MB / 0.7122 GB, free: 111.7 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)