Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.431/2.431, allocations: 234.9 MB / 251.1 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006613/0.0006617, allocations: 16 kB / 315 MB, free: 9.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.357, allocations: 54.85 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.18/1.537, allocations: 347.9 MB / 0.7009 GB, free: 124.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003393/1.537, allocations: 102 kB / 0.701 GB, free: 124.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4491/1.986, allocations: 129.9 MB / 0.8278 GB, free: 11.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.415e-06/1.986, allocations: 4 kB / 0.8278 GB, free: 11.92 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.794e-05/1.986, allocations: 16 kB / 0.8278 GB, free: 11.91 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.002708/1.989, allocations: 0.9584 MB / 0.8288 GB, free: 10.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/1.989, allocations: 11.97 kB / 0.8288 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000575/1.99, allocations: 95 kB / 0.8289 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/1.991, allocations: 0.5443 MB / 0.8294 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/1.991, allocations: 100.4 kB / 0.8295 GB, free: 10.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/1.992, allocations: 51.91 kB / 0.8295 GB, free: 10.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/1.993, allocations: 0.8114 MB / 0.8303 GB, free: 9.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/1.993, allocations: 11.92 kB / 0.8303 GB, free: 9.148 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/1.994, allocations: 31.92 kB / 0.8304 GB, free: 9.117 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.686e-05/1.994, allocations: 44.94 kB / 0.8304 GB, free: 9.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/1.995, allocations: 0.6204 MB / 0.831 GB, free: 8.449 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006062/2.001, allocations: 4.006 MB / 0.8349 GB, free: 4.199 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008629/2.002, allocations: 335.4 kB / 0.8353 GB, free: 3.863 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002747/2.005, allocations: 1.772 MB / 0.837 GB, free: 1.844 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/2.005, allocations: 42.52 kB / 0.837 GB, free: 1.793 MB / 490.7 MB Notification: Performance of pre-optimization done (n=23): time 2.555e-06/2.005, allocations: 0 / 0.837 GB, free: 1.793 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.004278/2.009, allocations: 1.204 MB / 0.8382 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/2.01, allocations: 132.5 kB / 0.8383 GB, free: 384 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3475/2.357, allocations: 0.6141 MB / 0.8389 GB, free: 124.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001168/2.357, allocations: 34.67 kB / 0.839 GB, free: 124.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00041/2.358, allocations: 448.3 kB / 0.8394 GB, free: 124.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/2.358, allocations: 129.5 kB / 0.8395 GB, free: 124.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.407e-05/2.358, allocations: 16.62 kB / 0.8395 GB, free: 124.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/2.358, allocations: 344.7 kB / 0.8399 GB, free: 124.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000569/2.359, allocations: 174.2 kB / 0.84 GB, free: 124.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007444/2.359, allocations: 0.5772 MB / 0.8406 GB, free: 123.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007185/2.36, allocations: 293.9 kB / 0.8409 GB, free: 123.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/2.36, allocations: 6.719 kB / 0.8409 GB, free: 123.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002066/2.362, allocations: 0.7424 MB / 0.8416 GB, free: 123.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.769e-05/2.362, allocations: 10.44 kB / 0.8416 GB, free: 123.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.708e-05/2.362, allocations: 21.16 kB / 0.8416 GB, free: 123.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.675e-05/2.362, allocations: 19.95 kB / 0.8416 GB, free: 123.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/2.364, allocations: 209.5 kB / 0.8418 GB, free: 123.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.521e-05/2.364, allocations: 31.25 kB / 0.8419 GB, free: 123.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/2.365, allocations: 49.39 kB / 0.8419 GB, free: 123.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.43e-05/2.365, allocations: 43.77 kB / 0.842 GB, free: 123.8 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.0005385/2.366, allocations: 261.7 kB / 0.8422 GB, free: 123.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/2.366, allocations: 67.75 kB / 0.8423 GB, free: 123.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/2.367, allocations: 429.3 kB / 0.8427 GB, free: 123.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/2.367, allocations: 4.125 kB / 0.8427 GB, free: 123.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/2.367, allocations: 0.6094 kB / 0.8427 GB, free: 123.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/2.367, allocations: 5.828 kB / 0.8427 GB, free: 123.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/2.37, allocations: 1.212 MB / 0.8439 GB, free: 123.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/2.37, allocations: 6.25 kB / 0.8439 GB, free: 123.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005224/2.371, allocations: 73.08 kB / 0.844 GB, free: 123.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003042/2.371, allocations: 40.41 kB / 0.844 GB, free: 123.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/2.371, allocations: 11.47 kB / 0.844 GB, free: 123.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004169/2.371, allocations: 0.5608 MB / 0.8446 GB, free: 122.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/2.371, allocations: 8.094 kB / 0.8446 GB, free: 122.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/2.373, allocations: 0.6735 MB / 0.8452 GB, free: 122.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004349/2.373, allocations: 188.7 kB / 0.8454 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/2.373, allocations: 11.58 kB / 0.8454 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006937/2.374, allocations: 23.97 kB / 0.8454 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.658e-05/2.374, allocations: 34.98 kB / 0.8455 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.033e-05/2.374, allocations: 20.33 kB / 0.8455 GB, free: 122.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008723/2.375, allocations: 431.3 kB / 0.8459 GB, free: 122 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.71e-07/2.375, allocations: 0 / 0.8459 GB, free: 122 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001501/2.377, allocations: 214.7 kB / 0.8461 GB, free: 122 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.0008605/2.378, allocations: 332 kB / 0.8464 GB, free: 121.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001347/2.379, allocations: 462.8 kB / 0.8469 GB, free: 121.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/2.379, allocations: 1.281 kB / 0.8469 GB, free: 121.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006129/2.38, allocations: 159 kB / 0.847 GB, free: 121.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002483/2.382, allocations: 267.9 kB / 0.8473 GB, free: 121.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/2.385, allocations: 1.554 MB / 0.8488 GB, free: 121.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/2.386, allocations: 0.9476 MB / 0.8497 GB, free: 120.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/2.386, allocations: 62.22 kB / 0.8498 GB, free: 120.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/2.386, allocations: 0 / 0.8498 GB, free: 120.5 MB / 490.7 MB Notification: Performance of Templates: time 0.02601/2.412, allocations: 12.37 MB / 0.8619 GB, free: 120.2 MB / 490.7 MB