Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002974/0.002974, allocations: 359.9 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.068/4.068, allocations: 388.9 MB / 405.6 MB, free: 9.668 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.005192/0.005192, allocations: 223.5 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5973/0.5973, allocations: 80.02 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004753/0.0004757, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1076, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.784/2.891, allocations: 0.8214 GB / 1.501 GB, free: 135.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005184/2.892, allocations: 97.12 kB / 1.502 GB, free: 135.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.89/6.782, allocations: 0.7062 GB / 2.208 GB, free: 66.44 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.308e-06/6.782, allocations: 0 / 2.208 GB, free: 66.44 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001723/6.782, allocations: 33.36 kB / 2.208 GB, free: 66.44 MB / 490.7 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.009477/6.792, allocations: 1.646 MB / 2.209 GB, free: 66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/6.792, allocations: 8.156 kB / 2.209 GB, free: 66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003612/6.795, allocations: 295 kB / 2.21 GB, free: 65.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004148/6.799, allocations: 0.836 MB / 2.21 GB, free: 65.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003354/6.8, allocations: 139.9 kB / 2.211 GB, free: 65.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000804/6.801, allocations: 113.1 kB / 2.211 GB, free: 65.63 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005294/6.806, allocations: 1.777 MB / 2.212 GB, free: 65.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.16e-05/6.806, allocations: 9.219 kB / 2.212 GB, free: 65.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002877/6.806, allocations: 51.25 kB / 2.213 GB, free: 65.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001561/6.807, allocations: 79.97 kB / 2.213 GB, free: 65.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00687/6.813, allocations: 1.624 MB / 2.214 GB, free: 65.42 MB / 490.7 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.01662/6.83, allocations: 6.713 MB / 2.221 GB, free: 62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/6.832, allocations: 0.6384 MB / 2.221 GB, free: 61.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008366/6.833, allocations: 357.9 kB / 2.222 GB, free: 61.97 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003925/6.833, allocations: 261.3 kB / 2.222 GB, free: 61.78 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/6.833, allocations: 42.59 kB / 2.222 GB, free: 61.74 MB / 490.7 MB Notification: Performance of pre-optimization done (n=53): time 3.106e-06/6.833, allocations: 2.438 kB / 2.222 GB, free: 61.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=65): time 0.01676/6.85, allocations: 3.768 MB / 2.226 GB, free: 61.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/6.85, allocations: 112.8 kB / 2.226 GB, free: 60.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001891/6.852, allocations: 0.9778 MB / 2.227 GB, free: 60.81 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002774/6.852, allocations: 38.14 kB / 2.227 GB, free: 60.78 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005061/6.853, allocations: 0.5642 MB / 2.227 GB, free: 60.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/6.853, allocations: 247.3 kB / 2.228 GB, free: 60.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/6.853, allocations: 21 kB / 2.228 GB, free: 60.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/6.854, allocations: 347.8 kB / 2.228 GB, free: 60.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/6.855, allocations: 0.529 MB / 2.228 GB, free: 60.12 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001729/6.857, allocations: 0.915 MB / 2.229 GB, free: 59.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/6.859, allocations: 0.6573 MB / 2.23 GB, free: 59.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/6.859, allocations: 3.062 kB / 2.23 GB, free: 59.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.005394/6.864, allocations: 1.905 MB / 2.232 GB, free: 59.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/6.864, allocations: 12.75 kB / 2.232 GB, free: 59.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-05/6.864, allocations: 12.06 kB / 2.232 GB, free: 59.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008347/6.873, allocations: 1.29 MB / 2.233 GB, free: 59.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/6.874, allocations: 183.2 kB / 2.233 GB, free: 59.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004305/6.878, allocations: 1.732 MB / 2.235 GB, free: 59.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/6.88, allocations: 117.2 kB / 2.235 GB, free: 59.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002253/6.881, allocations: 90.94 kB / 2.235 GB, free: 59.01 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (98): * Single equations (assignments): 97 * 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: 0 * Non-linear torn systems: 1 {9 28} Notification: Performance of prepare postOptimizeDAE: time 0.00109/6.882, allocations: 406.1 kB / 2.236 GB, free: 58.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000407/6.882, allocations: 100.3 kB / 2.236 GB, free: 58.85 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003977/6.886, allocations: 1.253 MB / 2.237 GB, free: 58.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/6.886, allocations: 11.06 kB / 2.237 GB, free: 58.77 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/6.886, allocations: 0 / 2.237 GB, free: 58.77 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/6.886, allocations: 3.75 kB / 2.237 GB, free: 58.77 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006677/6.893, allocations: 2.496 MB / 2.239 GB, free: 58.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/6.893, allocations: 0 / 2.239 GB, free: 58.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003288/6.896, allocations: 316.3 kB / 2.24 GB, free: 58.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002885/6.897, allocations: 71.58 kB / 2.24 GB, free: 58.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/6.897, allocations: 35.31 kB / 2.24 GB, free: 58.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002555/6.899, allocations: 2.837 MB / 2.243 GB, free: 55.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/6.899, allocations: 0 / 2.243 GB, free: 55.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004003/6.903, allocations: 1.68 MB / 2.244 GB, free: 55.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009863/6.904, allocations: 318.1 kB / 2.244 GB, free: 55.48 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002938/6.905, allocations: 23.59 kB / 2.244 GB, free: 55.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/6.906, allocations: 72.8 kB / 2.245 GB, free: 55.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/6.907, allocations: 59.72 kB / 2.245 GB, free: 55.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/6.907, allocations: 55.81 kB / 2.245 GB, free: 55.47 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001292/6.908, allocations: 0.6721 MB / 2.245 GB, free: 55.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/6.908, allocations: 0 / 2.245 GB, free: 55.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003102/6.911, allocations: 0.6062 MB / 2.246 GB, free: 55.38 MB / 490.7 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 (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.004648/6.916, allocations: 1.413 MB / 2.247 GB, free: 55.15 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003987/6.92, allocations: 1.392 MB / 2.249 GB, free: 55.12 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/6.92, allocations: 0.75 kB / 2.249 GB, free: 55.12 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002468/6.922, allocations: 0.795 MB / 2.249 GB, free: 55 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005258/6.928, allocations: 0.604 MB / 2.25 GB, free: 55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007208/6.935, allocations: 3.239 MB / 2.253 GB, free: 53.92 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009027/6.936, allocations: 1.196 MB / 2.254 GB, free: 53.21 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003286/6.939, allocations: 449.5 kB / 2.255 GB, free: 53.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008476/6.94, allocations: 120.5 kB / 2.255 GB, free: 53.19 MB / 490.7 MB Notification: Performance of SimCode: time 1.262e-06/6.94, allocations: 0 / 2.255 GB, free: 53.19 MB / 490.7 MB Notification: Performance of Templates: time 0.1394/7.079, allocations: 43.55 MB / 2.297 GB, free: 51.94 MB / 490.7 MB