Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadModel(Modelica): time 1.793/1.793, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.0003812, allocations: 23.98 kB / 263.9 MB, free: 13.59 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07803/0.07844, allocations: 44.5 MB / 308.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01517/0.09365, allocations: 10.53 MB / 318.9 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002628/0.09632, allocations: 1.477 MB / 320.4 MB, free: 4.961 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.09651, allocations: 11.88 kB / 320.4 MB, free: 4.949 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005321/0.09706, allocations: 135.3 kB / 320.5 MB, free: 4.816 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004899/0.09757, allocations: 211.4 kB / 320.7 MB, free: 4.609 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.09876, allocations: 331.3 kB / 321 MB, free: 4.285 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006792/0.09945, allocations: 471 kB / 321.5 MB, free: 3.824 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.09967, allocations: 72.64 kB / 321.6 MB, free: 3.758 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000682/0.1004, allocations: 303.1 kB / 321.9 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.1007, allocations: 159.3 kB / 322 MB, free: 3.305 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.338e-05/0.1007, allocations: 16 kB / 322 MB, free: 3.289 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002318/0.101, allocations: 47.98 kB / 322.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.1011, allocations: 71.78 kB / 322.2 MB, free: 3.172 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.1012, allocations: 93.52 kB / 322.3 MB, free: 3.074 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005409/0.1018, allocations: 363.3 kB / 322.6 MB, free: 2.719 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.939e-06/0.1018, allocations: 0 / 322.6 MB, free: 2.719 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.945e-06/0.1018, allocations: 0 / 322.6 MB, free: 2.719 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.1018, allocations: 0 / 322.6 MB, free: 2.719 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008513/0.1027, allocations: 0.5184 MB / 323.1 MB, free: 2.152 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.1028, allocations: 12.03 kB / 323.1 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003414/0.1031, allocations: 43.61 kB / 323.2 MB, free: 2.098 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004389/0.1036, allocations: 278.5 kB / 323.5 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.1036, allocations: 20.52 kB / 323.5 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.858e-05/0.1037, allocations: 24 kB / 323.5 MB, free: 1.738 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006429/0.1043, allocations: 321.3 kB / 323.8 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.1044, allocations: 0 / 323.8 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.584e-05/0.1044, allocations: 12 kB / 323.8 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.1045, allocations: 8 kB / 323.8 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000443/0.1049, allocations: 189.5 kB / 324 MB, free: 1.188 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002511/0.1074, allocations: 1.736 MB / 325.7 MB, free: 15.3 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.1078, allocations: 134.6 kB / 325.9 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002104/0.108, allocations: 166.2 kB / 326 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.1081, allocations: 38.56 kB / 326.1 MB, free: 14.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 2.843e-06/0.1081, allocations: 0 / 326.1 MB, free: 14.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.002244/0.1103, allocations: 0.8058 MB / 326.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.1104, allocations: 59.41 kB / 326.9 MB, free: 13.97 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000404/0.1108, allocations: 274.6 kB / 327.2 MB, free: 13.69 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.1109, allocations: 29.7 kB / 327.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.1111, allocations: 253.9 kB / 327.5 MB, free: 13.41 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.581e-05/0.1112, allocations: 82.89 kB / 327.6 MB, free: 13.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/0.1112, allocations: 4 kB / 327.6 MB, free: 13.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.1114, allocations: 326.8 kB / 327.9 MB, free: 12.99 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.1116, allocations: 67.97 kB / 328 MB, free: 12.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.1119, allocations: 191.4 kB / 328.1 MB, free: 12.68 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.1121, allocations: 99.92 kB / 328.2 MB, free: 12.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.431e-06/0.1121, allocations: 0 / 328.2 MB, free: 12.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007003/0.1129, allocations: 310.2 kB / 328.5 MB, free: 12.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.1129, allocations: 13.23 kB / 328.6 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.1129, allocations: 4 kB / 328.6 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001006/0.113, allocations: 20.8 kB / 328.6 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/0.1134, allocations: 83.89 kB / 328.7 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.1149, allocations: 1.303 MB / 330 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/0.1152, allocations: 19.89 kB / 330 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/0.1153, allocations: 20.25 kB / 330 MB, free: 10.68 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002136/0.1155, allocations: 153.8 kB / 330.2 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-05/0.1156, allocations: 31.75 kB / 330.2 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004665/0.1161, allocations: 205.5 kB / 330.4 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.091e-06/0.1161, allocations: 4 kB / 330.4 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.1162, allocations: 4 kB / 330.4 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005367/0.1167, allocations: 479.8 kB / 330.9 MB, free: 9.723 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.1182, allocations: 0.784 MB / 331.6 MB, free: 8.836 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.291e-06/0.1183, allocations: 7.953 kB / 331.7 MB, free: 8.828 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.1185, allocations: 43.91 kB / 331.7 MB, free: 8.785 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/0.1185, allocations: 4 kB / 331.7 MB, free: 8.781 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.1186, allocations: 8 kB / 331.7 MB, free: 8.773 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.784e-06/0.1186, allocations: 7.938 kB / 331.7 MB, free: 8.766 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.193e-06/0.1186, allocations: 4 kB / 331.7 MB, free: 8.762 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006371/0.1193, allocations: 394.7 kB / 332.1 MB, free: 8.332 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.1194, allocations: 112.8 kB / 332.2 MB, free: 8.203 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.54e-05/0.1195, allocations: 8 kB / 332.2 MB, free: 8.195 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003139/0.1198, allocations: 15.98 kB / 332.2 MB, free: 8.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.1199, allocations: 15.92 kB / 332.3 MB, free: 8.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.249e-05/0.1199, allocations: 19.98 kB / 332.3 MB, free: 8.145 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002872/0.1202, allocations: 198 kB / 332.5 MB, free: 7.949 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.1202, allocations: 0 / 332.5 MB, free: 7.949 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005962/0.1208, allocations: 96 kB / 332.6 MB, free: 7.855 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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 Backend phase and start with SimCode phase: time 0.0002351/0.1211, allocations: 143 kB / 332.7 MB, free: 7.707 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006223/0.1217, allocations: 302 kB / 333 MB, free: 7.402 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.259e-06/0.1217, allocations: 0 / 333 MB, free: 7.402 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.1219, allocations: 71.84 kB / 333.1 MB, free: 7.332 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.123, allocations: 157.4 kB / 333.2 MB, free: 7.176 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.1244, allocations: 0.7743 MB / 334 MB, free: 6.336 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004983/0.1249, allocations: 0.768 MB / 334.8 MB, free: 5.543 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.125, allocations: 31.44 kB / 334.8 MB, free: 5.516 MB / 282.7 MB Notification: Performance of SimCode: time 1.386e-06/0.125, allocations: 4 kB / 334.8 MB, free: 5.512 MB / 282.7 MB Notification: Performance of Templates: time 0.009707/0.1347, allocations: 5.027 MB / 339.8 MB, free: 0.4922 MB / 282.7 MB