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.TestSpecificEnthalpy.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.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadModel(ModelicaTest): time 2.205/2.205, allocations: 234.9 MB / 250.5 MB, free: 10.45 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004397/0.0004399, allocations: 12 kB / 314.3 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2793, allocations: 54.88 MB / 369.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.0375/0.3169, allocations: 25.25 MB / 394.4 MB, free: 1.52 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02194/0.3389, allocations: 13.17 MB / 407.6 MB, free: 4.32 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004487/0.3393, allocations: 15.88 kB / 407.6 MB, free: 4.305 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007092/0.3401, allocations: 175.2 kB / 407.8 MB, free: 4.133 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006249/0.3407, allocations: 219.3 kB / 408 MB, free: 3.918 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01582/0.3566, allocations: 4.367 MB / 412.4 MB, free: 15.54 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.3576, allocations: 0.5042 MB / 412.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003946/0.3581, allocations: 180.8 kB / 413.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01848/0.3766, allocations: 8.818 MB / 421.9 MB, free: 6.035 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003616/0.377, allocations: 151.3 kB / 422 MB, free: 5.887 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.006e-05/0.377, allocations: 16 kB / 422 MB, free: 5.871 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01384/0.3909, allocations: 5.923 MB / 428 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.3911, allocations: 63.8 kB / 428 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.3913, allocations: 93.52 kB / 428.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005509/0.3968, allocations: 2.444 MB / 430.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3968, allocations: 0 / 430.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.536e-06/0.3969, allocations: 3.938 kB / 430.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.98e-06/0.3969, allocations: 7.938 kB / 430.6 MB, free: 13.32 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.00247/0.3994, allocations: 0.9315 MB / 431.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3994, allocations: 12.02 kB / 431.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.4006, allocations: 115.5 kB / 431.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005635/0.4011, allocations: 325.4 kB / 431.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/0.4012, allocations: 24.56 kB / 432 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.678e-05/0.4013, allocations: 24 kB / 432 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.4028, allocations: 466.9 kB / 432.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.4028, allocations: 3.938 kB / 432.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.866e-05/0.4029, allocations: 19.89 kB / 432.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.4029, allocations: 8 kB / 432.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.4044, allocations: 397.3 kB / 432.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003251/0.4077, allocations: 2.282 MB / 435.2 MB, free: 8.398 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.4088, allocations: 286.3 kB / 435.4 MB, free: 8.109 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006108/0.4095, allocations: 489.4 kB / 435.9 MB, free: 7.539 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.4095, allocations: 30.56 kB / 435.9 MB, free: 7.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.752e-06/0.4095, allocations: 0 / 435.9 MB, free: 7.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.001992/0.4115, allocations: 457.2 kB / 436.4 MB, free: 7.047 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/0.4116, allocations: 106.8 kB / 436.5 MB, free: 6.918 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004074/0.4121, allocations: 283.2 kB / 436.8 MB, free: 6.637 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.4121, allocations: 25.7 kB / 436.8 MB, free: 6.605 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.4123, allocations: 277.7 kB / 437.1 MB, free: 6.332 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.973e-05/0.4124, allocations: 35.45 kB / 437.1 MB, free: 6.297 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.822e-05/0.4124, allocations: 8 kB / 437.1 MB, free: 6.289 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.4126, allocations: 318.8 kB / 437.4 MB, free: 5.969 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/0.4129, allocations: 95.92 kB / 437.5 MB, free: 5.875 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004419/0.4134, allocations: 218.8 kB / 437.7 MB, free: 5.594 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/0.4138, allocations: 124.4 kB / 437.8 MB, free: 5.473 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.248e-06/0.4138, allocations: 7.938 kB / 437.9 MB, free: 5.465 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009279/0.4147, allocations: 336.9 kB / 438.2 MB, free: 5.129 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.4148, allocations: 8 kB / 438.2 MB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.4148, allocations: 4.594 kB / 438.2 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.4148, allocations: 12 kB / 438.2 MB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.4152, allocations: 71.89 kB / 438.3 MB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.4152, allocations: 7.938 kB / 438.3 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003317/0.4156, allocations: 51.67 kB / 438.3 MB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.4156, allocations: 16 kB / 438.4 MB, free: 4.961 MB / 362.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 (31): * Single equations (assignments): 31 * 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.0002403/0.4159, allocations: 162.2 kB / 438.5 MB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.856e-05/0.416, allocations: 31.58 kB / 438.5 MB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.4174, allocations: 0.6972 MB / 439.2 MB, free: 4.055 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.4174, allocations: 7.984 kB / 439.2 MB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.12e-06/0.4174, allocations: 4 kB / 439.2 MB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.023e-06/0.4174, allocations: 0 / 439.2 MB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007551/0.4182, allocations: 490.7 kB / 439.7 MB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.467e-06/0.4182, allocations: 0 / 439.7 MB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.4185, allocations: 51.97 kB / 439.8 MB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.4185, allocations: 7.953 kB / 439.8 MB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.4186, allocations: 0 / 439.8 MB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.872e-06/0.4186, allocations: 0 / 439.8 MB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.4186, allocations: 3.984 kB / 439.8 MB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008643/0.4195, allocations: 465.7 kB / 440.2 MB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.4196, allocations: 132.5 kB / 440.4 MB, free: 2.828 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.778e-05/0.4197, allocations: 7.953 kB / 440.4 MB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.42, allocations: 27.92 kB / 440.4 MB, free: 2.793 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.42e-05/0.4201, allocations: 19.97 kB / 440.4 MB, free: 2.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.4201, allocations: 4 kB / 440.4 MB, free: 2.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003923/0.4205, allocations: 231.2 kB / 440.7 MB, free: 2.539 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.31e-07/0.4205, allocations: 0 / 440.7 MB, free: 2.539 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002585/0.4231, allocations: 0.8353 MB / 441.5 MB, free: 1.703 MB / 362.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: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.004599/0.4277, allocations: 0.9921 MB / 442.5 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008873/0.4286, allocations: 287.7 kB / 442.8 MB, free: 440 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.999e-06/0.4287, allocations: 1.062 kB / 442.8 MB, free: 440 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003902/0.4291, allocations: 167.9 kB / 442.9 MB, free: 272 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008852/0.43, allocations: 121.4 kB / 443.1 MB, free: 152 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.4318, allocations: 1.017 MB / 444.1 MB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000579/0.4325, allocations: 0.8424 MB / 444.9 MB, free: 14.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.4326, allocations: 31.42 kB / 444.9 MB, free: 14.19 MB / 378.7 MB Notification: Performance of SimCode: time 1.529e-06/0.4326, allocations: 0 / 444.9 MB, free: 14.19 MB / 378.7 MB Notification: Performance of Templates: time 0.04228/0.4749, allocations: 21.76 MB / 466.7 MB, free: 8.422 MB / 394.7 MB