Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003764/0.003764, allocations: 348.4 kB / 15.94 MB, free: 6.219 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.783/3.783, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.003481/0.00348, allocations: 213.5 kB / 397.9 MB, free: 4.973 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.5248/0.5248, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.0004823, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09451/0.09502, allocations: 48.69 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.081/9.176, allocations: 2.841 GB / 3.448 GB, free: 24.59 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/9.177, allocations: 107.3 kB / 3.448 GB, free: 24.54 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.67/13.85, allocations: 0.8447 GB / 4.292 GB, free: 38.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.406e-06/13.85, allocations: 0 / 4.292 GB, free: 38.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.806e-05/13.85, allocations: 25.23 kB / 4.292 GB, free: 38.51 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.00802/13.86, allocations: 1.646 MB / 4.294 GB, free: 37.36 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/13.86, allocations: 9.406 kB / 4.294 GB, free: 37.36 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006568/13.86, allocations: 90.72 kB / 4.294 GB, free: 37.32 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/13.86, allocations: 0.5452 MB / 4.295 GB, free: 36.88 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/13.86, allocations: 102 kB / 4.295 GB, free: 36.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/13.86, allocations: 51.61 kB / 4.295 GB, free: 36.78 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/13.86, allocations: 0.8148 MB / 4.296 GB, free: 36.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.153e-05/13.86, allocations: 0 / 4.296 GB, free: 36.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/13.86, allocations: 27.98 kB / 4.296 GB, free: 36.06 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.16e-05/13.86, allocations: 48 kB / 4.296 GB, free: 36.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/13.86, allocations: 0.6361 MB / 4.296 GB, free: 35.38 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006722/13.87, allocations: 3.868 MB / 4.3 GB, free: 31.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/13.87, allocations: 393.5 kB / 4.301 GB, free: 30.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004769/13.87, allocations: 196 kB / 4.301 GB, free: 30.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005515/13.87, allocations: 0.499 MB / 4.301 GB, free: 30.1 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/13.87, allocations: 38.89 kB / 4.301 GB, free: 30.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=40): time 3.687e-06/13.87, allocations: 0 / 4.301 GB, free: 30.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.004823/13.88, allocations: 1.495 MB / 4.303 GB, free: 28.51 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/13.88, allocations: 132.5 kB / 4.303 GB, free: 28.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009191/13.88, allocations: 0.5497 MB / 4.303 GB, free: 27.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001318/13.88, allocations: 33.69 kB / 4.303 GB, free: 27.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/13.88, allocations: 367.4 kB / 4.304 GB, free: 27.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000168/13.88, allocations: 161.7 kB / 4.304 GB, free: 27.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/13.88, allocations: 16 kB / 4.304 GB, free: 27.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/13.88, allocations: 382.8 kB / 4.304 GB, free: 26.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000578/13.88, allocations: 221.8 kB / 4.304 GB, free: 26.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007374/13.88, allocations: 0.5372 MB / 4.305 GB, free: 25.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007172/13.88, allocations: 320.6 kB / 4.305 GB, free: 25.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/13.88, allocations: 4 kB / 4.305 GB, free: 25.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002892/13.88, allocations: 0.9605 MB / 4.306 GB, free: 24.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/13.88, allocations: 12 kB / 4.306 GB, free: 24.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.49e-05/13.88, allocations: 8 kB / 4.306 GB, free: 24.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001761/13.88, allocations: 261.1 kB / 4.307 GB, free: 24.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008761/13.89, allocations: 135.3 kB / 4.307 GB, free: 24.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/13.89, allocations: 0.857 MB / 4.307 GB, free: 23.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/13.89, allocations: 44.05 kB / 4.308 GB, free: 23.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/13.89, allocations: 43.98 kB / 4.308 GB, free: 23.27 MB / 442.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.0005228/13.89, allocations: 243.9 kB / 4.308 GB, free: 23.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/13.89, allocations: 71.14 kB / 4.308 GB, free: 22.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/13.89, allocations: 0.6944 MB / 4.309 GB, free: 22.24 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/13.89, allocations: 8 kB / 4.309 GB, free: 22.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/13.89, allocations: 0 / 4.309 GB, free: 22.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/13.89, allocations: 3.984 kB / 4.309 GB, free: 22.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003292/13.89, allocations: 1.366 MB / 4.31 GB, free: 20.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/13.89, allocations: 4.219 kB / 4.31 GB, free: 20.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001877/13.9, allocations: 191.8 kB / 4.31 GB, free: 20.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005065/13.9, allocations: 60.78 kB / 4.31 GB, free: 20.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/13.9, allocations: 17.56 kB / 4.31 GB, free: 20.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002707/13.9, allocations: 2.787 MB / 4.313 GB, free: 17.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/13.9, allocations: 4 kB / 4.313 GB, free: 17.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002349/13.9, allocations: 0.9677 MB / 4.314 GB, free: 16.47 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004924/13.9, allocations: 189.9 kB / 4.314 GB, free: 16.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/13.9, allocations: 12 kB / 4.314 GB, free: 16.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007744/13.9, allocations: 27.88 kB / 4.314 GB, free: 16.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/13.9, allocations: 51.91 kB / 4.314 GB, free: 16.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-05/13.9, allocations: 19.98 kB / 4.314 GB, free: 16.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006714/13.9, allocations: 374.8 kB / 4.314 GB, free: 15.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/13.9, allocations: 0 / 4.314 GB, free: 15.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001545/13.91, allocations: 243.9 kB / 4.315 GB, free: 15.56 MB / 442.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.0009977/13.91, allocations: 395.8 kB / 4.315 GB, free: 15.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001946/13.91, allocations: 0.5959 MB / 4.316 GB, free: 14.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/13.91, allocations: 4 kB / 4.316 GB, free: 14.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001901/13.91, allocations: 481.1 kB / 4.316 GB, free: 14.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002877/13.91, allocations: 315.3 kB / 4.316 GB, free: 13.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00336/13.92, allocations: 1.643 MB / 4.318 GB, free: 12.14 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/13.92, allocations: 0.9464 MB / 4.319 GB, free: 11.17 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00145/13.92, allocations: 205.1 kB / 4.319 GB, free: 10.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/13.92, allocations: 67.36 kB / 4.319 GB, free: 10.92 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/13.92, allocations: 0 / 4.319 GB, free: 10.92 MB / 442.7 MB Notification: Performance of Templates: time 0.357/14.28, allocations: 15.09 MB / 4.334 GB, free: 51.71 MB / 442.7 MB