Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.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.587/2.587, allocations: 234.9 MB / 251.1 MB, free: 10.52 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004267/0.0004269, allocations: 8 kB / 314.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4063, allocations: 54.87 MB / 369.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.949/8.355, allocations: 2.587 GB / 2.948 GB, free: 111.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/8.355, allocations: 93.75 kB / 2.948 GB, free: 111.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.352/9.707, allocations: 291.1 MB / 3.233 GB, free: 26.47 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.953e-06/9.707, allocations: 0 / 3.233 GB, free: 26.47 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.048e-05/9.707, allocations: 8 kB / 3.233 GB, free: 26.46 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.005382/9.713, allocations: 1.235 MB / 3.234 GB, free: 25.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/9.713, allocations: 8.031 kB / 3.234 GB, free: 25.17 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/9.714, allocations: 123.4 kB / 3.234 GB, free: 25.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008005/9.715, allocations: 354.6 kB / 3.234 GB, free: 24.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.478e-05/9.715, allocations: 20.56 kB / 3.234 GB, free: 24.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.186e-05/9.715, allocations: 27.95 kB / 3.234 GB, free: 24.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/9.717, allocations: 462.9 kB / 3.235 GB, free: 24.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/9.717, allocations: 0 / 3.235 GB, free: 24.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.933e-05/9.717, allocations: 12 kB / 3.235 GB, free: 24.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/9.717, allocations: 8 kB / 3.235 GB, free: 24.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001795/9.719, allocations: 397.2 kB / 3.235 GB, free: 23.72 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003037/9.722, allocations: 2.262 MB / 3.237 GB, free: 21.24 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/9.723, allocations: 250.4 kB / 3.238 GB, free: 20.99 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005432/9.724, allocations: 485.4 kB / 3.238 GB, free: 20.42 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/9.724, allocations: 42.5 kB / 3.238 GB, free: 20.37 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 3.116e-06/9.724, allocations: 0 / 3.238 GB, free: 20.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=12): time 0.002219/9.726, allocations: 425.2 kB / 3.239 GB, free: 19.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/9.726, allocations: 110.8 kB / 3.239 GB, free: 19.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003944/9.726, allocations: 271.3 kB / 3.239 GB, free: 19.54 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/9.727, allocations: 29.7 kB / 3.239 GB, free: 19.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/9.727, allocations: 277.7 kB / 3.239 GB, free: 19.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.138e-05/9.727, allocations: 43.44 kB / 3.239 GB, free: 19.18 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.68e-05/9.727, allocations: 8 kB / 3.239 GB, free: 19.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.948e-05/9.727, allocations: 322.8 kB / 3.24 GB, free: 18.85 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/9.727, allocations: 75.95 kB / 3.24 GB, free: 18.78 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/9.728, allocations: 223.3 kB / 3.24 GB, free: 18.49 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004203/9.728, allocations: 113.1 kB / 3.24 GB, free: 18.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/9.728, allocations: 4 kB / 3.24 GB, free: 18.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001017/9.729, allocations: 309.1 kB / 3.24 GB, free: 18.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/9.729, allocations: 11.98 kB / 3.24 GB, free: 18.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/9.729, allocations: 4 kB / 3.24 GB, free: 18.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.211e-05/9.729, allocations: 8 kB / 3.24 GB, free: 18.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/9.73, allocations: 72.34 kB / 3.24 GB, free: 17.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/9.73, allocations: 15.92 kB / 3.24 GB, free: 17.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004297/9.73, allocations: 47.67 kB / 3.24 GB, free: 17.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/9.73, allocations: 16 kB / 3.241 GB, free: 17.9 MB / 490.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.0002341/9.73, allocations: 158.2 kB / 3.241 GB, free: 17.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.74e-05/9.731, allocations: 27.62 kB / 3.241 GB, free: 17.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/9.732, allocations: 0.6778 MB / 3.241 GB, free: 17.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/9.732, allocations: 11.98 kB / 3.241 GB, free: 17.01 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/9.732, allocations: 0 / 3.241 GB, free: 17.01 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/9.732, allocations: 3.938 kB / 3.241 GB, free: 17.01 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006768/9.733, allocations: 486.7 kB / 3.242 GB, free: 16.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/9.733, allocations: 0 / 3.242 GB, free: 16.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/9.733, allocations: 47.91 kB / 3.242 GB, free: 16.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/9.733, allocations: 0 / 3.242 GB, free: 16.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/9.733, allocations: 8 kB / 3.242 GB, free: 16.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/9.733, allocations: 3.984 kB / 3.242 GB, free: 16.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/9.733, allocations: 4 kB / 3.242 GB, free: 16.42 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008778/9.734, allocations: 457.7 kB / 3.242 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/9.734, allocations: 136.4 kB / 3.242 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.19e-05/9.734, allocations: 8 kB / 3.242 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/9.735, allocations: 23.88 kB / 3.242 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.842e-05/9.735, allocations: 23.92 kB / 3.243 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/9.735, allocations: 4 kB / 3.243 GB, free: 15.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003207/9.735, allocations: 231.2 kB / 3.243 GB, free: 15.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.81e-07/9.735, allocations: 0 / 3.243 GB, free: 15.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004767/9.74, allocations: 0.8585 MB / 3.244 GB, free: 14.66 MB / 490.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.009201/9.749, allocations: 1.296 MB / 3.245 GB, free: 13.36 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001/9.75, allocations: 264.8 kB / 3.245 GB, free: 13.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/9.75, allocations: 4 kB / 3.245 GB, free: 13.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004197/9.751, allocations: 159.9 kB / 3.245 GB, free: 12.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/9.752, allocations: 119.1 kB / 3.245 GB, free: 12.83 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5558/10.31, allocations: 55.24 MB / 3.299 GB, free: 66.85 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/10.31, allocations: 0.8359 MB / 3.3 GB, free: 66.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/10.31, allocations: 34.03 kB / 3.3 GB, free: 66.14 MB / 490.7 MB Notification: Performance of SimCode: time 9.22e-07/10.31, allocations: 0 / 3.3 GB, free: 66.14 MB / 490.7 MB Notification: Performance of Templates: time 0.04768/10.36, allocations: 22.09 MB / 3.322 GB, free: 63.79 MB / 490.7 MB