Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002587/0.002587, allocations: 347.6 kB / 15.94 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.621/3.621, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005763/0.005763, allocations: 222.1 kB / 397.9 MB, free: 4.973 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5519/0.5519, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006213/0.0006213, allocations: 8 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09005/0.0907, allocations: 48.71 MB / 0.6067 GB, free: 4.633 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.585/2.676, allocations: 0.8071 GB / 1.414 GB, free: 26.61 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/2.676, allocations: 104.6 kB / 1.414 GB, free: 26.55 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.982/6.659, allocations: 0.7026 GB / 2.117 GB, free: 58.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.356e-06/6.659, allocations: 0 / 2.117 GB, free: 58.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001418/6.659, allocations: 26.52 kB / 2.117 GB, free: 58.66 MB / 442.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.008119/6.667, allocations: 1.658 MB / 2.118 GB, free: 58.22 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/6.667, allocations: 8.938 kB / 2.118 GB, free: 58.22 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002768/6.67, allocations: 290.8 kB / 2.118 GB, free: 58.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003332/6.673, allocations: 0.83 MB / 2.119 GB, free: 57.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/6.674, allocations: 148.3 kB / 2.119 GB, free: 57.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005135/6.674, allocations: 110.5 kB / 2.12 GB, free: 57.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00494/6.679, allocations: 1.776 MB / 2.121 GB, free: 57.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.604e-05/6.679, allocations: 8.406 kB / 2.121 GB, free: 57.65 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000286/6.68, allocations: 50.47 kB / 2.121 GB, free: 57.65 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001601/6.68, allocations: 76.48 kB / 2.121 GB, free: 57.65 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005249/6.685, allocations: 1.631 MB / 2.123 GB, free: 57.64 MB / 442.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.01426/6.699, allocations: 5.892 MB / 2.129 GB, free: 55.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/6.701, allocations: 0.6384 MB / 2.129 GB, free: 55.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008984/6.702, allocations: 359.5 kB / 2.13 GB, free: 55.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/6.702, allocations: 24.95 kB / 2.13 GB, free: 55.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/6.702, allocations: 38.5 kB / 2.13 GB, free: 55 MB / 442.7 MB Notification: Performance of pre-optimization done (n=53): time 3.286e-06/6.702, allocations: 0 / 2.13 GB, free: 55 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.01688/6.719, allocations: 3.715 MB / 2.133 GB, free: 54.33 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/6.719, allocations: 111.9 kB / 2.134 GB, free: 54.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/6.721, allocations: 0.9661 MB / 2.134 GB, free: 54.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000196/6.721, allocations: 36.61 kB / 2.135 GB, free: 54.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004655/6.722, allocations: 0.5604 MB / 2.135 GB, free: 53.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/6.722, allocations: 248.7 kB / 2.135 GB, free: 53.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/6.722, allocations: 20.84 kB / 2.135 GB, free: 53.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/6.722, allocations: 352.8 kB / 2.136 GB, free: 53.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/6.724, allocations: 0.5215 MB / 2.136 GB, free: 53.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/6.725, allocations: 0.9012 MB / 2.137 GB, free: 52.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001998/6.727, allocations: 0.6541 MB / 2.138 GB, free: 52.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.918e-05/6.727, allocations: 3.75 kB / 2.138 GB, free: 52.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.009012/6.736, allocations: 1.871 MB / 2.14 GB, free: 52.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/6.737, allocations: 10.22 kB / 2.14 GB, free: 52.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.035e-05/6.737, allocations: 14.52 kB / 2.14 GB, free: 52.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009798/6.746, allocations: 1.293 MB / 2.141 GB, free: 52.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/6.748, allocations: 170.5 kB / 2.141 GB, free: 52.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004175/6.752, allocations: 1.729 MB / 2.143 GB, free: 52.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/6.754, allocations: 110 kB / 2.143 GB, free: 52.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/6.754, allocations: 77.3 kB / 2.143 GB, free: 52.28 MB / 442.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.001062/6.756, allocations: 406 kB / 2.143 GB, free: 52.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003322/6.756, allocations: 99.53 kB / 2.143 GB, free: 52.12 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003611/6.759, allocations: 1.255 MB / 2.145 GB, free: 52.04 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/6.76, allocations: 6.875 kB / 2.145 GB, free: 52.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/6.76, allocations: 2.062 kB / 2.145 GB, free: 52.04 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/6.76, allocations: 5.219 kB / 2.145 GB, free: 52.04 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006769/6.766, allocations: 2.491 MB / 2.147 GB, free: 51.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/6.766, allocations: 3.25 kB / 2.147 GB, free: 51.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003355/6.77, allocations: 315.9 kB / 2.147 GB, free: 51.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002942/6.77, allocations: 62.22 kB / 2.147 GB, free: 51.67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001412/6.77, allocations: 39.19 kB / 2.147 GB, free: 51.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002632/6.773, allocations: 2.835 MB / 2.15 GB, free: 49.11 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/6.773, allocations: 3.469 kB / 2.15 GB, free: 49.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004203/6.777, allocations: 1.678 MB / 2.152 GB, free: 48.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/6.778, allocations: 305.4 kB / 2.152 GB, free: 48.74 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000328/6.779, allocations: 29.91 kB / 2.152 GB, free: 48.74 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/6.78, allocations: 73.73 kB / 2.152 GB, free: 48.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/6.781, allocations: 57.73 kB / 2.152 GB, free: 48.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001713/6.781, allocations: 58.48 kB / 2.152 GB, free: 48.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001415/6.782, allocations: 0.6681 MB / 2.153 GB, free: 48.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.51e-07/6.782, allocations: 1 kB / 2.153 GB, free: 48.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003299/6.785, allocations: 0.6057 MB / 2.154 GB, free: 48.64 MB / 442.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.004983/6.791, allocations: 1.424 MB / 2.155 GB, free: 48.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004309/6.795, allocations: 1.378 MB / 2.156 GB, free: 48.43 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/6.795, allocations: 0.75 kB / 2.156 GB, free: 48.43 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002758/6.798, allocations: 0.7955 MB / 2.157 GB, free: 48.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005937/6.804, allocations: 0.6047 MB / 2.158 GB, free: 48.31 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/6.815, allocations: 4.259 MB / 2.162 GB, free: 47.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/6.817, allocations: 1.198 MB / 2.163 GB, free: 46.52 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002554/6.819, allocations: 392.9 kB / 2.163 GB, free: 46.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006122/6.82, allocations: 106.9 kB / 2.163 GB, free: 46.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.623e-06/6.82, allocations: 0 / 2.163 GB, free: 46.5 MB / 442.7 MB Notification: Performance of Templates: time 0.09864/6.919, allocations: 43.27 MB / 2.206 GB, free: 45.09 MB / 442.7 MB