Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadModel(ModelicaTest): time 2.23/2.23, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.582e-05/1.601e-05, allocations: 0 / 303.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2726, allocations: 54.85 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9373/1.21, allocations: 347.1 MB / 0.6887 GB, free: 136.2 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/1.21, allocations: 87.95 kB / 0.6888 GB, free: 136.1 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3513/1.562, allocations: 128.3 MB / 0.8141 GB, free: 6.238 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.294e-06/1.562, allocations: 0 / 0.8141 GB, free: 6.238 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.045e-05/1.562, allocations: 27.88 kB / 0.8141 GB, free: 6.211 MB / 474.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.001842/1.563, allocations: 0.8885 MB / 0.8149 GB, free: 5.277 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/1.564, allocations: 12.02 kB / 0.815 GB, free: 5.266 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004766/1.564, allocations: 91.09 kB / 0.815 GB, free: 5.176 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/1.565, allocations: 0.5545 MB / 0.8156 GB, free: 4.582 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/1.565, allocations: 84.7 kB / 0.8157 GB, free: 4.484 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.424e-05/1.566, allocations: 28 kB / 0.8157 GB, free: 4.457 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0011/1.567, allocations: 0.5296 MB / 0.8162 GB, free: 3.93 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/1.568, allocations: 0.7332 MB / 0.8169 GB, free: 3.113 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/1.568, allocations: 3.938 kB / 0.8169 GB, free: 3.109 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.042e-05/1.568, allocations: 4 kB / 0.8169 GB, free: 3.105 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.947e-05/1.568, allocations: 41.25 kB / 0.817 GB, free: 3.066 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2636/1.832, allocations: 4.157 MB / 0.821 GB, free: 108.2 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006564/1.833, allocations: 263.7 kB / 0.8213 GB, free: 108.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/1.833, allocations: 134.2 kB / 0.8214 GB, free: 108.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002274/1.835, allocations: 1.482 MB / 0.8229 GB, free: 107 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/1.835, allocations: 40.69 kB / 0.8229 GB, free: 107 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 2.859e-06/1.835, allocations: 0 / 0.8229 GB, free: 107 MB / 474.7 MB Notification: Performance of matching and sorting (n=20): time 0.002503/1.838, allocations: 0.7472 MB / 0.8236 GB, free: 106.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/1.838, allocations: 131.8 kB / 0.8238 GB, free: 106.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009605/1.839, allocations: 0.5293 MB / 0.8243 GB, free: 106.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/1.839, allocations: 26.98 kB / 0.8243 GB, free: 106.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/1.839, allocations: 488.1 kB / 0.8248 GB, free: 106 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.437e-05/1.839, allocations: 81.23 kB / 0.8248 GB, free: 106 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/1.839, allocations: 0 / 0.8248 GB, free: 106 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.515e-05/1.839, allocations: 340.7 kB / 0.8252 GB, free: 105.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/1.84, allocations: 144.8 kB / 0.8253 GB, free: 105.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004876/1.84, allocations: 0.5287 MB / 0.8258 GB, free: 105.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000685/1.841, allocations: 261.9 kB / 0.8261 GB, free: 105.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/1.841, allocations: 7.125 kB / 0.8261 GB, free: 105.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001509/1.842, allocations: 0.6092 MB / 0.8267 GB, free: 105.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/1.842, allocations: 11.22 kB / 0.8267 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/1.843, allocations: 13.59 kB / 0.8267 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.17e-05/1.843, allocations: 19.78 kB / 0.8267 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/1.844, allocations: 204.8 kB / 0.8269 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.159e-05/1.844, allocations: 27.69 kB / 0.8269 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008883/1.845, allocations: 42.42 kB / 0.827 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.038e-05/1.845, allocations: 39.52 kB / 0.827 GB, free: 105.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0001756/1.845, allocations: 141 kB / 0.8271 GB, free: 105 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/1.845, allocations: 61.8 kB / 0.8272 GB, free: 105 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007388/1.846, allocations: 257 kB / 0.8275 GB, free: 104.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.035e-06/1.846, allocations: 4.719 kB / 0.8275 GB, free: 104.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.1e-06/1.846, allocations: 0 / 0.8275 GB, free: 104.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.03e-06/1.846, allocations: 3.094 kB / 0.8275 GB, free: 104.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/1.847, allocations: 0.7637 MB / 0.8282 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.954e-06/1.848, allocations: 1.375 kB / 0.8282 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/1.848, allocations: 45.73 kB / 0.8283 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001311/1.848, allocations: 28.25 kB / 0.8283 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/1.848, allocations: 7.406 kB / 0.8283 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003862/1.848, allocations: 0.5535 MB / 0.8288 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.265e-06/1.848, allocations: 8.516 kB / 0.8288 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007808/1.849, allocations: 488.5 kB / 0.8293 GB, free: 103.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002817/1.849, allocations: 169.8 kB / 0.8295 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/1.85, allocations: 3.281 kB / 0.8295 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/1.85, allocations: 14.98 kB / 0.8295 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/1.85, allocations: 14.17 kB / 0.8295 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.975e-05/1.85, allocations: 19.14 kB / 0.8295 GB, free: 103.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005369/1.851, allocations: 390.2 kB / 0.8299 GB, free: 103.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.08e-07/1.851, allocations: 0 / 0.8299 GB, free: 103.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001106/1.852, allocations: 191.5 kB / 0.8301 GB, free: 103.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * 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.0006061/1.852, allocations: 315.9 kB / 0.8304 GB, free: 103.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007216/1.853, allocations: 356.5 kB / 0.8307 GB, free: 103.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.25e-06/1.853, allocations: 0 / 0.8307 GB, free: 103.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002204/1.853, allocations: 92.98 kB / 0.8308 GB, free: 103.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/1.855, allocations: 219.6 kB / 0.831 GB, free: 103.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/1.856, allocations: 0.7904 MB / 0.8318 GB, free: 103.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/1.857, allocations: 0.9349 MB / 0.8327 GB, free: 102.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/1.857, allocations: 56.41 kB / 0.8327 GB, free: 102.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.786e-06/1.857, allocations: 0 / 0.8327 GB, free: 102.6 MB / 474.7 MB Notification: Performance of Templates: time 0.01856/1.876, allocations: 11.71 MB / 0.8442 GB, free: 102.3 MB / 474.7 MB