Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002752/0.002757, allocations: 349.4 kB / 15.94 MB, free: 6.215 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.764/3.764, allocations: 341.5 MB / 358.2 MB, free: 12.61 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.003485/0.003485, allocations: 225.5 kB / 397.9 MB, free: 4.965 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.4824/0.4824, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004693/0.0004695, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09415/0.09464, allocations: 48.7 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.559/2.654, allocations: 0.8079 GB / 1.415 GB, free: 25.83 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003831/2.654, allocations: 98.5 kB / 1.415 GB, free: 25.78 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.427/7.081, allocations: 0.7272 GB / 2.142 GB, free: 55.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.467e-06/7.081, allocations: 0 / 2.142 GB, free: 55.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001352/7.081, allocations: 21.81 kB / 2.142 GB, free: 55.84 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008245/7.09, allocations: 1.473 MB / 2.143 GB, free: 55.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/7.09, allocations: 9.219 kB / 2.143 GB, free: 55.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003462/7.093, allocations: 266.1 kB / 2.144 GB, free: 55.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003183/7.097, allocations: 0.7006 MB / 2.144 GB, free: 55.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002512/7.097, allocations: 119.8 kB / 2.144 GB, free: 54.95 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004749/7.097, allocations: 63.61 kB / 2.144 GB, free: 54.95 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005241/7.103, allocations: 1.239 MB / 2.146 GB, free: 54.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.058e-05/7.103, allocations: 1.125 kB / 2.146 GB, free: 54.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004316/7.103, allocations: 35.59 kB / 2.146 GB, free: 54.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002042/7.103, allocations: 64.98 kB / 2.146 GB, free: 54.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005035/7.108, allocations: 1.023 MB / 2.147 GB, free: 54.73 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.03471/7.143, allocations: 4.479 MB / 2.151 GB, free: 52.28 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/7.144, allocations: 263.7 kB / 2.151 GB, free: 52.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004531/7.145, allocations: 135.2 kB / 2.152 GB, free: 52.24 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/7.145, allocations: 24.73 kB / 2.152 GB, free: 52.24 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/7.145, allocations: 45.12 kB / 2.152 GB, free: 52.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 4.038e-06/7.145, allocations: 0 / 2.152 GB, free: 52.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=32): time 0.01205/7.157, allocations: 1.667 MB / 2.153 GB, free: 51.58 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/7.157, allocations: 132.1 kB / 2.153 GB, free: 51.42 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/7.16, allocations: 0.9158 MB / 2.154 GB, free: 51.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001712/7.16, allocations: 34.67 kB / 2.154 GB, free: 51.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00073/7.161, allocations: 0.5797 MB / 2.155 GB, free: 50.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/7.161, allocations: 135.1 kB / 2.155 GB, free: 50.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/7.161, allocations: 25.61 kB / 2.155 GB, free: 50.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002773/7.161, allocations: 398.6 kB / 2.155 GB, free: 50.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/7.162, allocations: 276 kB / 2.156 GB, free: 50.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/7.164, allocations: 0.9129 MB / 2.157 GB, free: 49.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/7.166, allocations: 474.6 kB / 2.157 GB, free: 49.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.044e-05/7.166, allocations: 3.844 kB / 2.157 GB, free: 49.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00454/7.17, allocations: 1.275 MB / 2.158 GB, free: 49.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.401e-05/7.17, allocations: 14.75 kB / 2.158 GB, free: 49.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-05/7.171, allocations: 26.25 kB / 2.158 GB, free: 49.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002459/7.173, allocations: 277 kB / 2.159 GB, free: 49.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/7.175, allocations: 223.2 kB / 2.159 GB, free: 49.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00185/7.177, allocations: 0.8858 MB / 2.16 GB, free: 49.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002246/7.179, allocations: 66.56 kB / 2.16 GB, free: 49.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003472/7.179, allocations: 72.73 kB / 2.16 GB, free: 49.16 MB / 442.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.001071/7.18, allocations: 358.7 kB / 2.16 GB, free: 49.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003769/7.181, allocations: 90.62 kB / 2.16 GB, free: 49 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001807/7.183, allocations: 462.2 kB / 2.161 GB, free: 48.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/7.183, allocations: 5.062 kB / 2.161 GB, free: 48.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/7.183, allocations: 3.094 kB / 2.161 GB, free: 48.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/7.183, allocations: 3.953 kB / 2.161 GB, free: 48.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004325/7.187, allocations: 1.085 MB / 2.162 GB, free: 48.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/7.187, allocations: 6.953 kB / 2.162 GB, free: 48.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00205/7.189, allocations: 182.7 kB / 2.162 GB, free: 48.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001806/7.189, allocations: 23.45 kB / 2.162 GB, free: 48.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.093e-05/7.189, allocations: 9.812 kB / 2.162 GB, free: 48.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002825/7.192, allocations: 2.681 MB / 2.165 GB, free: 46.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/7.192, allocations: 0 / 2.165 GB, free: 46.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/7.194, allocations: 0.6697 MB / 2.165 GB, free: 45.83 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007748/7.195, allocations: 206.6 kB / 2.165 GB, free: 45.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002557/7.196, allocations: 3.625 kB / 2.165 GB, free: 45.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/7.197, allocations: 33.14 kB / 2.165 GB, free: 45.69 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/7.197, allocations: 21.03 kB / 2.165 GB, free: 45.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-05/7.197, allocations: 18.72 kB / 2.165 GB, free: 45.69 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001506/7.198, allocations: 0.6004 MB / 2.166 GB, free: 45.58 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.615e-06/7.198, allocations: 0 / 2.166 GB, free: 45.58 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003989/7.202, allocations: 0.5183 MB / 2.167 GB, free: 45.54 MB / 442.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.006495/7.209, allocations: 1.391 MB / 2.168 GB, free: 45.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002833/7.212, allocations: 0.6922 MB / 2.169 GB, free: 45.29 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/7.212, allocations: 3.406 kB / 2.169 GB, free: 45.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002628/7.215, allocations: 362 kB / 2.169 GB, free: 45.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006639/7.221, allocations: 386.7 kB / 2.169 GB, free: 45.17 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008988/7.23, allocations: 2.913 MB / 2.172 GB, free: 44.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00068/7.231, allocations: 1.052 MB / 2.173 GB, free: 43.69 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001865/7.233, allocations: 322.3 kB / 2.173 GB, free: 43.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002985/7.233, allocations: 70.41 kB / 2.174 GB, free: 43.67 MB / 442.7 MB Notification: Performance of SimCode: time 2.454e-06/7.233, allocations: 0 / 2.174 GB, free: 43.67 MB / 442.7 MB Notification: Performance of Templates: time 0.0968/7.33, allocations: 32.01 MB / 2.205 GB, free: 42.61 MB / 442.7 MB