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.781/1.781, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.483e-05/2.496e-05, allocations: 0 / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08667/0.08673, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.925/6.012, allocations: 2.476 GB / 2.795 GB, free: 119.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/6.012, allocations: 81.19 kB / 2.795 GB, free: 119.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.037/7.049, allocations: 283.5 MB / 3.072 GB, free: 39.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.189e-06/7.049, allocations: 0 / 3.072 GB, free: 39.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.782e-05/7.049, allocations: 12 kB / 3.072 GB, free: 39.69 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.004103/7.053, allocations: 1.181 MB / 3.073 GB, free: 38.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/7.053, allocations: 8.031 kB / 3.073 GB, free: 38.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/7.054, allocations: 119.8 kB / 3.074 GB, free: 38.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006157/7.055, allocations: 345.8 kB / 3.074 GB, free: 37.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.154e-05/7.055, allocations: 28.56 kB / 3.074 GB, free: 37.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/7.055, allocations: 27.98 kB / 3.074 GB, free: 37.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/7.056, allocations: 439 kB / 3.074 GB, free: 37.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/7.056, allocations: 0 / 3.074 GB, free: 37.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.798e-05/7.056, allocations: 12 kB / 3.074 GB, free: 37.42 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.961e-06/7.056, allocations: 11.94 kB / 3.074 GB, free: 37.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009908/7.057, allocations: 329.4 kB / 3.075 GB, free: 37.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/7.06, allocations: 2.263 MB / 3.077 GB, free: 34.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008065/7.061, allocations: 214.4 kB / 3.077 GB, free: 34.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/7.061, allocations: 52.84 kB / 3.077 GB, free: 34.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004068/7.061, allocations: 488.3 kB / 3.078 GB, free: 33.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/7.061, allocations: 34.52 kB / 3.078 GB, free: 33.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 2.987e-06/7.061, allocations: 0 / 3.078 GB, free: 33.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.001246/7.062, allocations: 333.3 kB / 3.078 GB, free: 33.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/7.062, allocations: 106.8 kB / 3.078 GB, free: 33.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/7.063, allocations: 243.3 kB / 3.078 GB, free: 33.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/7.063, allocations: 29.7 kB / 3.078 GB, free: 32.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/7.063, allocations: 277.9 kB / 3.079 GB, free: 32.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/7.063, allocations: 43.44 kB / 3.079 GB, free: 32.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.363e-05/7.063, allocations: 8 kB / 3.079 GB, free: 32.67 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.642e-05/7.063, allocations: 318.8 kB / 3.079 GB, free: 32.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/7.063, allocations: 55.92 kB / 3.079 GB, free: 32.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/7.063, allocations: 182.8 kB / 3.079 GB, free: 32.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/7.064, allocations: 83.86 kB / 3.079 GB, free: 31.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/7.064, allocations: 4 kB / 3.079 GB, free: 31.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004755/7.064, allocations: 245.3 kB / 3.079 GB, free: 31.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/7.064, allocations: 8 kB / 3.08 GB, free: 31.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/7.064, allocations: 7.953 kB / 3.08 GB, free: 31.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/7.064, allocations: 8 kB / 3.08 GB, free: 31.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/7.064, allocations: 72.3 kB / 3.08 GB, free: 31.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/7.064, allocations: 15.94 kB / 3.08 GB, free: 31.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003482/7.065, allocations: 47.67 kB / 3.08 GB, free: 31.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/7.065, allocations: 16 kB / 3.08 GB, free: 31.55 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 () * 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 7.809e-05/7.065, allocations: 112.9 kB / 3.08 GB, free: 31.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.516e-05/7.065, allocations: 23.72 kB / 3.08 GB, free: 31.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007687/7.066, allocations: 0.6436 MB / 3.08 GB, free: 30.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/7.066, allocations: 15.94 kB / 3.08 GB, free: 30.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.431e-06/7.066, allocations: 3.938 kB / 3.08 GB, free: 30.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.355e-06/7.066, allocations: 0 / 3.08 GB, free: 30.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005202/7.066, allocations: 482.7 kB / 3.081 GB, free: 30.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.795e-06/7.066, allocations: 0 / 3.081 GB, free: 30.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/7.067, allocations: 55.95 kB / 3.081 GB, free: 30.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.418e-06/7.067, allocations: 4 kB / 3.081 GB, free: 30.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/7.067, allocations: 0 / 3.081 GB, free: 30.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/7.067, allocations: 0 / 3.081 GB, free: 30.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.629e-06/7.067, allocations: 3.953 kB / 3.081 GB, free: 30.15 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004147/7.067, allocations: 377.9 kB / 3.081 GB, free: 29.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/7.067, allocations: 160.4 kB / 3.081 GB, free: 29.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.094e-05/7.067, allocations: 0 / 3.081 GB, free: 29.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/7.068, allocations: 27.92 kB / 3.082 GB, free: 29.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.742e-05/7.068, allocations: 15.92 kB / 3.082 GB, free: 29.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/7.068, allocations: 4 kB / 3.082 GB, free: 29.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002533/7.068, allocations: 226.2 kB / 3.082 GB, free: 29.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.12e-07/7.068, allocations: 4 kB / 3.082 GB, free: 29.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003626/7.072, allocations: 0.8546 MB / 3.083 GB, free: 28.46 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 () * 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.006865/7.079, allocations: 1.275 MB / 3.084 GB, free: 27.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004709/7.079, allocations: 216.8 kB / 3.084 GB, free: 26.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.29e-06/7.079, allocations: 0 / 3.084 GB, free: 26.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001727/7.079, allocations: 120 kB / 3.084 GB, free: 26.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000819/7.08, allocations: 129.1 kB / 3.084 GB, free: 26.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.391/7.471, allocations: 54.72 MB / 3.138 GB, free: 51.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/7.471, allocations: 0.8305 MB / 3.139 GB, free: 51.24 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.458e-05/7.472, allocations: 33.36 kB / 3.139 GB, free: 51.23 MB / 426.7 MB Notification: Performance of SimCode: time 2.11e-06/7.472, allocations: 2.766 kB / 3.139 GB, free: 51.23 MB / 426.7 MB Notification: Performance of Templates: time 0.03489/7.506, allocations: 21.78 MB / 3.16 GB, free: 49.41 MB / 426.7 MB