Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002677/0.002677, allocations: 348 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.81/3.81, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.005689/0.005688, allocations: 230.1 kB / 397.9 MB, free: 4.961 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.5046/0.5046, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004808/0.000481, allocations: 12 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09165/0.09216, allocations: 48.7 MB / 0.6067 GB, free: 4.633 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.518/1.61, allocations: 418.2 MB / 1.015 GB, free: 85.53 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/1.611, allocations: 99.62 kB / 1.015 GB, free: 85.47 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8309/2.442, allocations: 131.4 MB / 1.144 GB, free: 111 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.635e-06/2.442, allocations: 0 / 1.144 GB, free: 111 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.69e-05/2.442, allocations: 18.56 kB / 1.144 GB, free: 111 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00316/2.445, allocations: 0.9783 MB / 1.145 GB, free: 110.4 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/2.445, allocations: 10.28 kB / 1.145 GB, free: 110.4 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000661/2.446, allocations: 90.59 kB / 1.145 GB, free: 110.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/2.447, allocations: 0.5523 MB / 1.145 GB, free: 110.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/2.448, allocations: 106.4 kB / 1.145 GB, free: 110 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/2.448, allocations: 42.94 kB / 1.145 GB, free: 110 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/2.45, allocations: 0.8081 MB / 1.146 GB, free: 109.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/2.45, allocations: 3.156 kB / 1.146 GB, free: 109.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/2.45, allocations: 21.58 kB / 1.146 GB, free: 109.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.314e-05/2.45, allocations: 42.48 kB / 1.146 GB, free: 109.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/2.452, allocations: 0.6347 MB / 1.147 GB, free: 109.8 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006539/2.458, allocations: 3.612 MB / 1.15 GB, free: 107.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/2.46, allocations: 393.8 kB / 1.151 GB, free: 107.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005191/2.46, allocations: 207.5 kB / 1.151 GB, free: 107.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002739/2.463, allocations: 1.617 MB / 1.152 GB, free: 106.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/2.463, allocations: 40.5 kB / 1.152 GB, free: 106.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=37): time 3.867e-06/2.463, allocations: 0 / 1.152 GB, free: 106.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=42): time 0.004764/2.468, allocations: 1.433 MB / 1.154 GB, free: 105.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/2.468, allocations: 143.9 kB / 1.154 GB, free: 105.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009645/2.469, allocations: 0.5605 MB / 1.155 GB, free: 105.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001336/2.469, allocations: 37.67 kB / 1.155 GB, free: 105.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/2.469, allocations: 373.1 kB / 1.155 GB, free: 104.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/2.469, allocations: 159.5 kB / 1.155 GB, free: 104.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/2.47, allocations: 14.81 kB / 1.155 GB, free: 104.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/2.47, allocations: 372.9 kB / 1.155 GB, free: 104.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005559/2.47, allocations: 205.2 kB / 1.156 GB, free: 104.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007245/2.471, allocations: 0.5422 MB / 1.156 GB, free: 103.9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007259/2.472, allocations: 311.4 kB / 1.156 GB, free: 103.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/2.472, allocations: 0 / 1.156 GB, free: 103.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002401/2.474, allocations: 0.8888 MB / 1.157 GB, free: 103.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/2.474, allocations: 9.375 kB / 1.157 GB, free: 103.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/2.474, allocations: 9.625 kB / 1.157 GB, free: 103.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0022/2.476, allocations: 266.3 kB / 1.158 GB, free: 103.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008448/2.477, allocations: 133.8 kB / 1.158 GB, free: 103.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/2.479, allocations: 0.8456 MB / 1.159 GB, free: 102.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/2.48, allocations: 51.27 kB / 1.159 GB, free: 102.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/2.48, allocations: 42.33 kB / 1.159 GB, free: 102.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (77): * Single equations (assignments): 76 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005805/2.481, allocations: 253.9 kB / 1.159 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/2.481, allocations: 62.66 kB / 1.159 GB, free: 102.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/2.482, allocations: 0.7267 MB / 1.16 GB, free: 102 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/2.483, allocations: 3.875 kB / 1.16 GB, free: 102 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/2.483, allocations: 5.875 kB / 1.16 GB, free: 102 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/2.483, allocations: 7.844 kB / 1.16 GB, free: 102 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00298/2.486, allocations: 1.33 MB / 1.161 GB, free: 101.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/2.486, allocations: 0 / 1.161 GB, free: 101.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001924/2.488, allocations: 203.5 kB / 1.161 GB, free: 101.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/2.488, allocations: 22.56 kB / 1.161 GB, free: 101.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-05/2.488, allocations: 10.06 kB / 1.161 GB, free: 101.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/2.49, allocations: 2.684 MB / 1.164 GB, free: 98.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/2.49, allocations: 3.688 kB / 1.164 GB, free: 98.45 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/2.492, allocations: 0.9444 MB / 1.165 GB, free: 97.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005298/2.493, allocations: 189.9 kB / 1.165 GB, free: 97.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/2.493, allocations: 11.38 kB / 1.165 GB, free: 97.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007712/2.494, allocations: 34.5 kB / 1.165 GB, free: 97.69 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/2.494, allocations: 43.56 kB / 1.165 GB, free: 97.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.471e-05/2.494, allocations: 18.67 kB / 1.165 GB, free: 97.67 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007224/2.495, allocations: 397.6 kB / 1.165 GB, free: 97.49 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.31e-07/2.495, allocations: 0 / 1.165 GB, free: 97.49 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001518/2.496, allocations: 247.1 kB / 1.166 GB, free: 97.44 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009283/2.497, allocations: 349.3 kB / 1.166 GB, free: 97.29 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00202/2.499, allocations: 0.5755 MB / 1.167 GB, free: 97.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/2.499, allocations: 7.688 kB / 1.167 GB, free: 97.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001717/2.501, allocations: 434.1 kB / 1.167 GB, free: 96.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/2.504, allocations: 298.8 kB / 1.167 GB, free: 96.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003396/2.507, allocations: 1.599 MB / 1.169 GB, free: 95.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/2.508, allocations: 0.9522 MB / 1.17 GB, free: 95.18 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001312/2.509, allocations: 207.7 kB / 1.17 GB, free: 95.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/2.509, allocations: 56.53 kB / 1.17 GB, free: 95.15 MB / 442.7 MB Notification: Performance of SimCode: time 1.703e-06/2.509, allocations: 0 / 1.17 GB, free: 95.15 MB / 442.7 MB Notification: Performance of Templates: time 0.03632/2.546, allocations: 13.96 MB / 1.184 GB, free: 93.2 MB / 442.7 MB