Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadModel(ModelicaTest): time 2.096/2.096, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004465/0.0004469, allocations: 12 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3678, allocations: 48.7 MB / 331.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.221/7.589, allocations: 2.477 GB / 2.801 GB, free: 46.75 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/7.589, allocations: 95.25 kB / 2.801 GB, free: 46.69 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.644/9.233, allocations: 284.3 MB / 3.078 GB, free: 58.74 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.205e-06/9.233, allocations: 0 / 3.078 GB, free: 58.74 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.156e-05/9.233, allocations: 9.781 kB / 3.078 GB, free: 58.74 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.00541/9.238, allocations: 1.222 MB / 3.079 GB, free: 58.1 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/9.238, allocations: 15.17 kB / 3.079 GB, free: 58.1 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/9.24, allocations: 116.2 kB / 3.08 GB, free: 58.08 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007227/9.241, allocations: 355.9 kB / 3.08 GB, free: 57.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.308e-05/9.241, allocations: 18 kB / 3.08 GB, free: 57.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/9.241, allocations: 25.34 kB / 3.08 GB, free: 57.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/9.242, allocations: 463.8 kB / 3.08 GB, free: 57.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/9.242, allocations: 0 / 3.08 GB, free: 57.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.022e-05/9.242, allocations: 11.06 kB / 3.08 GB, free: 57.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/9.242, allocations: 7.531 kB / 3.08 GB, free: 57.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/9.244, allocations: 396.1 kB / 3.081 GB, free: 57.73 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002945/9.247, allocations: 2.248 MB / 3.083 GB, free: 55.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/9.248, allocations: 255.8 kB / 3.083 GB, free: 55.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005251/9.249, allocations: 492.2 kB / 3.084 GB, free: 55.49 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/9.249, allocations: 34.52 kB / 3.084 GB, free: 55.45 MB / 442.7 MB Notification: Performance of pre-optimization done (n=12): time 2.284e-06/9.249, allocations: 0 / 3.084 GB, free: 55.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=12): time 0.002184/9.251, allocations: 433.4 kB / 3.084 GB, free: 55.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/9.251, allocations: 106.3 kB / 3.084 GB, free: 55.28 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/9.252, allocations: 283.5 kB / 3.085 GB, free: 55.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/9.252, allocations: 29.52 kB / 3.085 GB, free: 55.13 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/9.252, allocations: 269.9 kB / 3.085 GB, free: 54.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/9.252, allocations: 43.06 kB / 3.085 GB, free: 54.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.729e-05/9.252, allocations: 6.438 kB / 3.085 GB, free: 54.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.701e-05/9.252, allocations: 322.3 kB / 3.085 GB, free: 54.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003558/9.252, allocations: 79.14 kB / 3.085 GB, free: 54.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004346/9.253, allocations: 221.6 kB / 3.085 GB, free: 54.42 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004468/9.253, allocations: 116.8 kB / 3.086 GB, free: 54.42 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/9.253, allocations: 0 / 3.086 GB, free: 54.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001008/9.254, allocations: 309.8 kB / 3.086 GB, free: 54.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/9.254, allocations: 7.219 kB / 3.086 GB, free: 54.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/9.254, allocations: 7.922 kB / 3.086 GB, free: 54.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.693e-05/9.254, allocations: 11.56 kB / 3.086 GB, free: 54.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004464/9.255, allocations: 76.34 kB / 3.086 GB, free: 54.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/9.255, allocations: 10.56 kB / 3.086 GB, free: 54.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004394/9.255, allocations: 49.11 kB / 3.086 GB, free: 54.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/9.255, allocations: 18.64 kB / 3.086 GB, free: 54.34 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0002313/9.256, allocations: 154.3 kB / 3.086 GB, free: 54.22 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/9.256, allocations: 28.83 kB / 3.086 GB, free: 54.21 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/9.257, allocations: 0.6945 MB / 3.087 GB, free: 54.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/9.257, allocations: 18.36 kB / 3.087 GB, free: 54.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/9.257, allocations: 0 / 3.087 GB, free: 54.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/9.257, allocations: 3.938 kB / 3.087 GB, free: 54.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006617/9.258, allocations: 482.3 kB / 3.087 GB, free: 53.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/9.258, allocations: 0 / 3.087 GB, free: 53.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/9.258, allocations: 43.89 kB / 3.087 GB, free: 53.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/9.258, allocations: 0 / 3.087 GB, free: 53.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/9.258, allocations: 10.48 kB / 3.087 GB, free: 53.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/9.258, allocations: 0 / 3.087 GB, free: 53.88 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/9.258, allocations: 3.953 kB / 3.087 GB, free: 53.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008373/9.259, allocations: 444.5 kB / 3.088 GB, free: 53.71 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/9.259, allocations: 156.8 kB / 3.088 GB, free: 53.58 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.193e-05/9.259, allocations: 3.625 kB / 3.088 GB, free: 53.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/9.26, allocations: 26.59 kB / 3.088 GB, free: 53.58 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.003e-05/9.26, allocations: 23.27 kB / 3.088 GB, free: 53.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/9.26, allocations: 3.969 kB / 3.088 GB, free: 53.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003115/9.26, allocations: 228.3 kB / 3.088 GB, free: 53.49 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.11e-07/9.26, allocations: 1.969 kB / 3.088 GB, free: 53.49 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004641/9.265, allocations: 0.8563 MB / 3.089 GB, free: 53.36 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.008939/9.274, allocations: 1.282 MB / 3.09 GB, free: 53.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001018/9.275, allocations: 264.3 kB / 3.091 GB, free: 53.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/9.275, allocations: 3.906 kB / 3.091 GB, free: 53.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003938/9.275, allocations: 162.3 kB / 3.091 GB, free: 53.09 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/9.277, allocations: 122.1 kB / 3.091 GB, free: 53.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1934/9.47, allocations: 55.25 MB / 3.145 GB, free: 44.12 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/9.47, allocations: 0.8262 MB / 3.146 GB, free: 43.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/9.47, allocations: 35.44 kB / 3.146 GB, free: 43.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/9.47, allocations: 0 / 3.146 GB, free: 43.3 MB / 442.7 MB Notification: Performance of Templates: time 0.04632/9.517, allocations: 22.01 MB / 3.167 GB, free: 28.88 MB / 442.7 MB