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.184/2.184, allocations: 234.9 MB / 250.5 MB, free: 10.45 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004276/0.0004278, allocations: 12 kB / 314.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2752, allocations: 54.88 MB / 369.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03699/0.3122, allocations: 25.28 MB / 394.5 MB, free: 1.473 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02446/0.3367, allocations: 14.87 MB / 409.3 MB, free: 2.566 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004273/0.3372, allocations: 11.88 kB / 409.4 MB, free: 2.555 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000685/0.3379, allocations: 175.2 kB / 409.5 MB, free: 2.383 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006381/0.3385, allocations: 223.3 kB / 409.7 MB, free: 2.164 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01678/0.3553, allocations: 4.722 MB / 414.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.3564, allocations: 0.5198 MB / 415 MB, free: 12.91 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003986/0.3568, allocations: 188.8 kB / 415.2 MB, free: 12.72 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01805/0.3749, allocations: 8.807 MB / 424 MB, free: 3.91 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003946/0.3753, allocations: 163.3 kB / 424.1 MB, free: 3.75 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.11e-05/0.3754, allocations: 12 kB / 424.1 MB, free: 3.738 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01449/0.3899, allocations: 6.157 MB / 430.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.3901, allocations: 67.73 kB / 430.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.3903, allocations: 97.52 kB / 430.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005699/0.396, allocations: 2.561 MB / 433 MB, free: 10.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.931e-06/0.3961, allocations: 0 / 433 MB, free: 10.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3961, allocations: 4 kB / 433 MB, free: 10.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.313e-06/0.3961, allocations: 0 / 433 MB, free: 10.84 MB / 362.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.002575/0.3987, allocations: 0.9782 MB / 434 MB, free: 9.809 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3988, allocations: 12.03 kB / 434 MB, free: 9.797 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001995/0.4008, allocations: 199.4 kB / 434.2 MB, free: 9.602 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006266/0.4014, allocations: 337.3 kB / 434.5 MB, free: 9.234 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.911e-05/0.4015, allocations: 20.56 kB / 434.6 MB, free: 9.211 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.729e-05/0.4016, allocations: 24 kB / 434.6 MB, free: 9.188 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.4032, allocations: 0.4911 MB / 435.1 MB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.4032, allocations: 3.938 kB / 435.1 MB, free: 8.648 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-05/0.4033, allocations: 15.95 kB / 435.1 MB, free: 8.633 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.4033, allocations: 12 kB / 435.1 MB, free: 8.621 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.405, allocations: 437.2 kB / 435.5 MB, free: 8.195 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003355/0.4084, allocations: 2.317 MB / 437.9 MB, free: 5.668 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.4098, allocations: 338.2 kB / 438.2 MB, free: 5.328 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04421/0.4541, allocations: 15.86 MB / 454 MB, free: 3.941 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/0.4541, allocations: 38.56 kB / 454.1 MB, free: 3.895 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 2.966e-06/0.4542, allocations: 0 / 454.1 MB, free: 3.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0024/0.4566, allocations: 0.5203 MB / 454.6 MB, free: 3.367 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.437e-05/0.4567, allocations: 115 kB / 454.7 MB, free: 3.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/0.4571, allocations: 279.2 kB / 455 MB, free: 2.953 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.4571, allocations: 29.7 kB / 455 MB, free: 2.918 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.4574, allocations: 273.9 kB / 455.3 MB, free: 2.648 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.235e-05/0.4574, allocations: 51.2 kB / 455.3 MB, free: 2.598 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/0.4575, allocations: 8 kB / 455.3 MB, free: 2.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.4577, allocations: 322.8 kB / 455.7 MB, free: 2.266 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/0.458, allocations: 92.5 kB / 455.7 MB, free: 2.176 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004522/0.4585, allocations: 243.9 kB / 456 MB, free: 1.871 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003758/0.4589, allocations: 123.9 kB / 456.1 MB, free: 1.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.4589, allocations: 4 kB / 456.1 MB, free: 1.746 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009713/0.4599, allocations: 353.9 kB / 456.5 MB, free: 1.395 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.4599, allocations: 8 kB / 456.5 MB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.4599, allocations: 4.594 kB / 456.5 MB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.46, allocations: 12 kB / 456.5 MB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/0.4603, allocations: 75.89 kB / 456.6 MB, free: 1.297 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-05/0.4604, allocations: 15.92 kB / 456.6 MB, free: 1.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.4607, allocations: 47.67 kB / 456.6 MB, free: 1.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/0.4608, allocations: 20 kB / 456.6 MB, free: 1.215 MB / 378.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.0002327/0.461, allocations: 153.8 kB / 456.8 MB, free: 1.055 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.93e-05/0.4611, allocations: 31.58 kB / 456.8 MB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/0.4628, allocations: 0.9715 MB / 457.8 MB, free: 48 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/0.4629, allocations: 7.984 kB / 457.8 MB, free: 40 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.653e-06/0.4629, allocations: 4 kB / 457.8 MB, free: 36 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.362e-06/0.4629, allocations: 0 / 457.8 MB, free: 36 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008683/0.4638, allocations: 0.5699 MB / 458.4 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.713e-06/0.4638, allocations: 0 / 458.4 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.4641, allocations: 55.95 kB / 458.4 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.717e-06/0.4641, allocations: 3.953 kB / 458.4 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.4641, allocations: 8 kB / 458.4 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.1e-06/0.4642, allocations: 3.938 kB / 458.4 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4642, allocations: 0 / 458.4 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009936/0.4652, allocations: 0.5417 MB / 459 MB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.4654, allocations: 156.3 kB / 459.1 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.476e-05/0.4654, allocations: 3.953 kB / 459.1 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.4657, allocations: 27.89 kB / 459.2 MB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.22e-05/0.4658, allocations: 19.97 kB / 459.2 MB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.4658, allocations: 4 kB / 459.2 MB, free: 14.56 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003366/0.4662, allocations: 235.2 kB / 459.4 MB, free: 14.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.87e-07/0.4662, allocations: 0 / 459.4 MB, free: 14.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002593/0.4688, allocations: 0.8393 MB / 460.3 MB, free: 13.48 MB / 394.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.004581/0.4734, allocations: 0.9962 MB / 461.3 MB, free: 12.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009766/0.4744, allocations: 337.4 kB / 461.6 MB, free: 12.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.064e-06/0.4744, allocations: 0 / 461.6 MB, free: 12.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004458/0.4749, allocations: 220.9 kB / 461.8 MB, free: 11.95 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009081/0.4758, allocations: 137.8 kB / 461.9 MB, free: 11.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.4778, allocations: 1.155 MB / 463.1 MB, free: 10.62 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006031/0.4784, allocations: 0.8515 MB / 463.9 MB, free: 9.742 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.4785, allocations: 31.44 kB / 464 MB, free: 9.711 MB / 394.7 MB Notification: Performance of SimCode: time 2.045e-06/0.4785, allocations: 0 / 464 MB, free: 9.711 MB / 394.7 MB Notification: Performance of Templates: time 0.2827/0.7612, allocations: 22.2 MB / 486.2 MB, free: 88.95 MB / 394.7 MB