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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.267/2.267, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004363/0.0004364, allocations: 16 kB / 314.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2726, allocations: 54.85 MB / 369.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.014/6.287, allocations: 2.587 GB / 2.948 GB, free: 122.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/6.287, allocations: 89.7 kB / 2.948 GB, free: 122.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.06/7.347, allocations: 291.1 MB / 3.232 GB, free: 40.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.481e-06/7.348, allocations: 0 / 3.232 GB, free: 40.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.512e-05/7.348, allocations: 12 kB / 3.232 GB, free: 40.78 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.003945/7.352, allocations: 1.24 MB / 3.233 GB, free: 39.49 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/7.352, allocations: 8.031 kB / 3.233 GB, free: 39.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/7.353, allocations: 123.4 kB / 3.234 GB, free: 39.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005445/7.353, allocations: 338.7 kB / 3.234 GB, free: 38.99 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/7.353, allocations: 24.56 kB / 3.234 GB, free: 38.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.635e-05/7.353, allocations: 27.89 kB / 3.234 GB, free: 38.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/7.355, allocations: 462.9 kB / 3.234 GB, free: 38.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/7.355, allocations: 0 / 3.234 GB, free: 38.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.557e-05/7.355, allocations: 12 kB / 3.234 GB, free: 38.43 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.994e-06/7.355, allocations: 8 kB / 3.234 GB, free: 38.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/7.356, allocations: 397.3 kB / 3.235 GB, free: 38.04 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002338/7.358, allocations: 2.262 MB / 3.237 GB, free: 35.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009662/7.359, allocations: 254.3 kB / 3.237 GB, free: 35.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003941/7.36, allocations: 489.4 kB / 3.238 GB, free: 34.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/7.36, allocations: 38.56 kB / 3.238 GB, free: 34.69 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 2.764e-06/7.36, allocations: 0 / 3.238 GB, free: 34.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=12): time 0.001645/7.362, allocations: 433.2 kB / 3.238 GB, free: 34.26 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/7.362, allocations: 102.8 kB / 3.238 GB, free: 34.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/7.362, allocations: 234.4 kB / 3.238 GB, free: 33.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/7.362, allocations: 33.7 kB / 3.238 GB, free: 33.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/7.362, allocations: 277.7 kB / 3.239 GB, free: 33.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/7.362, allocations: 39.45 kB / 3.239 GB, free: 33.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.372e-05/7.362, allocations: 4 kB / 3.239 GB, free: 33.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.754e-05/7.362, allocations: 326.8 kB / 3.239 GB, free: 33.21 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002534/7.362, allocations: 87.94 kB / 3.239 GB, free: 33.13 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/7.363, allocations: 215.3 kB / 3.239 GB, free: 32.85 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/7.363, allocations: 107.9 kB / 3.239 GB, free: 32.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/7.363, allocations: 0 / 3.239 GB, free: 32.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007344/7.364, allocations: 317 kB / 3.24 GB, free: 32.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/7.364, allocations: 7.938 kB / 3.24 GB, free: 32.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.12e-06/7.364, allocations: 4 kB / 3.24 GB, free: 32.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/7.364, allocations: 8 kB / 3.24 GB, free: 32.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/7.364, allocations: 76.48 kB / 3.24 GB, free: 32.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/7.364, allocations: 4 kB / 3.24 GB, free: 32.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003302/7.365, allocations: 47.67 kB / 3.24 GB, free: 32.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/7.365, allocations: 16 kB / 3.24 GB, free: 32.27 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.000186/7.365, allocations: 170.1 kB / 3.24 GB, free: 32.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.493e-05/7.365, allocations: 27.62 kB / 3.24 GB, free: 32.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/7.366, allocations: 0.6777 MB / 3.241 GB, free: 31.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/7.366, allocations: 7.984 kB / 3.241 GB, free: 31.37 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/7.366, allocations: 4 kB / 3.241 GB, free: 31.37 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.808e-06/7.366, allocations: 4 kB / 3.241 GB, free: 31.36 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005061/7.367, allocations: 482.7 kB / 3.241 GB, free: 30.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.841e-06/7.367, allocations: 0 / 3.241 GB, free: 30.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/7.367, allocations: 55.89 kB / 3.241 GB, free: 30.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.957e-06/7.367, allocations: 0 / 3.241 GB, free: 30.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/7.367, allocations: 7.938 kB / 3.241 GB, free: 30.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.074e-06/7.367, allocations: 4 kB / 3.241 GB, free: 30.78 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/7.367, allocations: 0 / 3.241 GB, free: 30.78 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006258/7.367, allocations: 449.8 kB / 3.242 GB, free: 30.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.101e-05/7.368, allocations: 140.4 kB / 3.242 GB, free: 30.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.502e-05/7.368, allocations: 8 kB / 3.242 GB, free: 30.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/7.368, allocations: 27.83 kB / 3.242 GB, free: 30.13 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.025e-05/7.368, allocations: 19.97 kB / 3.242 GB, free: 30.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/7.368, allocations: 4 kB / 3.242 GB, free: 30.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002495/7.368, allocations: 227.2 kB / 3.242 GB, free: 29.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.46e-07/7.368, allocations: 0 / 3.242 GB, free: 29.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003407/7.372, allocations: 0.8585 MB / 3.243 GB, free: 29.02 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.005997/7.378, allocations: 1.301 MB / 3.244 GB, free: 27.72 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007576/7.379, allocations: 264.8 kB / 3.245 GB, free: 27.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.151e-06/7.379, allocations: 0 / 3.245 GB, free: 27.46 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002857/7.379, allocations: 163.9 kB / 3.245 GB, free: 27.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007922/7.38, allocations: 123.9 kB / 3.245 GB, free: 27.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4224/7.802, allocations: 55.25 MB / 3.299 GB, free: 67.65 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/7.802, allocations: 0.8307 MB / 3.3 GB, free: 66.95 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/7.803, allocations: 32.94 kB / 3.3 GB, free: 66.95 MB / 490.7 MB Notification: Performance of SimCode: time 1.651e-06/7.803, allocations: 0 / 3.3 GB, free: 66.95 MB / 490.7 MB Notification: Performance of Templates: time 0.03597/7.838, allocations: 22.08 MB / 3.321 GB, free: 65.17 MB / 490.7 MB