Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004031/0.004039, allocations: 362.6 kB / 15.95 MB, free: 6.203 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.009/4.009, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.005966/0.005965, allocations: 229.4 kB / 451 MB, free: 145.1 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.532/0.532, allocations: 80.01 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008233/0.0008236, allocations: 15.98 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1416, allocations: 54.86 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.914/3.055, allocations: 0.8222 GB / 1.502 GB, free: 135.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004404/3.056, allocations: 101.1 kB / 1.502 GB, free: 135.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.286/7.342, allocations: 0.7307 GB / 2.233 GB, free: 67.17 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.695e-06/7.342, allocations: 1.562 kB / 2.233 GB, free: 67.17 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001137/7.342, allocations: 22.08 kB / 2.233 GB, free: 67.17 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.006831/7.349, allocations: 1.461 MB / 2.235 GB, free: 66.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/7.349, allocations: 9.766 kB / 2.235 GB, free: 66.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002551/7.352, allocations: 268.5 kB / 2.235 GB, free: 66.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002775/7.355, allocations: 0.696 MB / 2.236 GB, free: 66.43 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/7.355, allocations: 114.1 kB / 2.236 GB, free: 66.37 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000401/7.355, allocations: 67.44 kB / 2.236 GB, free: 66.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003553/7.359, allocations: 1.228 MB / 2.237 GB, free: 66.15 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.548e-05/7.359, allocations: 6 kB / 2.237 GB, free: 66.15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002772/7.359, allocations: 38.36 kB / 2.237 GB, free: 66.15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001482/7.359, allocations: 68.84 kB / 2.237 GB, free: 66.15 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003248/7.363, allocations: 1.038 MB / 2.238 GB, free: 66.14 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.01054/7.373, allocations: 4.833 MB / 2.243 GB, free: 63.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000802/7.374, allocations: 260.2 kB / 2.243 GB, free: 63.37 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/7.375, allocations: 133 kB / 2.243 GB, free: 63.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003993/7.375, allocations: 265.7 kB / 2.243 GB, free: 63.17 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/7.375, allocations: 37.89 kB / 2.243 GB, free: 63.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 3.507e-06/7.375, allocations: 0 / 2.243 GB, free: 63.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.009963/7.385, allocations: 1.68 MB / 2.245 GB, free: 62.51 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/7.385, allocations: 136 kB / 2.245 GB, free: 62.35 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/7.387, allocations: 0.923 MB / 2.246 GB, free: 62.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001478/7.387, allocations: 36.36 kB / 2.246 GB, free: 62.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005244/7.388, allocations: 0.5798 MB / 2.247 GB, free: 61.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/7.388, allocations: 135.9 kB / 2.247 GB, free: 61.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/7.388, allocations: 19.34 kB / 2.247 GB, free: 61.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/7.388, allocations: 400.2 kB / 2.247 GB, free: 61.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008154/7.389, allocations: 286.8 kB / 2.248 GB, free: 61.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/7.39, allocations: 0.932 MB / 2.248 GB, free: 60.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/7.391, allocations: 468.5 kB / 2.249 GB, free: 60.71 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.121e-05/7.391, allocations: 10.84 kB / 2.249 GB, free: 60.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003592/7.395, allocations: 1.306 MB / 2.25 GB, free: 60.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/7.395, allocations: 15.12 kB / 2.25 GB, free: 60.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.771e-05/7.395, allocations: 19.56 kB / 2.25 GB, free: 60.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002145/7.397, allocations: 277.4 kB / 2.25 GB, free: 60.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/7.399, allocations: 241 kB / 2.251 GB, free: 60.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/7.4, allocations: 0.8852 MB / 2.252 GB, free: 60.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/7.402, allocations: 65.03 kB / 2.252 GB, free: 60.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002391/7.403, allocations: 95.34 kB / 2.252 GB, free: 60.07 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (122): * Single equations (assignments): 121 * 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 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0008107/7.403, allocations: 347.4 kB / 2.252 GB, free: 59.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002864/7.404, allocations: 91.94 kB / 2.252 GB, free: 59.92 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/7.405, allocations: 466.6 kB / 2.253 GB, free: 59.85 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/7.405, allocations: 10.33 kB / 2.253 GB, free: 59.85 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/7.405, allocations: 3.156 kB / 2.253 GB, free: 59.85 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/7.405, allocations: 0 / 2.253 GB, free: 59.85 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/7.408, allocations: 1.1 MB / 2.254 GB, free: 59.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/7.408, allocations: 3.75 kB / 2.254 GB, free: 59.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001849/7.41, allocations: 176.7 kB / 2.254 GB, free: 59.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001545/7.41, allocations: 26.27 kB / 2.254 GB, free: 59.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.553e-05/7.41, allocations: 8.062 kB / 2.254 GB, free: 59.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/7.412, allocations: 2.673 MB / 2.256 GB, free: 56.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/7.412, allocations: 0 / 2.256 GB, free: 56.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/7.414, allocations: 0.6629 MB / 2.257 GB, free: 56.76 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006845/7.415, allocations: 216.1 kB / 2.257 GB, free: 56.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002456/7.415, allocations: 7.75 kB / 2.257 GB, free: 56.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009377/7.416, allocations: 21.48 kB / 2.257 GB, free: 56.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/7.416, allocations: 34.09 kB / 2.257 GB, free: 56.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.156e-05/7.416, allocations: 16.84 kB / 2.257 GB, free: 56.62 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001232/7.418, allocations: 0.6045 MB / 2.258 GB, free: 56.51 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/7.418, allocations: 0 / 2.258 GB, free: 56.51 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003001/7.421, allocations: 0.5232 MB / 2.258 GB, free: 56.46 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (32): * Single equations (assignments): 30 * 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.004694/7.425, allocations: 1.37 MB / 2.26 GB, free: 56.23 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002235/7.428, allocations: 0.7039 MB / 2.261 GB, free: 56.22 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/7.428, allocations: 0 / 2.261 GB, free: 56.22 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00148/7.429, allocations: 359.4 kB / 2.261 GB, free: 56.11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0035/7.433, allocations: 391.5 kB / 2.261 GB, free: 56.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003914/7.437, allocations: 1.89 MB / 2.263 GB, free: 55.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006586/7.437, allocations: 1.054 MB / 2.264 GB, free: 54.61 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002489/7.44, allocations: 385 kB / 2.264 GB, free: 54.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005095/7.44, allocations: 90.77 kB / 2.265 GB, free: 54.59 MB / 490.7 MB Notification: Performance of SimCode: time 1.092e-06/7.44, allocations: 0 / 2.265 GB, free: 54.59 MB / 490.7 MB Notification: Performance of Templates: time 0.07244/7.513, allocations: 32.18 MB / 2.296 GB, free: 53.67 MB / 490.7 MB