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.TestSpecificEntropy.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadModel(ModelicaTest): time 1.933/1.933, allocations: 209.4 MB / 217.3 MB, free: 4.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.877e-05/1.892e-05, allocations: 4 kB / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.263, allocations: 48.68 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.837/6.1, allocations: 2.476 GB / 2.789 GB, free: 32.29 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/6.1, allocations: 83.2 kB / 2.789 GB, free: 32.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.327/7.427, allocations: 300.5 MB / 3.082 GB, free: 53.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.161e-06/7.427, allocations: 0 / 3.082 GB, free: 53.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.43e-05/7.427, allocations: 7.219 kB / 3.082 GB, free: 53.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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.004229/7.431, allocations: 1.297 MB / 3.084 GB, free: 52.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/7.431, allocations: 10.28 kB / 3.084 GB, free: 52.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/7.433, allocations: 181.2 kB / 3.084 GB, free: 52.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006334/7.434, allocations: 361.2 kB / 3.084 GB, free: 52.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/7.434, allocations: 14.47 kB / 3.084 GB, free: 52.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/7.434, allocations: 15 kB / 3.084 GB, free: 52.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005134/7.435, allocations: 232.8 kB / 3.084 GB, free: 52.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005304/7.435, allocations: 314.4 kB / 3.085 GB, free: 52.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/7.435, allocations: 11.77 kB / 3.085 GB, free: 52.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.026e-05/7.435, allocations: 0 / 3.085 GB, free: 52.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/7.435, allocations: 7.812 kB / 3.085 GB, free: 52.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002306/7.437, allocations: 2.231 MB / 3.087 GB, free: 50.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005376/7.438, allocations: 135 kB / 3.087 GB, free: 50.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/7.438, allocations: 50.88 kB / 3.087 GB, free: 50.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04074/7.479, allocations: 15.77 MB / 3.103 GB, free: 41.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/7.479, allocations: 30.56 kB / 3.103 GB, free: 41.01 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 3.333e-06/7.479, allocations: 4 kB / 3.103 GB, free: 41 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.001223/7.48, allocations: 295.7 kB / 3.103 GB, free: 40.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/7.48, allocations: 102.8 kB / 3.103 GB, free: 40.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/7.481, allocations: 235.4 kB / 3.103 GB, free: 40.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/7.481, allocations: 25.7 kB / 3.103 GB, free: 40.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/7.481, allocations: 279.8 kB / 3.103 GB, free: 40.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.274e-05/7.481, allocations: 49.66 kB / 3.103 GB, free: 40.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.342e-05/7.481, allocations: 0 / 3.103 GB, free: 40.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.609e-05/7.481, allocations: 318.2 kB / 3.104 GB, free: 39.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/7.481, allocations: 51.83 kB / 3.104 GB, free: 39.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/7.481, allocations: 183.6 kB / 3.104 GB, free: 39.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/7.482, allocations: 102.5 kB / 3.104 GB, free: 39.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.83e-06/7.482, allocations: 0 / 3.104 GB, free: 39.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006843/7.482, allocations: 251.9 kB / 3.104 GB, free: 39.17 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/7.482, allocations: 11.95 kB / 3.104 GB, free: 39.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.882e-06/7.482, allocations: 4 kB / 3.104 GB, free: 39.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/7.482, allocations: 8 kB / 3.104 GB, free: 39.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/7.483, allocations: 73.92 kB / 3.104 GB, free: 39.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/7.483, allocations: 11.38 kB / 3.104 GB, free: 39.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003648/7.483, allocations: 47.27 kB / 3.105 GB, free: 39.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/7.483, allocations: 20 kB / 3.105 GB, free: 39.02 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 (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 9.057e-05/7.483, allocations: 119.5 kB / 3.105 GB, free: 38.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.992e-05/7.483, allocations: 23.72 kB / 3.105 GB, free: 38.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/7.485, allocations: 0.9028 MB / 3.106 GB, free: 38.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/7.485, allocations: 15.31 kB / 3.106 GB, free: 38.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/7.485, allocations: 0 / 3.106 GB, free: 38.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.267e-06/7.485, allocations: 0 / 3.106 GB, free: 38.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006253/7.485, allocations: 0.51 MB / 3.106 GB, free: 37.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.754e-06/7.485, allocations: 0 / 3.106 GB, free: 37.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/7.486, allocations: 58.72 kB / 3.106 GB, free: 37.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.812e-06/7.486, allocations: 2.188 kB / 3.106 GB, free: 37.51 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/7.486, allocations: 0 / 3.106 GB, free: 37.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.851e-06/7.486, allocations: 0 / 3.106 GB, free: 37.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.919e-06/7.486, allocations: 3.953 kB / 3.106 GB, free: 37.51 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006548/7.486, allocations: 482.2 kB / 3.107 GB, free: 37.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/7.487, allocations: 158 kB / 3.107 GB, free: 36.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.379e-05/7.487, allocations: 4 kB / 3.107 GB, free: 36.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/7.487, allocations: 17.53 kB / 3.107 GB, free: 36.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.777e-05/7.487, allocations: 23.12 kB / 3.107 GB, free: 36.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/7.487, allocations: 4 kB / 3.107 GB, free: 36.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002412/7.487, allocations: 214.2 kB / 3.107 GB, free: 36.67 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.77e-07/7.487, allocations: 0 / 3.107 GB, free: 36.67 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003369/7.491, allocations: 0.8441 MB / 3.108 GB, free: 35.85 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: 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.005659/7.496, allocations: 1.366 MB / 3.109 GB, free: 34.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004976/7.497, allocations: 232.9 kB / 3.109 GB, free: 34.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.672e-06/7.497, allocations: 0 / 3.109 GB, free: 34.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002276/7.497, allocations: 172.1 kB / 3.11 GB, free: 34.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008314/7.498, allocations: 135.2 kB / 3.11 GB, free: 34.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3955/7.893, allocations: 53.92 MB / 3.162 GB, free: 64.12 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/7.894, allocations: 0.8504 MB / 3.163 GB, free: 63.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/7.894, allocations: 33.59 kB / 3.163 GB, free: 63.42 MB / 442.7 MB Notification: Performance of SimCode: time 1.762e-06/7.894, allocations: 1.75 kB / 3.163 GB, free: 63.42 MB / 442.7 MB Notification: Performance of Templates: time 0.03805/7.932, allocations: 22.69 MB / 3.185 GB, free: 62.47 MB / 442.7 MB