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/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.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.865/1.865, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004404/0.0004406, allocations: 16 kB / 282.5 MB, free: 9.617 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2821, allocations: 48.7 MB / 331.2 MB, free: 6.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03621/0.3183, allocations: 25.07 MB / 356.3 MB, free: 3.734 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02223/0.3406, allocations: 13.04 MB / 369.3 MB, free: 8.348 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004987/0.3411, allocations: 15.88 kB / 369.3 MB, free: 8.332 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007147/0.3419, allocations: 175.2 kB / 369.5 MB, free: 8.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006839/0.3426, allocations: 219.3 kB / 369.7 MB, free: 7.945 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0168/0.3594, allocations: 4.313 MB / 374 MB, free: 3.621 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.3605, allocations: 0.5003 MB / 374.5 MB, free: 3.117 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003962/0.3609, allocations: 188.8 kB / 374.7 MB, free: 2.926 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01811/0.379, allocations: 8.701 MB / 383.4 MB, free: 10.22 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003823/0.3794, allocations: 159.2 kB / 383.6 MB, free: 10.06 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.17e-05/0.3795, allocations: 12 kB / 383.6 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01421/0.3937, allocations: 5.868 MB / 389.4 MB, free: 4.172 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001522/0.3939, allocations: 75.67 kB / 389.5 MB, free: 4.098 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.3941, allocations: 85.58 kB / 389.6 MB, free: 4.008 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005627/0.3998, allocations: 2.44 MB / 392 MB, free: 1.562 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.226e-06/0.3998, allocations: 0 / 392 MB, free: 1.562 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.3998, allocations: 4 kB / 392 MB, free: 1.559 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.3999, allocations: 0 / 392 MB, free: 1.559 MB / 314.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.002492/0.4024, allocations: 0.9238 MB / 393 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.4024, allocations: 16.02 kB / 393 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.4035, allocations: 111.5 kB / 393.1 MB, free: 472 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006047/0.4042, allocations: 333.3 kB / 393.4 MB, free: 100 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.501e-05/0.4042, allocations: 20.56 kB / 393.4 MB, free: 80 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/0.4043, allocations: 24 kB / 393.5 MB, free: 56 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.4058, allocations: 470.9 kB / 393.9 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.4058, allocations: 7.938 kB / 393.9 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.744e-05/0.4059, allocations: 12 kB / 393.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.4059, allocations: 8 kB / 394 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.4074, allocations: 393.3 kB / 394.3 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003315/0.4107, allocations: 2.282 MB / 396.6 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.4119, allocations: 286.3 kB / 396.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000613/0.4126, allocations: 489.4 kB / 397.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.4126, allocations: 38.56 kB / 397.4 MB, free: 11.74 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 3.534e-06/0.4126, allocations: 0 / 397.4 MB, free: 11.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.00195/0.4146, allocations: 461.4 kB / 397.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.227e-05/0.4147, allocations: 114.7 kB / 398 MB, free: 11.15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004174/0.4151, allocations: 287.2 kB / 398.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.4152, allocations: 29.7 kB / 398.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.4154, allocations: 273.8 kB / 398.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.4155, allocations: 27.56 kB / 398.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/0.4155, allocations: 4 kB / 398.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.4157, allocations: 322.8 kB / 398.9 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/0.416, allocations: 95.92 kB / 399 MB, free: 10.1 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004311/0.4165, allocations: 222.8 kB / 399.2 MB, free: 9.816 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.4168, allocations: 127.8 kB / 399.3 MB, free: 9.691 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.4169, allocations: 8 kB / 399.3 MB, free: 9.684 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009103/0.4178, allocations: 325 kB / 399.7 MB, free: 9.359 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.4178, allocations: 8.594 kB / 399.7 MB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.4179, allocations: 4 kB / 399.7 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.4179, allocations: 12 kB / 399.7 MB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/0.4182, allocations: 71.83 kB / 399.8 MB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/0.4183, allocations: 8 kB / 399.8 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.4186, allocations: 55.62 kB / 399.8 MB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.4187, allocations: 19.94 kB / 399.8 MB, free: 9.184 MB / 330.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.0002364/0.4189, allocations: 157.7 kB / 400 MB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.469e-05/0.419, allocations: 23.72 kB / 400 MB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.4204, allocations: 0.7088 MB / 400.7 MB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/0.4204, allocations: 7.984 kB / 400.7 MB, free: 8.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.506e-06/0.4205, allocations: 3.938 kB / 400.7 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.88e-06/0.4205, allocations: 4 kB / 400.7 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007242/0.4212, allocations: 482.8 kB / 401.2 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.38e-06/0.4212, allocations: 0 / 401.2 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.4215, allocations: 51.97 kB / 401.3 MB, free: 7.688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.048e-06/0.4215, allocations: 4 kB / 401.3 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.4215, allocations: 0 / 401.3 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.138e-06/0.4215, allocations: 3.984 kB / 401.3 MB, free: 7.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4216, allocations: 0 / 401.3 MB, free: 7.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000843/0.4224, allocations: 469.7 kB / 401.7 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/0.4226, allocations: 152.4 kB / 401.9 MB, free: 7.039 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.4227, allocations: 0 / 401.9 MB, free: 7.039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.423, allocations: 31.92 kB / 401.9 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.578e-05/0.4231, allocations: 15.97 kB / 401.9 MB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.4231, allocations: 4 kB / 401.9 MB, free: 6.988 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003387/0.4234, allocations: 231.2 kB / 402.2 MB, free: 6.766 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.55e-07/0.4235, allocations: 0 / 402.2 MB, free: 6.766 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002579/0.426, allocations: 0.8315 MB / 403 MB, free: 5.934 MB / 330.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.004806/0.4309, allocations: 0.9821 MB / 404 MB, free: 4.945 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008931/0.4318, allocations: 292.8 kB / 404.3 MB, free: 4.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.859e-06/0.4318, allocations: 0 / 404.3 MB, free: 4.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003806/0.4322, allocations: 171.9 kB / 404.4 MB, free: 4.492 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008479/0.4331, allocations: 124.3 kB / 404.5 MB, free: 4.367 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.4349, allocations: 1.029 MB / 405.6 MB, free: 3.305 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005734/0.4355, allocations: 0.8349 MB / 406.4 MB, free: 2.445 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.4357, allocations: 35.42 kB / 406.4 MB, free: 2.41 MB / 330.7 MB Notification: Performance of SimCode: time 1.713e-06/0.4357, allocations: 0 / 406.4 MB, free: 2.41 MB / 330.7 MB Notification: Performance of Templates: time 0.04245/0.4781, allocations: 21.67 MB / 428.1 MB, free: 12.73 MB / 362.7 MB