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.TestSpecificEnthalpy.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.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadModel(ModelicaTest): time 1.939/1.939, allocations: 209.4 MB / 217.3 MB, free: 4.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.258e-05/1.273e-05, allocations: 0 / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2664, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.715/5.982, allocations: 2.476 GB / 2.788 GB, free: 114.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/5.982, allocations: 82.17 kB / 2.788 GB, free: 114.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.339/7.321, allocations: 280.3 MB / 3.062 GB, free: 51.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.024e-06/7.321, allocations: 0 / 3.062 GB, free: 51.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.278e-05/7.321, allocations: 10.28 kB / 3.062 GB, free: 51.77 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.004215/7.325, allocations: 1.178 MB / 3.063 GB, free: 51.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/7.325, allocations: 12.31 kB / 3.063 GB, free: 51.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/7.326, allocations: 118.8 kB / 3.063 GB, free: 51.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006729/7.327, allocations: 350.1 kB / 3.064 GB, free: 51.15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/7.327, allocations: 19.05 kB / 3.064 GB, free: 51.15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/7.327, allocations: 13.81 kB / 3.064 GB, free: 51.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005721/7.328, allocations: 213.1 kB / 3.064 GB, free: 51.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005475/7.328, allocations: 299.8 kB / 3.064 GB, free: 51.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/7.328, allocations: 1.062 kB / 3.064 GB, free: 51.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/7.328, allocations: 1.094 kB / 3.064 GB, free: 51.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/7.328, allocations: 7.281 kB / 3.064 GB, free: 51.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/7.331, allocations: 2.206 MB / 3.066 GB, free: 49.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/7.331, allocations: 114.4 kB / 3.067 GB, free: 49.28 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/7.331, allocations: 46.58 kB / 3.067 GB, free: 49.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004281/7.332, allocations: 478.5 kB / 3.067 GB, free: 48.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/7.332, allocations: 40.38 kB / 3.067 GB, free: 48.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 2.842e-06/7.332, allocations: 0 / 3.067 GB, free: 48.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009951/7.333, allocations: 253 kB / 3.067 GB, free: 48.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/7.333, allocations: 105.8 kB / 3.067 GB, free: 48.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/7.333, allocations: 230.1 kB / 3.068 GB, free: 48.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/7.333, allocations: 26.64 kB / 3.068 GB, free: 48.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/7.333, allocations: 280.3 kB / 3.068 GB, free: 48.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/7.333, allocations: 38.42 kB / 3.068 GB, free: 48.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/7.333, allocations: 0.9375 kB / 3.068 GB, free: 48.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.881e-05/7.333, allocations: 324.7 kB / 3.068 GB, free: 47.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/7.333, allocations: 45.23 kB / 3.068 GB, free: 47.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/7.334, allocations: 182 kB / 3.069 GB, free: 47.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/7.334, allocations: 82.39 kB / 3.069 GB, free: 47.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.502e-06/7.334, allocations: 1.438 kB / 3.069 GB, free: 47.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005905/7.334, allocations: 230.8 kB / 3.069 GB, free: 47.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/7.334, allocations: 7.188 kB / 3.069 GB, free: 47.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/7.334, allocations: 4.969 kB / 3.069 GB, free: 47.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/7.335, allocations: 9.562 kB / 3.069 GB, free: 47.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/7.335, allocations: 73.19 kB / 3.069 GB, free: 47.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/7.335, allocations: 13.3 kB / 3.069 GB, free: 47.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003532/7.335, allocations: 51.14 kB / 3.069 GB, free: 47.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/7.335, allocations: 15.88 kB / 3.069 GB, free: 47.71 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 (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 8.68e-05/7.335, allocations: 121.6 kB / 3.069 GB, free: 47.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.849e-05/7.335, allocations: 24.56 kB / 3.069 GB, free: 47.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009559/7.336, allocations: 0.6228 MB / 3.07 GB, free: 47.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/7.336, allocations: 8.906 kB / 3.07 GB, free: 47.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/7.337, allocations: 5.109 kB / 3.07 GB, free: 47.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/7.337, allocations: 3.953 kB / 3.07 GB, free: 47.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005338/7.337, allocations: 425.5 kB / 3.07 GB, free: 47.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/7.337, allocations: 3.531 kB / 3.07 GB, free: 47.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/7.337, allocations: 48.27 kB / 3.07 GB, free: 47.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.984e-06/7.337, allocations: 1.406 kB / 3.07 GB, free: 47.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/7.337, allocations: 0 / 3.07 GB, free: 47.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/7.337, allocations: 3.297 kB / 3.07 GB, free: 47.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.998e-06/7.337, allocations: 7.062 kB / 3.07 GB, free: 47.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005472/7.338, allocations: 385.2 kB / 3.071 GB, free: 47.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/7.338, allocations: 155.4 kB / 3.071 GB, free: 47.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.504e-05/7.338, allocations: 1.281 kB / 3.071 GB, free: 47.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/7.338, allocations: 23.97 kB / 3.071 GB, free: 47.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.719e-05/7.339, allocations: 13.72 kB / 3.071 GB, free: 47.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/7.339, allocations: 3.688 kB / 3.071 GB, free: 47.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002491/7.339, allocations: 211 kB / 3.071 GB, free: 46.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.57e-07/7.339, allocations: 1.875 kB / 3.071 GB, free: 46.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003569/7.342, allocations: 0.8393 MB / 3.072 GB, free: 46.88 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: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.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 (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.00575/7.348, allocations: 1.358 MB / 3.073 GB, free: 46.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004338/7.349, allocations: 186 kB / 3.073 GB, free: 46.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/7.349, allocations: 0 / 3.073 GB, free: 46.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001706/7.349, allocations: 130.9 kB / 3.073 GB, free: 46.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008148/7.35, allocations: 130 kB / 3.074 GB, free: 46.63 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1415/7.491, allocations: 53.84 MB / 3.126 GB, free: 45.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/7.492, allocations: 0.8307 MB / 3.127 GB, free: 44.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.878e-05/7.492, allocations: 30.44 kB / 3.127 GB, free: 44.64 MB / 426.7 MB Notification: Performance of SimCode: time 1.727e-06/7.492, allocations: 0 / 3.127 GB, free: 44.64 MB / 426.7 MB Notification: Performance of Templates: time 0.03645/7.528, allocations: 22.37 MB / 3.149 GB, free: 42.16 MB / 426.7 MB