Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadModel(Modelica): time 1.943/1.943, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003475, allocations: 8 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09138/0.09175, allocations: 44.51 MB / 309.1 MB, free: 344 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01674/0.1085, allocations: 10.53 MB / 319.6 MB, free: 5.762 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00308/0.1117, allocations: 1.473 MB / 321.1 MB, free: 4.285 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002597/0.112, allocations: 8 kB / 321.1 MB, free: 4.277 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006639/0.1127, allocations: 135.3 kB / 321.2 MB, free: 4.145 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006317/0.1133, allocations: 207.4 kB / 321.4 MB, free: 3.941 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.1147, allocations: 335.3 kB / 321.7 MB, free: 3.613 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008353/0.1156, allocations: 474.9 kB / 322.2 MB, free: 3.148 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002172/0.1158, allocations: 70.92 kB / 322.3 MB, free: 3.086 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000776/0.1166, allocations: 299.1 kB / 322.6 MB, free: 2.793 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003206/0.117, allocations: 163.4 kB / 322.7 MB, free: 2.633 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.308e-05/0.117, allocations: 12 kB / 322.7 MB, free: 2.621 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003232/0.1174, allocations: 55.91 kB / 322.8 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.1175, allocations: 71.8 kB / 322.9 MB, free: 2.496 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.1177, allocations: 97.5 kB / 323 MB, free: 2.395 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006185/0.1183, allocations: 363.3 kB / 323.3 MB, free: 2.039 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.1183, allocations: 0 / 323.3 MB, free: 2.039 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1183, allocations: 0 / 323.3 MB, free: 2.039 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1183, allocations: 0 / 323.3 MB, free: 2.039 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.00099/0.1193, allocations: 0.5144 MB / 323.8 MB, free: 1.477 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.1194, allocations: 8.031 kB / 323.8 MB, free: 1.469 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003688/0.1198, allocations: 47.61 kB / 323.9 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004828/0.1203, allocations: 282.5 kB / 324.2 MB, free: 1.105 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.1203, allocations: 20.52 kB / 324.2 MB, free: 1.082 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.434e-05/0.1204, allocations: 24 kB / 324.2 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007313/0.1211, allocations: 317.4 kB / 324.5 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.1212, allocations: 0 / 324.5 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.803e-05/0.1212, allocations: 12 kB / 324.5 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.1212, allocations: 8 kB / 324.5 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004979/0.1218, allocations: 189.5 kB / 324.7 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002755/0.1245, allocations: 1.736 MB / 326.5 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.1249, allocations: 126.6 kB / 326.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002347/0.1252, allocations: 178.2 kB / 326.8 MB, free: 14.28 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.1252, allocations: 38.56 kB / 326.8 MB, free: 14.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 2.816e-06/0.1252, allocations: 0 / 326.8 MB, free: 14.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.002668/0.1279, allocations: 0.7982 MB / 327.6 MB, free: 13.37 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.128, allocations: 59.41 kB / 327.6 MB, free: 13.3 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000428/0.1284, allocations: 274.6 kB / 327.9 MB, free: 13.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.1285, allocations: 37.7 kB / 328 MB, free: 12.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.1286, allocations: 195.5 kB / 328.1 MB, free: 12.78 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.46e-05/0.1287, allocations: 78.84 kB / 328.2 MB, free: 12.7 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/0.1288, allocations: 8 kB / 328.2 MB, free: 12.7 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.129, allocations: 338.8 kB / 328.6 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.1292, allocations: 67.97 kB / 328.6 MB, free: 12.29 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/0.1295, allocations: 183.4 kB / 328.8 MB, free: 12.05 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.1298, allocations: 95.92 kB / 328.9 MB, free: 11.96 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1298, allocations: 0 / 328.9 MB, free: 11.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008082/0.1306, allocations: 329.8 kB / 329.2 MB, free: 11.63 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.1306, allocations: 7.938 kB / 329.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.1306, allocations: 8.5 kB / 329.2 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001207/0.1308, allocations: 32.8 kB / 329.3 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005793/0.1314, allocations: 87.83 kB / 329.4 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.1328, allocations: 1.292 MB / 330.6 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.1332, allocations: 23.89 kB / 330.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.1333, allocations: 15.95 kB / 330.7 MB, free: 10.03 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.0002408/0.1335, allocations: 161.7 kB / 330.8 MB, free: 9.863 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.35e-05/0.1336, allocations: 23.72 kB / 330.9 MB, free: 9.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005319/0.1342, allocations: 207.6 kB / 331.1 MB, free: 9.633 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005578/0.1347, allocations: 483.7 kB / 331.5 MB, free: 9.074 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1348, allocations: 0 / 331.5 MB, free: 9.074 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.1349, allocations: 96.81 kB / 331.6 MB, free: 8.961 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.358e-05/0.135, allocations: 11.95 kB / 331.6 MB, free: 8.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/0.1354, allocations: 19.89 kB / 331.7 MB, free: 8.93 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.1354, allocations: 11.98 kB / 331.7 MB, free: 8.918 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007212/0.1361, allocations: 268.8 kB / 331.9 MB, free: 8.648 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007109/0.1369, allocations: 425.1 kB / 332.4 MB, free: 8.219 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001611/0.137, allocations: 68.06 kB / 332.4 MB, free: 8.152 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002924/0.1374, allocations: 194 kB / 332.6 MB, free: 7.961 MB / 282.7 MB Notification: Performance of Backend: time 7.01e-07/0.1374, allocations: 0 / 332.6 MB, free: 7.961 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009784/0.1384, allocations: 352.6 kB / 333 MB, free: 7.602 MB / 282.7 MB Notification: Performance of SimCode: time 0.002266/0.1406, allocations: 1.21 MB / 334.2 MB, free: 6.344 MB / 282.7 MB Notification: Performance of Templates: time 0.01475/0.1554, allocations: 4.818 MB / 339 MB, free: 1.535 MB / 282.7 MB