Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadModel(Modelica): time 1.729/1.729, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003428, allocations: 8 kB / 233.9 MB, free: 2.398 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07882/0.07918, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006836/0.08607, allocations: 4.195 MB / 276.8 MB, free: 7.328 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003042/0.08916, allocations: 1.334 MB / 278.2 MB, free: 5.988 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003938/0.08959, allocations: 8 kB / 278.2 MB, free: 5.98 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.08999, allocations: 123 kB / 278.3 MB, free: 5.859 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009815/0.09099, allocations: 375 kB / 278.6 MB, free: 5.492 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005879/0.09159, allocations: 191.7 kB / 278.8 MB, free: 5.305 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001694/0.0933, allocations: 0.8709 MB / 279.7 MB, free: 4.43 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007105/0.09405, allocations: 315 kB / 280 MB, free: 4.109 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007083/0.09478, allocations: 414.7 kB / 280.4 MB, free: 3.703 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007874/0.09558, allocations: 478 kB / 280.9 MB, free: 3.234 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001954/0.09579, allocations: 68 kB / 281 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.09609, allocations: 72 kB / 281 MB, free: 3.098 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002456/0.09635, allocations: 187.3 kB / 281.2 MB, free: 2.914 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003033/0.09666, allocations: 225.2 kB / 281.4 MB, free: 2.688 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.09803, allocations: 0.9428 MB / 282.4 MB, free: 1.742 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.09805, allocations: 0 / 282.4 MB, free: 1.742 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.09807, allocations: 0 / 282.4 MB, free: 1.742 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.772e-05/0.09809, allocations: 0 / 282.4 MB, free: 1.742 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.003504/0.1016, allocations: 1.258 MB / 283.6 MB, free: 420 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.024e-05/0.1017, allocations: 12.03 kB / 283.6 MB, free: 408 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003453/0.1021, allocations: 114.8 kB / 283.8 MB, free: 292 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.1033, allocations: 0.5238 MB / 284.3 MB, free: 15.72 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000371/0.1037, allocations: 154.4 kB / 284.4 MB, free: 15.55 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.1039, allocations: 71.98 kB / 284.5 MB, free: 15.48 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/0.1064, allocations: 0.937 MB / 285.4 MB, free: 14.43 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.079e-05/0.1065, allocations: 0 / 285.4 MB, free: 14.43 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.1066, allocations: 32 kB / 285.5 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/0.1067, allocations: 16 kB / 285.5 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.1089, allocations: 0.6181 MB / 286.1 MB, free: 13.76 MB / 250.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006317/0.1152, allocations: 2.523 MB / 288.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005094/0.1204, allocations: 0.9132 MB / 289.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.1206, allocations: 24.53 kB / 289.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.902e-05/0.1206, allocations: 55.12 kB / 289.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of pre-optimization done (n=70): time 3.907e-06/0.1206, allocations: 0 / 289.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of matching and sorting (n=70): time 0.004655/0.1253, allocations: 1.436 MB / 291 MB, free: 8.508 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004825/0.1258, allocations: 0.9488 MB / 292 MB, free: 7.332 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.1271, allocations: 0.6845 MB / 292.7 MB, free: 6.633 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000164/0.1273, allocations: 49.7 kB / 292.7 MB, free: 6.578 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000442/0.1277, allocations: 392.6 kB / 293.1 MB, free: 6.191 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/0.128, allocations: 240.5 kB / 293.3 MB, free: 5.953 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.338e-05/0.1281, allocations: 16 kB / 293.4 MB, free: 5.938 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.1283, allocations: 334 kB / 293.7 MB, free: 5.605 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009949/0.1293, allocations: 261.9 kB / 293.9 MB, free: 5.352 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.1308, allocations: 0.5802 MB / 294.5 MB, free: 4.645 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.1319, allocations: 400 kB / 294.9 MB, free: 4.238 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.132, allocations: 0 / 294.9 MB, free: 4.238 MB / 250.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002994/0.135, allocations: 0.9664 MB / 295.9 MB, free: 3.23 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.182e-05/0.1351, allocations: 93.09 kB / 296 MB, free: 3.121 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.1351, allocations: 0 / 296 MB, free: 3.121 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005345/0.1356, allocations: 124.2 kB / 296.1 MB, free: 2.984 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.137, allocations: 159.8 kB / 296.3 MB, free: 2.828 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2533/0.3903, allocations: 6.965 MB / 303.2 MB, free: 25.84 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.3919, allocations: 115.5 kB / 303.3 MB, free: 25.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.788e-05/0.392, allocations: 27.73 kB / 303.4 MB, free: 25.84 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (77): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005165/0.3926, allocations: 234 kB / 303.6 MB, free: 25.72 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002335/0.3928, allocations: 93.41 kB / 303.7 MB, free: 25.72 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.3931, allocations: 98.08 kB / 303.8 MB, free: 25.7 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002153/0.3952, allocations: 0.9874 MB / 304.8 MB, free: 25.14 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.3953, allocations: 4.719 kB / 304.8 MB, free: 25.14 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002856/0.3956, allocations: 175.4 kB / 304.9 MB, free: 25.01 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002635/0.3958, allocations: 25.53 kB / 305 MB, free: 25.01 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.3971, allocations: 50.42 kB / 305 MB, free: 25.01 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.3972, allocations: 42.17 kB / 305.1 MB, free: 25.01 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003138/0.4004, allocations: 0.7836 MB / 305.8 MB, free: 24.82 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003342/0.4038, allocations: 1.15 MB / 307 MB, free: 24.25 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008878/0.4047, allocations: 287.4 kB / 307.3 MB, free: 24.15 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0008489/0.4055, allocations: 482.6 kB / 307.7 MB, free: 23.94 MB / 250.7 MB Notification: Performance of Backend: time 4.71e-07/0.4056, allocations: 0 / 307.7 MB, free: 23.94 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00285/0.4084, allocations: 1.267 MB / 309 MB, free: 22.96 MB / 250.7 MB Notification: Performance of SimCode: time 0.004849/0.4133, allocations: 2.42 MB / 311.4 MB, free: 21.34 MB / 250.7 MB Notification: Performance of Templates: time 0.0492/0.4626, allocations: 14.82 MB / 326.2 MB, free: 12.25 MB / 250.7 MB