Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002611/0.002615, allocations: 346.5 kB / 15.93 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.377/3.377, allocations: 341.5 MB / 358.2 MB, free: 28.75 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00359/0.00359, allocations: 221.1 kB / 397.9 MB, free: 6.148 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4935/0.4935, allocations: 76.1 MB / 0.5014 GB, free: 0.8203 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004932/0.0004936, allocations: 16 kB / 0.5592 GB, free: 60.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09463/0.09516, allocations: 48.71 MB / 0.6068 GB, free: 11.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.107/1.203, allocations: 341.5 MB / 0.9403 GB, free: 19.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/1.203, allocations: 93.77 kB / 0.9403 GB, free: 19.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6965/1.899, allocations: 128.9 MB / 1.066 GB, free: 64.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.673e-06/1.899, allocations: 0 / 1.066 GB, free: 64.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.101e-05/1.9, allocations: 24.22 kB / 1.066 GB, free: 64.27 MB / 426.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.00322/1.903, allocations: 0.9622 MB / 1.067 GB, free: 63.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.903, allocations: 8.031 kB / 1.067 GB, free: 63.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005436/1.903, allocations: 87.06 kB / 1.067 GB, free: 63.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/1.905, allocations: 0.552 MB / 1.068 GB, free: 62.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/1.905, allocations: 104.4 kB / 1.068 GB, free: 62.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/1.905, allocations: 48 kB / 1.068 GB, free: 62.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/1.907, allocations: 0.8186 MB / 1.069 GB, free: 61.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/1.907, allocations: 0 / 1.069 GB, free: 61.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/1.907, allocations: 27.98 kB / 1.069 GB, free: 61.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.407e-05/1.907, allocations: 40.98 kB / 1.069 GB, free: 61.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/1.909, allocations: 0.6243 MB / 1.069 GB, free: 60.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009394/1.918, allocations: 3.994 MB / 1.073 GB, free: 56.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008377/1.919, allocations: 335.4 kB / 1.074 GB, free: 56.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003859/1.92, allocations: 169.3 kB / 1.074 GB, free: 56.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002627/1.922, allocations: 1.753 MB / 1.076 GB, free: 54.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/1.922, allocations: 38.56 kB / 1.076 GB, free: 54.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 2.825e-06/1.923, allocations: 4 kB / 1.076 GB, free: 54.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.004382/1.927, allocations: 1.205 MB / 1.077 GB, free: 52.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/1.927, allocations: 132.5 kB / 1.077 GB, free: 52.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009779/1.928, allocations: 0.6172 MB / 1.077 GB, free: 51.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.231e-05/1.928, allocations: 37.7 kB / 1.078 GB, free: 51.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000289/1.928, allocations: 421.8 kB / 1.078 GB, free: 51.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/1.928, allocations: 122.4 kB / 1.078 GB, free: 51.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/1.929, allocations: 16 kB / 1.078 GB, free: 51.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/1.929, allocations: 374.8 kB / 1.078 GB, free: 51.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004039/1.929, allocations: 173.9 kB / 1.079 GB, free: 50.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006429/1.93, allocations: 0.5741 MB / 1.079 GB, free: 50.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005959/1.93, allocations: 299.7 kB / 1.079 GB, free: 49.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/1.93, allocations: 4 kB / 1.079 GB, free: 49.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001643/1.932, allocations: 0.7789 MB / 1.08 GB, free: 48.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/1.932, allocations: 15.28 kB / 1.08 GB, free: 48.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/1.932, allocations: 12 kB / 1.08 GB, free: 48.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.823e-05/1.932, allocations: 20.78 kB / 1.08 GB, free: 48.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/1.934, allocations: 215.6 kB / 1.08 GB, free: 48.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.867e-05/1.934, allocations: 31.86 kB / 1.08 GB, free: 48.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009804/1.935, allocations: 47.92 kB / 1.081 GB, free: 48.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.678e-05/1.935, allocations: 40 kB / 1.081 GB, free: 48.62 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (95): * Single equations (assignments): 95 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004759/1.935, allocations: 263 kB / 1.081 GB, free: 48.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/1.935, allocations: 71.11 kB / 1.081 GB, free: 48.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009809/1.936, allocations: 415 kB / 1.081 GB, free: 47.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.936, allocations: 4 kB / 1.081 GB, free: 47.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.936, allocations: 3.938 kB / 1.081 GB, free: 47.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.936, allocations: 4 kB / 1.081 GB, free: 47.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/1.939, allocations: 1.211 MB / 1.082 GB, free: 46.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/1.939, allocations: 4 kB / 1.082 GB, free: 46.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004794/1.939, allocations: 67.91 kB / 1.083 GB, free: 46.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002777/1.94, allocations: 52.84 kB / 1.083 GB, free: 46.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/1.94, allocations: 8.406 kB / 1.083 GB, free: 46.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003721/1.94, allocations: 0.5679 MB / 1.083 GB, free: 45.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.94, allocations: 4 kB / 1.083 GB, free: 45.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/1.941, allocations: 0.673 MB / 1.084 GB, free: 45.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003771/1.942, allocations: 180.2 kB / 1.084 GB, free: 44.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/1.942, allocations: 15.95 kB / 1.084 GB, free: 44.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006388/1.942, allocations: 19.98 kB / 1.084 GB, free: 44.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/1.942, allocations: 35.97 kB / 1.084 GB, free: 44.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.383e-05/1.942, allocations: 19.98 kB / 1.084 GB, free: 44.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007113/1.943, allocations: 431 kB / 1.084 GB, free: 44.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.71e-07/1.943, allocations: 0 / 1.084 GB, free: 44.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001224/1.944, allocations: 219.9 kB / 1.085 GB, free: 44.14 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (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 (35): * Single equations (assignments): 34 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007295/1.945, allocations: 338 kB / 1.085 GB, free: 43.81 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001099/1.946, allocations: 458.4 kB / 1.085 GB, free: 43.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/1.946, allocations: 4 kB / 1.085 GB, free: 43.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004956/1.947, allocations: 164.8 kB / 1.086 GB, free: 43.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/1.949, allocations: 289 kB / 1.086 GB, free: 42.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/1.952, allocations: 1.512 MB / 1.087 GB, free: 41.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/1.952, allocations: 0.9531 MB / 1.088 GB, free: 40.36 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001202/1.954, allocations: 200.2 kB / 1.088 GB, free: 40.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/1.954, allocations: 55.44 kB / 1.089 GB, free: 40.11 MB / 426.7 MB Notification: Performance of SimCode: time 8.41e-07/1.954, allocations: 0 / 1.089 GB, free: 40.11 MB / 426.7 MB Notification: Performance of Templates: time 0.03021/1.984, allocations: 11.67 MB / 1.1 GB, free: 28.5 MB / 426.7 MB