Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.889/1.889, allocations: 209.3 MB / 224.9 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004434/0.0004435, allocations: 16 kB / 282.6 MB, free: 9.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2843, allocations: 48.7 MB / 331.3 MB, free: 6.465 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.835/6.119, allocations: 2.477 GB / 2.8 GB, free: 63.58 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/6.119, allocations: 89.5 kB / 2.8 GB, free: 63.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.257/7.376, allocations: 284.3 MB / 3.078 GB, free: 50.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.036e-06/7.376, allocations: 0 / 3.078 GB, free: 50.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.571e-05/7.376, allocations: 6.594 kB / 3.078 GB, free: 50.21 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.003628/7.38, allocations: 1.223 MB / 3.079 GB, free: 49.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/7.38, allocations: 11.31 kB / 3.079 GB, free: 49.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/7.381, allocations: 117.8 kB / 3.079 GB, free: 49.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005519/7.381, allocations: 353.7 kB / 3.079 GB, free: 49.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.816e-05/7.381, allocations: 20.34 kB / 3.079 GB, free: 49.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/7.381, allocations: 25.56 kB / 3.079 GB, free: 49.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/7.383, allocations: 461.5 kB / 3.08 GB, free: 49.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/7.383, allocations: 3.938 kB / 3.08 GB, free: 49.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.382e-05/7.383, allocations: 12.84 kB / 3.08 GB, free: 49.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/7.383, allocations: 7.719 kB / 3.08 GB, free: 49.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/7.384, allocations: 396 kB / 3.08 GB, free: 49.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002299/7.386, allocations: 2.248 MB / 3.082 GB, free: 47.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000952/7.387, allocations: 262.7 kB / 3.083 GB, free: 47.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003862/7.388, allocations: 476.8 kB / 3.083 GB, free: 46.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/7.388, allocations: 42.48 kB / 3.083 GB, free: 46.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 3.355e-06/7.388, allocations: 0 / 3.083 GB, free: 46.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.001669/7.39, allocations: 426.8 kB / 3.084 GB, free: 46.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/7.39, allocations: 105.5 kB / 3.084 GB, free: 46.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/7.39, allocations: 248.7 kB / 3.084 GB, free: 46.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/7.39, allocations: 29.7 kB / 3.084 GB, free: 46.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/7.39, allocations: 275.4 kB / 3.084 GB, free: 45.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/7.39, allocations: 39.27 kB / 3.084 GB, free: 45.87 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.466e-05/7.39, allocations: 7.938 kB / 3.084 GB, free: 45.87 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.778e-05/7.39, allocations: 329.8 kB / 3.085 GB, free: 45.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/7.39, allocations: 78.58 kB / 3.085 GB, free: 45.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/7.391, allocations: 222.9 kB / 3.085 GB, free: 45.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/7.391, allocations: 103.7 kB / 3.085 GB, free: 45.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.982e-06/7.391, allocations: 3.438 kB / 3.085 GB, free: 45.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008242/7.392, allocations: 315.9 kB / 3.085 GB, free: 45.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/7.392, allocations: 7.531 kB / 3.085 GB, free: 45.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/7.392, allocations: 6.062 kB / 3.085 GB, free: 45.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/7.392, allocations: 11.58 kB / 3.085 GB, free: 45.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/7.392, allocations: 80.25 kB / 3.085 GB, free: 45.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/7.392, allocations: 7.719 kB / 3.085 GB, free: 45.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/7.393, allocations: 49.91 kB / 3.085 GB, free: 45.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/7.393, allocations: 14.06 kB / 3.085 GB, free: 45.16 MB / 426.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.0001739/7.393, allocations: 162.6 kB / 3.086 GB, free: 45.01 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.256e-05/7.393, allocations: 26.77 kB / 3.086 GB, free: 45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/7.394, allocations: 0.6893 MB / 3.086 GB, free: 44.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/7.394, allocations: 11.7 kB / 3.086 GB, free: 44.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.577e-06/7.394, allocations: 2.281 kB / 3.086 GB, free: 44.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.842e-06/7.394, allocations: 0 / 3.086 GB, free: 44.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005331/7.395, allocations: 479 kB / 3.087 GB, free: 44.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.413e-06/7.395, allocations: 0 / 3.087 GB, free: 44.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/7.395, allocations: 52.69 kB / 3.087 GB, free: 44.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.68e-06/7.395, allocations: 0 / 3.087 GB, free: 44.35 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/7.395, allocations: 224 / 3.087 GB, free: 44.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.789e-06/7.395, allocations: 0 / 3.087 GB, free: 44.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.427e-06/7.395, allocations: 11.77 kB / 3.087 GB, free: 44.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006862/7.396, allocations: 450.1 kB / 3.087 GB, free: 44.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/7.396, allocations: 156.2 kB / 3.087 GB, free: 43.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.634e-05/7.396, allocations: 0 / 3.087 GB, free: 43.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/7.396, allocations: 26.52 kB / 3.087 GB, free: 43.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/7.396, allocations: 10.86 kB / 3.087 GB, free: 43.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/7.396, allocations: 7.922 kB / 3.088 GB, free: 43.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002608/7.397, allocations: 233.1 kB / 3.088 GB, free: 43.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.4e-07/7.397, allocations: 0 / 3.088 GB, free: 43.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003304/7.4, allocations: 0.8629 MB / 3.089 GB, free: 43.64 MB / 426.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.005642/7.406, allocations: 1.289 MB / 3.09 GB, free: 43.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007213/7.406, allocations: 270.1 kB / 3.09 GB, free: 43.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/7.406, allocations: 2.812 kB / 3.09 GB, free: 43.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002917/7.407, allocations: 156.3 kB / 3.09 GB, free: 43.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008091/7.408, allocations: 121.1 kB / 3.09 GB, free: 43.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1365/7.544, allocations: 55.24 MB / 3.144 GB, free: 28.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/7.544, allocations: 0.8367 MB / 3.145 GB, free: 27.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.551e-05/7.545, allocations: 27.44 kB / 3.145 GB, free: 27.57 MB / 426.7 MB Notification: Performance of SimCode: time 1.805e-06/7.545, allocations: 0 / 3.145 GB, free: 27.57 MB / 426.7 MB Notification: Performance of Templates: time 0.03384/7.578, allocations: 22.01 MB / 3.167 GB, free: 10.83 MB / 426.7 MB