Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadModel(Modelica): time 1.676/1.676, allocations: 171.2 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003528, allocations: 8 kB / 233.9 MB, free: 2.379 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08062/0.081, allocations: 38.78 MB / 272.6 MB, free: 11.52 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01705/0.0981, allocations: 10.53 MB / 283.2 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003171/0.1013, allocations: 1.476 MB / 284.7 MB, free: 15.47 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000337/0.1017, allocations: 3.938 kB / 284.7 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006884/0.1024, allocations: 139.4 kB / 284.8 MB, free: 15.33 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006459/0.1031, allocations: 203.4 kB / 285 MB, free: 15.13 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.1045, allocations: 339.3 kB / 285.3 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009339/0.1055, allocations: 471 kB / 285.8 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/0.1057, allocations: 72.67 kB / 285.9 MB, free: 14.26 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008526/0.1066, allocations: 303.1 kB / 286.2 MB, free: 13.96 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003307/0.1069, allocations: 155.3 kB / 286.3 MB, free: 13.81 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.367e-05/0.107, allocations: 12 kB / 286.3 MB, free: 13.8 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003501/0.1074, allocations: 55.97 kB / 286.4 MB, free: 13.75 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.1075, allocations: 71.78 kB / 286.4 MB, free: 13.68 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.1077, allocations: 93.52 kB / 286.5 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006595/0.1084, allocations: 367.2 kB / 286.9 MB, free: 13.22 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1084, allocations: 0 / 286.9 MB, free: 13.22 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1084, allocations: 0 / 286.9 MB, free: 13.22 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.1084, allocations: 0 / 286.9 MB, free: 13.22 MB / 250.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.0009963/0.1094, allocations: 0.5184 MB / 287.4 MB, free: 12.65 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1095, allocations: 8.031 kB / 287.4 MB, free: 12.64 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003674/0.1098, allocations: 43.62 kB / 287.5 MB, free: 12.6 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/0.1104, allocations: 278.6 kB / 287.7 MB, free: 12.29 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.1104, allocations: 16.56 kB / 287.7 MB, free: 12.27 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.885e-05/0.1105, allocations: 20 kB / 287.8 MB, free: 12.25 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000744/0.1112, allocations: 321.3 kB / 288.1 MB, free: 11.9 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.1113, allocations: 3.953 kB / 288.1 MB, free: 11.9 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.493e-05/0.1113, allocations: 12 kB / 288.1 MB, free: 11.89 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.1114, allocations: 8 kB / 288.1 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005152/0.1119, allocations: 193.5 kB / 288.3 MB, free: 11.69 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002822/0.1147, allocations: 1.736 MB / 290 MB, free: 9.805 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/0.1151, allocations: 122.6 kB / 290.1 MB, free: 9.676 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002212/0.1153, allocations: 178.2 kB / 290.3 MB, free: 9.465 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.1154, allocations: 38.52 kB / 290.4 MB, free: 9.418 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 2.585e-06/0.1154, allocations: 3.938 kB / 290.4 MB, free: 9.414 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.002718/0.1181, allocations: 0.7952 MB / 291.2 MB, free: 8.547 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.1182, allocations: 55.41 kB / 291.2 MB, free: 8.48 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004428/0.1187, allocations: 282.5 kB / 291.5 MB, free: 8.199 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.573e-05/0.1187, allocations: 33.64 kB / 291.5 MB, free: 8.16 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.1189, allocations: 195.5 kB / 291.7 MB, free: 7.965 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.422e-05/0.119, allocations: 74.92 kB / 291.8 MB, free: 7.891 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.1191, allocations: 12 kB / 291.8 MB, free: 7.879 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1192, allocations: 334.8 kB / 292.1 MB, free: 7.543 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.1194, allocations: 63.97 kB / 292.2 MB, free: 7.48 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.1198, allocations: 194.9 kB / 292.4 MB, free: 7.234 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.12, allocations: 99.92 kB / 292.5 MB, free: 7.137 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1201, allocations: 4 kB / 292.5 MB, free: 7.133 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008288/0.1209, allocations: 336.4 kB / 292.8 MB, free: 6.797 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.1209, allocations: 5.594 kB / 292.8 MB, free: 6.793 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.121, allocations: 8 kB / 292.8 MB, free: 6.785 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000121/0.1211, allocations: 24.86 kB / 292.8 MB, free: 6.758 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005692/0.1217, allocations: 79.89 kB / 292.9 MB, free: 6.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/0.1232, allocations: 1.307 MB / 294.2 MB, free: 5.234 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003768/0.1236, allocations: 12 kB / 294.2 MB, free: 5.223 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.79e-05/0.1236, allocations: 19.98 kB / 294.3 MB, free: 5.203 MB / 250.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.0002533/0.1239, allocations: 157.7 kB / 294.4 MB, free: 5.039 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.429e-05/0.124, allocations: 27.91 kB / 294.4 MB, free: 5.012 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005491/0.1246, allocations: 213.9 kB / 294.7 MB, free: 4.801 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005502/0.1251, allocations: 479.8 kB / 295.1 MB, free: 4.246 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.1252, allocations: 4 kB / 295.1 MB, free: 4.242 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.1253, allocations: 96.81 kB / 295.2 MB, free: 4.129 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.569e-05/0.1254, allocations: 8 kB / 295.2 MB, free: 4.121 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/0.1258, allocations: 11.98 kB / 295.2 MB, free: 4.109 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.1258, allocations: 15.98 kB / 295.3 MB, free: 4.094 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007534/0.1266, allocations: 279.7 kB / 295.5 MB, free: 3.816 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007305/0.1273, allocations: 422.3 kB / 295.9 MB, free: 3.387 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001681/0.1275, allocations: 70.8 kB / 296 MB, free: 3.32 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003014/0.1278, allocations: 190 kB / 296.2 MB, free: 3.137 MB / 250.7 MB Notification: Performance of Backend: time 8.42e-07/0.1279, allocations: 0 / 296.2 MB, free: 3.137 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.1289, allocations: 357.8 kB / 296.5 MB, free: 2.766 MB / 250.7 MB Notification: Performance of SimCode: time 0.002364/0.1313, allocations: 1.197 MB / 297.7 MB, free: 1.52 MB / 250.7 MB Notification: Performance of Templates: time 0.2192/0.3505, allocations: 4.818 MB / 302.6 MB, free: 31.5 MB / 250.7 MB