Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadModel(ModelicaTest): time 2.173/2.173, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.912e-05/1.929e-05, allocations: 4 kB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2805, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.349/6.63, allocations: 2.586 GB / 2.936 GB, free: 107.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/6.63, allocations: 83.25 kB / 2.936 GB, free: 107.9 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.028/7.658, allocations: 287 MB / 3.216 GB, free: 38.32 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.47e-06/7.658, allocations: 3.938 kB / 3.216 GB, free: 38.32 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.948e-05/7.658, allocations: 8 kB / 3.216 GB, free: 38.31 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.003736/7.662, allocations: 1.203 MB / 3.218 GB, free: 37.07 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/7.662, allocations: 8.031 kB / 3.218 GB, free: 37.06 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/7.663, allocations: 119.4 kB / 3.218 GB, free: 36.94 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005745/7.664, allocations: 338.5 kB / 3.218 GB, free: 36.57 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.748e-05/7.664, allocations: 20 kB / 3.218 GB, free: 36.55 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/7.664, allocations: 19.94 kB / 3.218 GB, free: 36.54 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004677/7.665, allocations: 209 kB / 3.218 GB, free: 36.33 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/7.665, allocations: 302 kB / 3.219 GB, free: 36 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/7.665, allocations: 3.938 kB / 3.219 GB, free: 35.99 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/7.665, allocations: 3.984 kB / 3.219 GB, free: 35.99 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/7.665, allocations: 11.94 kB / 3.219 GB, free: 35.98 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/7.667, allocations: 2.203 MB / 3.221 GB, free: 33.59 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/7.668, allocations: 110.5 kB / 3.221 GB, free: 33.47 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.469e-05/7.668, allocations: 48.84 kB / 3.221 GB, free: 33.42 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004053/7.668, allocations: 489.3 kB / 3.221 GB, free: 32.85 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/7.668, allocations: 38.5 kB / 3.221 GB, free: 32.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=12): time 2.757e-06/7.668, allocations: 0 / 3.221 GB, free: 32.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009445/7.669, allocations: 237.5 kB / 3.222 GB, free: 32.57 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/7.669, allocations: 106.8 kB / 3.222 GB, free: 32.44 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/7.67, allocations: 230.2 kB / 3.222 GB, free: 32.21 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/7.67, allocations: 29.7 kB / 3.222 GB, free: 32.17 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/7.67, allocations: 273.9 kB / 3.222 GB, free: 31.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/7.67, allocations: 47.39 kB / 3.222 GB, free: 31.86 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.24e-05/7.67, allocations: 0 / 3.222 GB, free: 31.86 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.48e-05/7.67, allocations: 314.8 kB / 3.223 GB, free: 31.54 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.68e-05/7.67, allocations: 43.98 kB / 3.223 GB, free: 31.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/7.67, allocations: 187.4 kB / 3.223 GB, free: 31.25 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/7.67, allocations: 87.88 kB / 3.223 GB, free: 31.16 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/7.67, allocations: 4 kB / 3.223 GB, free: 31.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000556/7.671, allocations: 233.4 kB / 3.223 GB, free: 30.92 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/7.671, allocations: 4 kB / 3.223 GB, free: 30.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.436e-06/7.671, allocations: 4 kB / 3.223 GB, free: 30.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/7.671, allocations: 8 kB / 3.223 GB, free: 30.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/7.671, allocations: 75.89 kB / 3.223 GB, free: 30.83 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.609e-06/7.671, allocations: 8.281 kB / 3.223 GB, free: 30.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003282/7.672, allocations: 43.73 kB / 3.223 GB, free: 30.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/7.672, allocations: 15.98 kB / 3.223 GB, free: 30.77 MB / 474.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 () * 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 8.005e-05/7.672, allocations: 120.8 kB / 3.223 GB, free: 30.64 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-05/7.672, allocations: 27.62 kB / 3.223 GB, free: 30.61 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008583/7.673, allocations: 0.6309 MB / 3.224 GB, free: 29.97 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/7.673, allocations: 11.98 kB / 3.224 GB, free: 29.96 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/7.673, allocations: 0 / 3.224 GB, free: 29.96 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.767e-06/7.673, allocations: 0 / 3.224 GB, free: 29.96 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000467/7.673, allocations: 427.2 kB / 3.225 GB, free: 29.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.841e-06/7.673, allocations: 0 / 3.225 GB, free: 29.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/7.674, allocations: 51.95 kB / 3.225 GB, free: 29.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.538e-06/7.674, allocations: 7.953 kB / 3.225 GB, free: 29.45 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/7.674, allocations: 0 / 3.225 GB, free: 29.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.351e-06/7.674, allocations: 4 kB / 3.225 GB, free: 29.45 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.119e-06/7.674, allocations: 0 / 3.225 GB, free: 29.45 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/7.674, allocations: 381.8 kB / 3.225 GB, free: 29.06 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.289e-05/7.674, allocations: 144.5 kB / 3.225 GB, free: 28.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.11e-05/7.674, allocations: 11.89 kB / 3.225 GB, free: 28.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/7.675, allocations: 23.89 kB / 3.225 GB, free: 28.86 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/7.675, allocations: 15.97 kB / 3.225 GB, free: 28.85 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/7.675, allocations: 8 kB / 3.225 GB, free: 28.84 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002078/7.675, allocations: 204.6 kB / 3.225 GB, free: 28.64 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.47e-07/7.675, allocations: 4 kB / 3.225 GB, free: 28.63 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003402/7.678, allocations: 0.8429 MB / 3.226 GB, free: 27.79 MB / 474.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 () * 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.005963/7.684, allocations: 1.36 MB / 3.227 GB, free: 26.52 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004188/7.685, allocations: 179.8 kB / 3.228 GB, free: 26.35 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.775e-06/7.685, allocations: 0 / 3.228 GB, free: 26.35 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001666/7.685, allocations: 137 kB / 3.228 GB, free: 26.21 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008004/7.686, allocations: 119.8 kB / 3.228 GB, free: 26.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4252/8.111, allocations: 53.83 MB / 3.28 GB, free: 61.41 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/8.111, allocations: 0.8306 MB / 3.281 GB, free: 60.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/8.112, allocations: 32.69 kB / 3.281 GB, free: 60.7 MB / 474.7 MB Notification: Performance of SimCode: time 2.472e-06/8.112, allocations: 0 / 3.281 GB, free: 60.7 MB / 474.7 MB Notification: Performance of Templates: time 0.03771/8.149, allocations: 22.48 MB / 3.303 GB, free: 58.82 MB / 474.7 MB