Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.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.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.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004268/0.004273, allocations: 363.6 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 4.217/4.217, allocations: 388.9 MB / 405.6 MB, free: 9.582 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.003795/0.003795, allocations: 224.4 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.527/0.527, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000469/0.0004692, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1111, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.179/1.29, allocations: 347.9 MB / 1.02 GB, free: 75.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003391/1.291, allocations: 103.9 kB / 1.02 GB, free: 75.74 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7516/2.042, allocations: 128.9 MB / 1.146 GB, free: 138.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.645e-06/2.043, allocations: 0 / 1.146 GB, free: 138.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.937e-05/2.043, allocations: 18.34 kB / 1.146 GB, free: 138.6 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.00258/2.045, allocations: 0.972 MB / 1.147 GB, free: 138 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/2.045, allocations: 10.28 kB / 1.147 GB, free: 138 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004582/2.046, allocations: 89.7 kB / 1.147 GB, free: 137.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/2.047, allocations: 0.5464 MB / 1.147 GB, free: 137.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/2.047, allocations: 100.1 kB / 1.148 GB, free: 137.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/2.047, allocations: 57.19 kB / 1.148 GB, free: 137.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/2.049, allocations: 0.8142 MB / 1.148 GB, free: 137 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.16e-05/2.049, allocations: 7.75 kB / 1.148 GB, free: 137 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/2.05, allocations: 23.81 kB / 1.148 GB, free: 137 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-05/2.05, allocations: 35.09 kB / 1.148 GB, free: 137 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/2.051, allocations: 0.6257 MB / 1.149 GB, free: 136.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006493/2.058, allocations: 4.004 MB / 1.153 GB, free: 133.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008696/2.059, allocations: 335.9 kB / 1.153 GB, free: 133.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004101/2.059, allocations: 169.2 kB / 1.153 GB, free: 133.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002672/2.062, allocations: 1.742 MB / 1.155 GB, free: 131.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/2.062, allocations: 45.86 kB / 1.155 GB, free: 131.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=23): time 2.535e-06/2.062, allocations: 0 / 1.155 GB, free: 131.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.004176/2.066, allocations: 1.207 MB / 1.156 GB, free: 131 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/2.066, allocations: 132.5 kB / 1.156 GB, free: 130.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009928/2.067, allocations: 0.6249 MB / 1.157 GB, free: 130.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-05/2.067, allocations: 33.58 kB / 1.157 GB, free: 130.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/2.068, allocations: 425.7 kB / 1.158 GB, free: 130.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/2.068, allocations: 125.1 kB / 1.158 GB, free: 130.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/2.068, allocations: 15.97 kB / 1.158 GB, free: 130.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/2.068, allocations: 375.3 kB / 1.158 GB, free: 129.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000407/2.068, allocations: 176.1 kB / 1.158 GB, free: 129.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006875/2.069, allocations: 0.5746 MB / 1.159 GB, free: 129.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006114/2.07, allocations: 289.1 kB / 1.159 GB, free: 129 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.367e-06/2.07, allocations: 11.81 kB / 1.159 GB, free: 129 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001746/2.072, allocations: 0.7739 MB / 1.16 GB, free: 128.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/2.072, allocations: 7.812 kB / 1.16 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/2.072, allocations: 15.44 kB / 1.16 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.822e-05/2.072, allocations: 21.25 kB / 1.16 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/2.073, allocations: 211.7 kB / 1.16 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.004e-05/2.073, allocations: 25.86 kB / 1.16 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009671/2.074, allocations: 52.61 kB / 1.16 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.069e-05/2.074, allocations: 43.38 kB / 1.16 GB, free: 128.6 MB / 490.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.0004851/2.075, allocations: 264.4 kB / 1.16 GB, free: 128.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/2.075, allocations: 64.53 kB / 1.16 GB, free: 128.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/2.076, allocations: 436.3 kB / 1.161 GB, free: 128.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/2.076, allocations: 3.156 kB / 1.161 GB, free: 128.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/2.076, allocations: 0 / 1.161 GB, free: 128.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/2.076, allocations: 3.891 kB / 1.161 GB, free: 128.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/2.078, allocations: 1.206 MB / 1.162 GB, free: 127.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/2.078, allocations: 7.891 kB / 1.162 GB, free: 127.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004865/2.079, allocations: 69.72 kB / 1.162 GB, free: 127.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002896/2.079, allocations: 37.36 kB / 1.162 GB, free: 127.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/2.079, allocations: 11.16 kB / 1.162 GB, free: 127.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004113/2.08, allocations: 0.5683 MB / 1.163 GB, free: 126.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/2.08, allocations: 3.938 kB / 1.163 GB, free: 126.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/2.081, allocations: 0.6772 MB / 1.163 GB, free: 126.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003699/2.081, allocations: 176.7 kB / 1.164 GB, free: 126.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/2.081, allocations: 18.56 kB / 1.164 GB, free: 126.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006499/2.082, allocations: 23.3 kB / 1.164 GB, free: 126.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.871e-05/2.082, allocations: 41.11 kB / 1.164 GB, free: 126.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.776e-05/2.082, allocations: 18.97 kB / 1.164 GB, free: 126.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000777/2.083, allocations: 428.9 kB / 1.164 GB, free: 125.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.21e-07/2.083, allocations: 0 / 1.164 GB, free: 125.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001447/2.085, allocations: 215.1 kB / 1.164 GB, free: 125.9 MB / 490.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.0008999/2.085, allocations: 326.8 kB / 1.165 GB, free: 125.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001293/2.087, allocations: 463 kB / 1.165 GB, free: 125.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/2.087, allocations: 5.656 kB / 1.165 GB, free: 125.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006232/2.087, allocations: 161.5 kB / 1.165 GB, free: 125.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002711/2.09, allocations: 279.8 kB / 1.165 GB, free: 125.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/2.093, allocations: 1.512 MB / 1.167 GB, free: 124.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005112/2.094, allocations: 0.9532 MB / 1.168 GB, free: 123.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001237/2.095, allocations: 202.4 kB / 1.168 GB, free: 123.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/2.095, allocations: 58.44 kB / 1.168 GB, free: 123.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.383e-06/2.095, allocations: 0 / 1.168 GB, free: 123.8 MB / 490.7 MB Notification: Performance of Templates: time 0.03161/2.127, allocations: 11.68 MB / 1.18 GB, free: 113.7 MB / 490.7 MB