Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearWater_pT,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.LinearWater_pT") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0029/0.002899, allocations: 362 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.806/3.806, allocations: 388.9 MB / 405.6 MB, free: 9.668 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.003569/0.003569, allocations: 233.9 kB / 451 MB, free: 145 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.6628/0.6628, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004714/0.0004717, allocations: 16 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1421, allocations: 54.86 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.383/9.525, allocations: 2.952 GB / 3.632 GB, free: 64.42 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004617/9.525, allocations: 99.62 kB / 3.632 GB, free: 64.37 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.917/14.44, allocations: 0.8613 GB / 4.494 GB, free: 71.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.895e-06/14.44, allocations: 0 / 4.494 GB, free: 71.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.184e-05/14.44, allocations: 18.25 kB / 4.494 GB, free: 71.14 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.00815/14.45, allocations: 1.657 MB / 4.495 GB, free: 70.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/14.45, allocations: 11.31 kB / 4.495 GB, free: 70.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008759/14.45, allocations: 84.64 kB / 4.495 GB, free: 70.26 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/14.45, allocations: 0.5501 MB / 4.496 GB, free: 70 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/14.45, allocations: 92.72 kB / 4.496 GB, free: 69.94 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/14.45, allocations: 61.23 kB / 4.496 GB, free: 69.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002579/14.46, allocations: 0.8108 MB / 4.497 GB, free: 69.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.944e-05/14.46, allocations: 6.906 kB / 4.497 GB, free: 69.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/14.46, allocations: 21.94 kB / 4.497 GB, free: 69.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000105/14.46, allocations: 39.97 kB / 4.497 GB, free: 69.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002477/14.46, allocations: 0.635 MB / 4.498 GB, free: 69.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009351/14.47, allocations: 3.868 MB / 4.501 GB, free: 67.28 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/14.47, allocations: 399.2 kB / 4.502 GB, free: 67.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006721/14.47, allocations: 207.7 kB / 4.502 GB, free: 67.24 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006478/14.47, allocations: 0.5028 MB / 4.502 GB, free: 66.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/14.47, allocations: 37.41 kB / 4.502 GB, free: 66.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 4.699e-06/14.47, allocations: 3.906 kB / 4.502 GB, free: 66.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.006787/14.48, allocations: 1.481 MB / 4.504 GB, free: 66.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.136e-05/14.48, allocations: 132.5 kB / 4.504 GB, free: 66.08 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/14.48, allocations: 0.5563 MB / 4.505 GB, free: 65.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001281/14.48, allocations: 35.11 kB / 4.505 GB, free: 65.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003789/14.48, allocations: 365.4 kB / 4.505 GB, free: 65.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/14.48, allocations: 162.2 kB / 4.505 GB, free: 65.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.397e-05/14.48, allocations: 15.34 kB / 4.505 GB, free: 65.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001737/14.48, allocations: 368.3 kB / 4.505 GB, free: 65.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000851/14.48, allocations: 222.6 kB / 4.506 GB, free: 65.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/14.48, allocations: 0.538 MB / 4.506 GB, free: 64.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/14.48, allocations: 319.3 kB / 4.506 GB, free: 64.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/14.48, allocations: 3.844 kB / 4.506 GB, free: 64.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003869/14.49, allocations: 0.9687 MB / 4.507 GB, free: 64.81 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/14.49, allocations: 13.31 kB / 4.507 GB, free: 64.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/14.49, allocations: 10.31 kB / 4.507 GB, free: 64.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002238/14.49, allocations: 246.8 kB / 4.508 GB, free: 64.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/14.49, allocations: 141.5 kB / 4.508 GB, free: 64.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/14.49, allocations: 0.8614 MB / 4.509 GB, free: 64.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/14.5, allocations: 46.98 kB / 4.509 GB, free: 64.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/14.5, allocations: 44.12 kB / 4.509 GB, free: 64.27 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.0006679/14.5, allocations: 247.5 kB / 4.509 GB, free: 64.15 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/14.5, allocations: 62.91 kB / 4.509 GB, free: 64.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/14.5, allocations: 0.6931 MB / 4.51 GB, free: 64.03 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/14.5, allocations: 7.672 kB / 4.51 GB, free: 64.03 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/14.5, allocations: 2.844 kB / 4.51 GB, free: 64.03 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/14.5, allocations: 7.219 kB / 4.51 GB, free: 64.03 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004192/14.5, allocations: 1.36 MB / 4.511 GB, free: 63.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/14.5, allocations: 3.406 kB / 4.511 GB, free: 63.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002362/14.51, allocations: 196 kB / 4.511 GB, free: 63.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006136/14.51, allocations: 61.69 kB / 4.511 GB, free: 63.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.118e-05/14.51, allocations: 13.59 kB / 4.511 GB, free: 63.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00345/14.51, allocations: 2.793 MB / 4.514 GB, free: 61.07 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-06/14.51, allocations: 3.312 kB / 4.514 GB, free: 61.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003186/14.51, allocations: 0.9669 MB / 4.515 GB, free: 60.83 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000581/14.51, allocations: 196 kB / 4.515 GB, free: 60.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/14.51, allocations: 13.38 kB / 4.515 GB, free: 60.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/14.52, allocations: 30.34 kB / 4.515 GB, free: 60.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/14.52, allocations: 37.62 kB / 4.515 GB, free: 60.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.204e-05/14.52, allocations: 21.88 kB / 4.515 GB, free: 60.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009043/14.52, allocations: 383 kB / 4.516 GB, free: 60.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.01e-07/14.52, allocations: 0 / 4.516 GB, free: 60.61 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002058/14.52, allocations: 237.8 kB / 4.516 GB, free: 60.6 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.001223/14.52, allocations: 384.1 kB / 4.516 GB, free: 60.49 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002424/14.52, allocations: 0.6014 MB / 4.517 GB, free: 60.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/14.52, allocations: 3.906 kB / 4.517 GB, free: 60.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002895/14.53, allocations: 473 kB / 4.517 GB, free: 60.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005151/14.53, allocations: 321.9 kB / 4.518 GB, free: 60.35 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005903/14.54, allocations: 1.641 MB / 4.519 GB, free: 59.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007532/14.54, allocations: 0.9545 MB / 4.52 GB, free: 58.95 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002039/14.54, allocations: 207.3 kB / 4.52 GB, free: 58.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004455/14.54, allocations: 62.2 kB / 4.52 GB, free: 58.93 MB / 490.7 MB Notification: Performance of SimCode: time 1.583e-06/14.54, allocations: 0 / 4.52 GB, free: 58.93 MB / 490.7 MB Notification: Performance of Templates: time 0.06066/14.6, allocations: 15.11 MB / 4.535 GB, free: 58.43 MB / 490.7 MB