Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004269/0.004268, allocations: 363.1 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.763/3.763, allocations: 388.9 MB / 405.6 MB, free: 47.9 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003466/0.003466, allocations: 228.8 kB / 451 MB, free: 2.379 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.9059/0.9059, allocations: 80.02 MB / 0.5627 GB, free: 6 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007569/0.0007572, allocations: 12 kB / 0.6265 GB, free: 4.559 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1392, allocations: 54.87 MB / 0.6801 GB, free: 13.54 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.569/1.708, allocations: 414.9 MB / 1.085 GB, free: 135.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003679/1.708, allocations: 106.9 kB / 1.085 GB, free: 135.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4138/2.122, allocations: 117.3 MB / 1.2 GB, free: 55.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.735e-06/2.122, allocations: 0 / 1.2 GB, free: 55.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.428e-05/2.122, allocations: 16 kB / 1.2 GB, free: 55.41 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.003572/2.126, allocations: 1.057 MB / 1.201 GB, free: 54.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/2.126, allocations: 11.97 kB / 1.201 GB, free: 54.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006727/2.127, allocations: 87.14 kB / 1.201 GB, free: 54.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/2.128, allocations: 0.5442 MB / 1.202 GB, free: 53.62 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/2.128, allocations: 109.9 kB / 1.202 GB, free: 53.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/2.128, allocations: 48 kB / 1.202 GB, free: 53.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/2.13, allocations: 0.8091 MB / 1.203 GB, free: 52.58 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/2.13, allocations: 7.938 kB / 1.203 GB, free: 52.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/2.131, allocations: 31.94 kB / 1.203 GB, free: 52.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.209e-05/2.131, allocations: 40.98 kB / 1.203 GB, free: 52.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/2.132, allocations: 0.6322 MB / 1.203 GB, free: 51.86 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006828/2.139, allocations: 3.872 MB / 1.207 GB, free: 47.76 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/2.141, allocations: 389.4 kB / 1.207 GB, free: 47.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004546/2.141, allocations: 205.3 kB / 1.208 GB, free: 47.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005185/2.142, allocations: 0.5029 MB / 1.208 GB, free: 46.56 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/2.142, allocations: 42.83 kB / 1.208 GB, free: 46.51 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 3.717e-06/2.142, allocations: 0 / 1.208 GB, free: 46.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.004821/2.146, allocations: 1.476 MB / 1.21 GB, free: 44.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/2.147, allocations: 140.5 kB / 1.21 GB, free: 44.81 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008679/2.147, allocations: 0.5535 MB / 1.21 GB, free: 44.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.531e-05/2.148, allocations: 37.7 kB / 1.21 GB, free: 44.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/2.148, allocations: 367.4 kB / 1.211 GB, free: 43.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/2.148, allocations: 157.8 kB / 1.211 GB, free: 43.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/2.148, allocations: 20 kB / 1.211 GB, free: 43.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/2.148, allocations: 374.8 kB / 1.211 GB, free: 43.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005854/2.149, allocations: 221.9 kB / 1.211 GB, free: 43.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007097/2.15, allocations: 0.534 MB / 1.212 GB, free: 42.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007174/2.15, allocations: 320.5 kB / 1.212 GB, free: 42.08 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/2.15, allocations: 4 kB / 1.212 GB, free: 42.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004433/2.155, allocations: 0.9681 MB / 1.213 GB, free: 41.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/2.155, allocations: 13.83 kB / 1.213 GB, free: 41.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/2.155, allocations: 12 kB / 1.213 GB, free: 41.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002563/2.157, allocations: 265 kB / 1.213 GB, free: 40.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/2.159, allocations: 127.8 kB / 1.214 GB, free: 40.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/2.161, allocations: 0.8548 MB / 1.214 GB, free: 39.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/2.163, allocations: 48.08 kB / 1.214 GB, free: 39.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000211/2.163, allocations: 43.98 kB / 1.214 GB, free: 39.72 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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.0007636/2.164, allocations: 253.4 kB / 1.215 GB, free: 39.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000291/2.164, allocations: 63.25 kB / 1.215 GB, free: 39.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003075/2.167, allocations: 0.6874 MB / 1.215 GB, free: 38.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.428e-05/2.167, allocations: 7.984 kB / 1.215 GB, free: 38.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/2.167, allocations: 0 / 1.215 GB, free: 38.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/2.167, allocations: 4 kB / 1.215 GB, free: 38.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005116/2.172, allocations: 1.371 MB / 1.217 GB, free: 37.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/2.172, allocations: 0 / 1.217 GB, free: 37.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002839/2.175, allocations: 195.8 kB / 1.217 GB, free: 37.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006993/2.176, allocations: 64.81 kB / 1.217 GB, free: 36.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001823/2.176, allocations: 16 kB / 1.217 GB, free: 36.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004/2.18, allocations: 2.794 MB / 1.22 GB, free: 33.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/2.18, allocations: 0 / 1.22 GB, free: 33.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00304/2.183, allocations: 0.9744 MB / 1.221 GB, free: 32.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006783/2.184, allocations: 188.3 kB / 1.221 GB, free: 32.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/2.184, allocations: 12 kB / 1.221 GB, free: 32.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/2.185, allocations: 35.91 kB / 1.221 GB, free: 32.65 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/2.186, allocations: 35.89 kB / 1.221 GB, free: 32.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.446e-05/2.186, allocations: 23.98 kB / 1.221 GB, free: 32.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008826/2.187, allocations: 378.8 kB / 1.221 GB, free: 32.22 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.42e-07/2.187, allocations: 0 / 1.221 GB, free: 32.22 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002058/2.189, allocations: 227.9 kB / 1.222 GB, free: 32 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009663/2.19, allocations: 264.8 kB / 1.222 GB, free: 31.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002471/2.192, allocations: 0.6013 MB / 1.222 GB, free: 31.13 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/2.192, allocations: 8.047 kB / 1.222 GB, free: 31.12 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002501/2.195, allocations: 474 kB / 1.223 GB, free: 30.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003829/2.199, allocations: 308.2 kB / 1.223 GB, free: 30.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005101/2.204, allocations: 1.649 MB / 1.225 GB, free: 28.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007855/2.205, allocations: 0.9581 MB / 1.226 GB, free: 27.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002058/2.207, allocations: 201.1 kB / 1.226 GB, free: 27.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004807/2.207, allocations: 63.42 kB / 1.226 GB, free: 27.42 MB / 490.7 MB Notification: Performance of SimCode: time 1.503e-06/2.208, allocations: 4 kB / 1.226 GB, free: 27.42 MB / 490.7 MB Notification: Performance of Templates: time 0.04971/2.257, allocations: 13.11 MB / 1.239 GB, free: 14.4 MB / 490.7 MB