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/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.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.801/1.801, allocations: 209.2 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004373/0.0004374, allocations: 8 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2848, allocations: 48.71 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.659/5.944, allocations: 2.477 GB / 2.801 GB, free: 63.32 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/5.944, allocations: 87.95 kB / 2.801 GB, free: 63.23 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.29/7.234, allocations: 304.9 MB / 3.098 GB, free: 47.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.758e-06/7.234, allocations: 3.938 kB / 3.098 GB, free: 47.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.677e-05/7.234, allocations: 11.64 kB / 3.098 GB, free: 47.16 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.003972/7.238, allocations: 1.324 MB / 3.1 GB, free: 46.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/7.238, allocations: 13.11 kB / 3.1 GB, free: 46.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/7.24, allocations: 188.4 kB / 3.1 GB, free: 46.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005909/7.241, allocations: 352.6 kB / 3.1 GB, free: 46.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.148e-05/7.241, allocations: 25.03 kB / 3.1 GB, free: 46.06 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.938e-05/7.241, allocations: 26.83 kB / 3.1 GB, free: 46.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/7.242, allocations: 499.2 kB / 3.101 GB, free: 45.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/7.243, allocations: 3.938 kB / 3.101 GB, free: 45.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.631e-05/7.243, allocations: 12.25 kB / 3.101 GB, free: 45.81 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.627e-06/7.243, allocations: 7.703 kB / 3.101 GB, free: 45.81 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/7.244, allocations: 431.3 kB / 3.101 GB, free: 45.72 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002314/7.246, allocations: 2.292 MB / 3.104 GB, free: 43.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/7.248, allocations: 303 kB / 3.104 GB, free: 43.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03701/7.285, allocations: 15.66 MB / 3.119 GB, free: 35.58 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/7.285, allocations: 34.22 kB / 3.119 GB, free: 35.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 5.283e-06/7.285, allocations: 3.891 kB / 3.119 GB, free: 35.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.002035/7.287, allocations: 0.4925 MB / 3.12 GB, free: 35.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/7.287, allocations: 110.6 kB / 3.12 GB, free: 35.28 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/7.287, allocations: 242 kB / 3.12 GB, free: 35.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/7.287, allocations: 25.7 kB / 3.12 GB, free: 35.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/7.287, allocations: 276.3 kB / 3.12 GB, free: 34.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/7.287, allocations: 49.2 kB / 3.12 GB, free: 34.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/7.287, allocations: 4 kB / 3.12 GB, free: 34.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.656e-05/7.287, allocations: 321.4 kB / 3.121 GB, free: 34.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/7.288, allocations: 91.08 kB / 3.121 GB, free: 34.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003148/7.288, allocations: 225.1 kB / 3.121 GB, free: 34.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/7.288, allocations: 117.2 kB / 3.121 GB, free: 34.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/7.288, allocations: 0 / 3.121 GB, free: 34.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000786/7.289, allocations: 331.6 kB / 3.121 GB, free: 34.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/7.289, allocations: 12.89 kB / 3.121 GB, free: 34.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/7.289, allocations: 7.594 kB / 3.121 GB, free: 34.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/7.289, allocations: 11.09 kB / 3.121 GB, free: 34.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/7.29, allocations: 84.12 kB / 3.121 GB, free: 34.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/7.29, allocations: 9.453 kB / 3.121 GB, free: 34.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003362/7.29, allocations: 49.41 kB / 3.121 GB, free: 34.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/7.29, allocations: 21.59 kB / 3.122 GB, free: 34.05 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 () * Number of clocked 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 0.0001894/7.29, allocations: 169.3 kB / 3.122 GB, free: 33.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.689e-05/7.29, allocations: 24.44 kB / 3.122 GB, free: 33.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/7.292, allocations: 0.9495 MB / 3.123 GB, free: 33.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/7.292, allocations: 17.45 kB / 3.123 GB, free: 33.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.603e-06/7.292, allocations: 0 / 3.123 GB, free: 33.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.867e-06/7.292, allocations: 0 / 3.123 GB, free: 33.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006223/7.292, allocations: 0.5563 MB / 3.123 GB, free: 33.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.046e-06/7.292, allocations: 0 / 3.123 GB, free: 33.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/7.293, allocations: 64.2 kB / 3.123 GB, free: 33.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.686e-06/7.293, allocations: 3.969 kB / 3.123 GB, free: 33.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/7.293, allocations: 0 / 3.123 GB, free: 33.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.116e-06/7.293, allocations: 3.953 kB / 3.123 GB, free: 33.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2e-06/7.293, allocations: 0 / 3.123 GB, free: 33.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007458/7.293, allocations: 0.5322 MB / 3.124 GB, free: 32.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/7.294, allocations: 160 kB / 3.124 GB, free: 32.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.437e-05/7.294, allocations: 7.781 kB / 3.124 GB, free: 32.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/7.294, allocations: 24.5 kB / 3.124 GB, free: 32.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.162e-05/7.294, allocations: 29.53 kB / 3.124 GB, free: 32.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/7.294, allocations: 3.781 kB / 3.124 GB, free: 32.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002597/7.294, allocations: 233.9 kB / 3.124 GB, free: 32.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.526e-06/7.294, allocations: 0 / 3.124 GB, free: 32.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003315/7.298, allocations: 0.8634 MB / 3.125 GB, free: 32.28 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 () * Number of clocked 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.005878/7.304, allocations: 1.284 MB / 3.126 GB, free: 31.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008046/7.304, allocations: 316.8 kB / 3.127 GB, free: 31.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.772e-06/7.304, allocations: 0 / 3.127 GB, free: 31.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003372/7.305, allocations: 212.8 kB / 3.127 GB, free: 31.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008411/7.306, allocations: 126.4 kB / 3.127 GB, free: 31.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1308/7.436, allocations: 55.39 MB / 3.181 GB, free: 11.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/7.437, allocations: 0.8518 MB / 3.182 GB, free: 10.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/7.437, allocations: 31.42 kB / 3.182 GB, free: 10.45 MB / 442.7 MB Notification: Performance of SimCode: time 1.56e-06/7.437, allocations: 0 / 3.182 GB, free: 10.45 MB / 442.7 MB Notification: Performance of Templates: time 0.2997/7.737, allocations: 22.32 MB / 3.204 GB, free: 52.55 MB / 442.7 MB