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.TestSpecificEntropy.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.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadModel(ModelicaTest): time 2.221/2.221, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.539e-05/2.552e-05, allocations: 0 / 309.7 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3177, allocations: 54.87 MB / 364.5 MB, free: 5.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.772/6.09, allocations: 2.588 GB / 2.944 GB, free: 12.05 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/6.09, allocations: 84.14 kB / 2.944 GB, free: 12.01 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.388/7.477, allocations: 312 MB / 3.249 GB, free: 68.04 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.959e-06/7.477, allocations: 0 / 3.249 GB, free: 68.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.389e-05/7.477, allocations: 7.25 kB / 3.249 GB, free: 68.04 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.003996/7.481, allocations: 1.313 MB / 3.25 GB, free: 67.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/7.482, allocations: 11.59 kB / 3.25 GB, free: 67.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/7.484, allocations: 203.5 kB / 3.25 GB, free: 67.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00059/7.484, allocations: 360.5 kB / 3.25 GB, free: 66.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.982e-05/7.484, allocations: 23.22 kB / 3.25 GB, free: 66.94 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.845e-05/7.484, allocations: 30.19 kB / 3.25 GB, free: 66.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/7.486, allocations: 479.2 kB / 3.251 GB, free: 66.69 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/7.486, allocations: 6.469 kB / 3.251 GB, free: 66.69 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.601e-05/7.486, allocations: 12.34 kB / 3.251 GB, free: 66.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.886e-06/7.486, allocations: 5.656 kB / 3.251 GB, free: 66.68 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/7.487, allocations: 376.8 kB / 3.251 GB, free: 66.58 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002306/7.489, allocations: 2.293 MB / 3.253 GB, free: 64.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009456/7.49, allocations: 280.7 kB / 3.254 GB, free: 64.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/7.49, allocations: 65.48 kB / 3.254 GB, free: 64.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04136/7.532, allocations: 15.75 MB / 3.269 GB, free: 56.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/7.532, allocations: 34.5 kB / 3.269 GB, free: 56.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 3.374e-06/7.532, allocations: 0 / 3.269 GB, free: 56.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.001663/7.533, allocations: 420 kB / 3.27 GB, free: 56.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/7.533, allocations: 106.8 kB / 3.27 GB, free: 56.11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002899/7.534, allocations: 240 kB / 3.27 GB, free: 55.97 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/7.534, allocations: 33.11 kB / 3.27 GB, free: 55.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/7.534, allocations: 275.8 kB / 3.27 GB, free: 55.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/7.534, allocations: 52.73 kB / 3.27 GB, free: 55.64 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.575e-05/7.534, allocations: 4 kB / 3.27 GB, free: 55.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.632e-05/7.534, allocations: 322.4 kB / 3.271 GB, free: 55.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/7.534, allocations: 52.98 kB / 3.271 GB, free: 55.31 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/7.534, allocations: 200.4 kB / 3.271 GB, free: 55.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/7.535, allocations: 76.8 kB / 3.271 GB, free: 55.08 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.234e-06/7.535, allocations: 0 / 3.271 GB, free: 55.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005383/7.535, allocations: 274.7 kB / 3.271 GB, free: 54.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/7.535, allocations: 7.75 kB / 3.271 GB, free: 54.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/7.535, allocations: 3.812 kB / 3.271 GB, free: 54.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/7.535, allocations: 7.812 kB / 3.271 GB, free: 54.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/7.536, allocations: 83.09 kB / 3.271 GB, free: 54.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/7.536, allocations: 11.16 kB / 3.271 GB, free: 54.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003629/7.536, allocations: 49.44 kB / 3.271 GB, free: 54.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/7.536, allocations: 23.11 kB / 3.271 GB, free: 54.92 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.271e-05/7.536, allocations: 124.5 kB / 3.272 GB, free: 54.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.413e-05/7.536, allocations: 23.28 kB / 3.272 GB, free: 54.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/7.537, allocations: 0.884 MB / 3.272 GB, free: 54.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/7.537, allocations: 17.69 kB / 3.272 GB, free: 54.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.165e-06/7.537, allocations: 0 / 3.272 GB, free: 54.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/7.537, allocations: 3.938 kB / 3.272 GB, free: 54.33 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006214/7.538, allocations: 0.573 MB / 3.273 GB, free: 53.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.43e-06/7.538, allocations: 3.938 kB / 3.273 GB, free: 53.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/7.538, allocations: 52.14 kB / 3.273 GB, free: 53.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.486e-06/7.538, allocations: 0 / 3.273 GB, free: 53.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/7.538, allocations: 7.516 kB / 3.273 GB, free: 53.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.665e-06/7.538, allocations: 3.812 kB / 3.273 GB, free: 53.94 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.892e-06/7.538, allocations: 0 / 3.273 GB, free: 53.94 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005322/7.539, allocations: 474.6 kB / 3.273 GB, free: 53.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/7.539, allocations: 157.9 kB / 3.274 GB, free: 53.51 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.847e-05/7.539, allocations: 0 / 3.274 GB, free: 53.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/7.539, allocations: 34.31 kB / 3.274 GB, free: 53.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.34e-05/7.539, allocations: 14.67 kB / 3.274 GB, free: 53.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/7.539, allocations: 7.906 kB / 3.274 GB, free: 53.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002381/7.54, allocations: 220.1 kB / 3.274 GB, free: 53.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.56e-07/7.54, allocations: 0 / 3.274 GB, free: 53.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003429/7.543, allocations: 0.8649 MB / 3.275 GB, free: 53.21 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: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.004795/7.548, allocations: 1.293 MB / 3.276 GB, free: 52.89 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00054/7.549, allocations: 255.6 kB / 3.276 GB, free: 52.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.803e-06/7.549, allocations: 3.625 kB / 3.276 GB, free: 52.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002198/7.549, allocations: 176.9 kB / 3.276 GB, free: 52.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008193/7.55, allocations: 131.6 kB / 3.277 GB, free: 52.67 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1291/7.679, allocations: 54.82 MB / 3.33 GB, free: 12.59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/7.679, allocations: 0.8477 MB / 3.331 GB, free: 11.71 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.884e-05/7.679, allocations: 39.36 kB / 3.331 GB, free: 11.67 MB / 490.7 MB Notification: Performance of SimCode: time 1.742e-06/7.679, allocations: 0 / 3.331 GB, free: 11.67 MB / 490.7 MB Notification: Performance of Templates: time 0.3183/7.997, allocations: 22.18 MB / 3.353 GB, free: 58.85 MB / 490.7 MB