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.9/1.9, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004498/0.00045, allocations: 11.98 kB / 282.5 MB, free: 9.625 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2784, allocations: 48.71 MB / 331.2 MB, free: 6.469 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03579/0.3143, allocations: 25.1 MB / 356.3 MB, free: 3.695 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02455/0.3389, allocations: 14.71 MB / 371 MB, free: 6.645 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004909/0.3394, allocations: 15.88 kB / 371 MB, free: 6.629 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006957/0.3401, allocations: 175.1 kB / 371.2 MB, free: 6.457 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006845/0.3408, allocations: 223.3 kB / 371.4 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01751/0.3583, allocations: 4.667 MB / 376.1 MB, free: 1.559 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00108/0.3594, allocations: 0.512 MB / 376.6 MB, free: 1.043 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004089/0.3599, allocations: 192.8 kB / 376.8 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01787/0.3778, allocations: 8.682 MB / 385.5 MB, free: 8.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003776/0.3782, allocations: 163.3 kB / 385.6 MB, free: 8 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.114e-05/0.3783, allocations: 16 kB / 385.6 MB, free: 7.984 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01486/0.3931, allocations: 6.095 MB / 391.7 MB, free: 1.879 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.3933, allocations: 67.73 kB / 391.8 MB, free: 1.812 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.3935, allocations: 93.58 kB / 391.9 MB, free: 1.715 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005798/0.3993, allocations: 2.541 MB / 394.4 MB, free: 15.17 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.268e-06/0.3994, allocations: 0 / 394.4 MB, free: 15.17 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.003e-06/0.3994, allocations: 0 / 394.4 MB, free: 15.17 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.081e-06/0.3994, allocations: 0 / 394.4 MB, free: 15.17 MB / 330.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.002532/0.402, allocations: 0.9783 MB / 395.4 MB, free: 14.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.402, allocations: 8.031 kB / 395.4 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001966/0.404, allocations: 191.3 kB / 395.6 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006221/0.4046, allocations: 341.3 kB / 395.9 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.5e-05/0.4047, allocations: 24.56 kB / 396 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.4048, allocations: 24 kB / 396 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.4064, allocations: 0.4949 MB / 396.5 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.4065, allocations: 0 / 396.5 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.896e-05/0.4065, allocations: 12 kB / 396.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.4065, allocations: 8 kB / 396.5 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.4082, allocations: 437.2 kB / 396.9 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003359/0.4116, allocations: 2.321 MB / 399.3 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.413, allocations: 322.3 kB / 399.6 MB, free: 9.684 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04347/0.4565, allocations: 15.87 MB / 415.4 MB, free: 8.285 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.4566, allocations: 38.5 kB / 415.5 MB, free: 8.238 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 3.243e-06/0.4566, allocations: 0 / 415.5 MB, free: 8.238 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.002395/0.459, allocations: 0.5291 MB / 416 MB, free: 7.703 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.417e-05/0.4591, allocations: 111 kB / 416.1 MB, free: 7.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004122/0.4595, allocations: 275.2 kB / 416.4 MB, free: 7.289 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.4596, allocations: 29.7 kB / 416.4 MB, free: 7.254 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.4598, allocations: 269.8 kB / 416.7 MB, free: 6.988 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.715e-05/0.4599, allocations: 55.28 kB / 416.7 MB, free: 6.934 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.736e-05/0.4599, allocations: 8 kB / 416.7 MB, free: 6.926 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.4601, allocations: 326.8 kB / 417.1 MB, free: 6.598 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003348/0.4604, allocations: 96.48 kB / 417.1 MB, free: 6.504 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004578/0.4609, allocations: 239.9 kB / 417.4 MB, free: 6.203 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/0.4613, allocations: 125.2 kB / 417.5 MB, free: 6.082 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.786e-06/0.4613, allocations: 0 / 417.5 MB, free: 6.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009523/0.4623, allocations: 349.9 kB / 417.8 MB, free: 5.734 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.4623, allocations: 8.781 kB / 417.9 MB, free: 5.727 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.4624, allocations: 4 kB / 417.9 MB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.736e-05/0.4624, allocations: 8 kB / 417.9 MB, free: 5.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.4628, allocations: 79.83 kB / 417.9 MB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.4628, allocations: 8 kB / 418 MB, free: 5.629 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003426/0.4631, allocations: 59.81 kB / 418 MB, free: 5.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.103e-05/0.4632, allocations: 23.92 kB / 418 MB, free: 5.547 MB / 346.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.0002301/0.4634, allocations: 153.7 kB / 418.2 MB, free: 5.387 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.09e-05/0.4635, allocations: 23.72 kB / 418.2 MB, free: 5.363 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.4653, allocations: 0.9638 MB / 419.2 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/0.4653, allocations: 11.98 kB / 419.2 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.483e-06/0.4654, allocations: 4 kB / 419.2 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.4654, allocations: 3.984 kB / 419.2 MB, free: 4.371 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008977/0.4663, allocations: 0.5777 MB / 419.8 MB, free: 3.738 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.168e-06/0.4663, allocations: 0 / 419.8 MB, free: 3.738 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.4666, allocations: 51.89 kB / 419.8 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.872e-06/0.4666, allocations: 7.938 kB / 419.8 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.4666, allocations: 8 kB / 419.8 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.552e-06/0.4666, allocations: 0 / 419.8 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.332e-06/0.4667, allocations: 0 / 419.8 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009896/0.4677, allocations: 0.5378 MB / 420.4 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/0.4679, allocations: 164.3 kB / 420.5 MB, free: 2.941 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.455e-05/0.468, allocations: 12 kB / 420.5 MB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.4683, allocations: 23.98 kB / 420.6 MB, free: 2.906 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.4684, allocations: 15.97 kB / 420.6 MB, free: 2.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.4684, allocations: 4 kB / 420.6 MB, free: 2.887 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003313/0.4687, allocations: 231.2 kB / 420.8 MB, free: 2.664 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.172e-06/0.4688, allocations: 0 / 420.8 MB, free: 2.664 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002522/0.4713, allocations: 0.8392 MB / 421.7 MB, free: 1.824 MB / 346.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.004569/0.4759, allocations: 1.004 MB / 422.7 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000968/0.4769, allocations: 340.6 kB / 423 MB, free: 496 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.685e-06/0.4769, allocations: 0 / 423 MB, free: 496 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004397/0.4773, allocations: 216.4 kB / 423.2 MB, free: 280 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008631/0.4782, allocations: 129.4 kB / 423.3 MB, free: 144 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.4802, allocations: 1.155 MB / 424.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005944/0.4808, allocations: 0.8518 MB / 425.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.481, allocations: 35.42 kB / 425.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of SimCode: time 1.656e-06/0.481, allocations: 0 / 425.4 MB, free: 14.05 MB / 362.7 MB Notification: Performance of Templates: time 0.04328/0.5243, allocations: 22.12 MB / 447.5 MB, free: 7.918 MB / 378.7 MB