Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002686/0.002691, allocations: 360.9 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 3.978/3.978, allocations: 388.9 MB / 405.6 MB, free: 10.31 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.003676/0.003676, allocations: 225.1 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.516/0.516, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006527/0.000653, allocations: 8 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1518, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.61/1.762, allocations: 424.6 MB / 1.095 GB, free: 142.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003879/1.763, allocations: 106 kB / 1.095 GB, free: 142.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4387/2.202, allocations: 131.4 MB / 1.223 GB, free: 59.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.324e-06/2.202, allocations: 0 / 1.223 GB, free: 59.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.656e-05/2.202, allocations: 16 kB / 1.223 GB, free: 59.65 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002806/2.205, allocations: 0.982 MB / 1.224 GB, free: 58.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/2.205, allocations: 8.031 kB / 1.224 GB, free: 58.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005041/2.205, allocations: 83.16 kB / 1.224 GB, free: 58.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/2.207, allocations: 0.5559 MB / 1.225 GB, free: 57.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/2.207, allocations: 104.4 kB / 1.225 GB, free: 57.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/2.207, allocations: 48 kB / 1.225 GB, free: 57.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/2.209, allocations: 0.8047 MB / 1.226 GB, free: 56.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/2.209, allocations: 4 kB / 1.226 GB, free: 56.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/2.209, allocations: 27.98 kB / 1.226 GB, free: 56.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-05/2.209, allocations: 44.92 kB / 1.226 GB, free: 56.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001584/2.21, allocations: 0.6284 MB / 1.226 GB, free: 56.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005795/2.216, allocations: 3.617 MB / 1.23 GB, free: 52.37 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/2.217, allocations: 386.9 kB / 1.23 GB, free: 51.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004644/2.218, allocations: 201.4 kB / 1.23 GB, free: 51.78 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002578/2.22, allocations: 1.62 MB / 1.232 GB, free: 49.97 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/2.22, allocations: 38.5 kB / 1.232 GB, free: 49.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 2.835e-06/2.22, allocations: 0 / 1.232 GB, free: 49.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.004335/2.225, allocations: 1.429 MB / 1.233 GB, free: 48.42 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/2.225, allocations: 132.5 kB / 1.234 GB, free: 48.26 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008698/2.226, allocations: 0.5614 MB / 1.234 GB, free: 47.69 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001096/2.226, allocations: 33.7 kB / 1.234 GB, free: 47.65 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002536/2.226, allocations: 378.1 kB / 1.235 GB, free: 47.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/2.226, allocations: 161.8 kB / 1.235 GB, free: 47.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/2.226, allocations: 12 kB / 1.235 GB, free: 47.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/2.227, allocations: 370.8 kB / 1.235 GB, free: 46.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005334/2.227, allocations: 213.8 kB / 1.235 GB, free: 46.52 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006796/2.228, allocations: 0.5314 MB / 1.236 GB, free: 45.83 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006719/2.228, allocations: 320 kB / 1.236 GB, free: 45.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.954e-06/2.228, allocations: 4 kB / 1.236 GB, free: 45.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002297/2.231, allocations: 0.8836 MB / 1.237 GB, free: 44.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/2.231, allocations: 8.969 kB / 1.237 GB, free: 44.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/2.231, allocations: 12 kB / 1.237 GB, free: 44.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002124/2.233, allocations: 272.4 kB / 1.237 GB, free: 44.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007514/2.234, allocations: 135.8 kB / 1.237 GB, free: 44.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/2.235, allocations: 0.8489 MB / 1.238 GB, free: 43.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009749/2.236, allocations: 47.95 kB / 1.238 GB, free: 43.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-05/2.236, allocations: 39.98 kB / 1.238 GB, free: 43.24 MB / 490.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.0004853/2.237, allocations: 249.5 kB / 1.239 GB, free: 42.99 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/2.237, allocations: 71.14 kB / 1.239 GB, free: 42.92 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/2.238, allocations: 0.723 MB / 1.239 GB, free: 42.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/2.238, allocations: 11.92 kB / 1.239 GB, free: 42.15 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/2.238, allocations: 4 kB / 1.239 GB, free: 42.15 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/2.238, allocations: 0 / 1.239 GB, free: 42.15 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002608/2.241, allocations: 1.332 MB / 1.241 GB, free: 40.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/2.241, allocations: 4 kB / 1.241 GB, free: 40.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001891/2.243, allocations: 195.8 kB / 1.241 GB, free: 40.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001222/2.243, allocations: 32.98 kB / 1.241 GB, free: 40.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.592e-05/2.243, allocations: 11.98 kB / 1.241 GB, free: 40.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/2.245, allocations: 2.677 MB / 1.243 GB, free: 37.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/2.245, allocations: 12.28 kB / 1.243 GB, free: 37.53 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/2.247, allocations: 0.9335 MB / 1.244 GB, free: 36.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003959/2.248, allocations: 188.2 kB / 1.245 GB, free: 36.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/2.248, allocations: 11.98 kB / 1.245 GB, free: 36.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007194/2.248, allocations: 31.89 kB / 1.245 GB, free: 36.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/2.249, allocations: 36.02 kB / 1.245 GB, free: 36.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.496e-05/2.249, allocations: 19.98 kB / 1.245 GB, free: 36.24 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006579/2.249, allocations: 399.1 kB / 1.245 GB, free: 35.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.5e-07/2.249, allocations: 3.938 kB / 1.245 GB, free: 35.85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001256/2.251, allocations: 231.9 kB / 1.245 GB, free: 35.62 MB / 490.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.0008151/2.251, allocations: 370 kB / 1.246 GB, free: 35.26 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001801/2.253, allocations: 0.5761 MB / 1.246 GB, free: 34.69 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/2.253, allocations: 4 kB / 1.246 GB, free: 34.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001586/2.255, allocations: 426.7 kB / 1.247 GB, free: 34.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002557/2.257, allocations: 309.5 kB / 1.247 GB, free: 33.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/2.26, allocations: 1.605 MB / 1.248 GB, free: 32.31 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/2.261, allocations: 0.9502 MB / 1.249 GB, free: 31.33 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001214/2.262, allocations: 197.6 kB / 1.25 GB, free: 31.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/2.262, allocations: 63.42 kB / 1.25 GB, free: 31.08 MB / 490.7 MB Notification: Performance of SimCode: time 1.713e-06/2.262, allocations: 0 / 1.25 GB, free: 31.08 MB / 490.7 MB Notification: Performance of Templates: time 0.03992/2.302, allocations: 13.94 MB / 1.263 GB, free: 17.21 MB / 490.7 MB