Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.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.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadModel(Modelica): time 1.94/1.94, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003507, allocations: 12 kB / 263.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1194, allocations: 44.51 MB / 308.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006084/0.1255, allocations: 4.212 MB / 312.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00274/0.1283, allocations: 1.35 MB / 313.9 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003805/0.1287, allocations: 8 kB / 313.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.129, allocations: 115.1 kB / 314 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000869/0.1299, allocations: 382.9 kB / 314.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.1305, allocations: 183.7 kB / 314.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.1319, allocations: 0.8827 MB / 315.5 MB, free: 9.883 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005691/0.1324, allocations: 311 kB / 315.8 MB, free: 9.566 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005805/0.133, allocations: 438.5 kB / 316.2 MB, free: 9.137 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000718/0.1338, allocations: 0.5058 MB / 316.7 MB, free: 8.629 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.134, allocations: 76 kB / 316.8 MB, free: 8.555 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.1342, allocations: 76 kB / 316.9 MB, free: 8.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002359/0.1344, allocations: 207.3 kB / 317.1 MB, free: 8.277 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002734/0.1347, allocations: 225.2 kB / 317.3 MB, free: 8.051 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.136, allocations: 0.9935 MB / 318.3 MB, free: 7.055 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.136, allocations: 3.938 kB / 318.3 MB, free: 7.051 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.125e-06/0.136, allocations: 0 / 318.3 MB, free: 7.051 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.808e-05/0.1361, allocations: 0 / 318.3 MB, free: 7.051 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002638/0.1387, allocations: 1.259 MB / 319.5 MB, free: 5.723 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.1388, allocations: 8.031 kB / 319.5 MB, free: 5.715 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002686/0.1391, allocations: 126.6 kB / 319.7 MB, free: 5.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.1403, allocations: 0.5669 MB / 320.2 MB, free: 4.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002855/0.1406, allocations: 158.4 kB / 320.4 MB, free: 4.809 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.1407, allocations: 64 kB / 320.4 MB, free: 4.746 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.1428, allocations: 0.9488 MB / 321.4 MB, free: 3.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.1428, allocations: 0 / 321.4 MB, free: 3.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.143, allocations: 32 kB / 321.4 MB, free: 3.648 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.143, allocations: 16 kB / 321.4 MB, free: 3.633 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.1448, allocations: 0.6258 MB / 322.1 MB, free: 3.008 MB / 266.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.00578/0.1506, allocations: 2.593 MB / 324.7 MB, free: 256 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00333/0.154, allocations: 0.8586 MB / 325.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.261e-05/0.1541, allocations: 24.52 kB / 325.5 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.342e-05/0.1541, allocations: 47.12 kB / 325.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of pre-optimization done (n=70): time 4.412e-06/0.1541, allocations: 0 / 325.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=70): time 0.003747/0.1579, allocations: 1.44 MB / 327 MB, free: 13.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005674/0.1585, allocations: 0.9526 MB / 328 MB, free: 12.55 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.1599, allocations: 0.747 MB / 328.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001108/0.16, allocations: 45.7 kB / 328.8 MB, free: 11.74 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003779/0.1604, allocations: 399 kB / 329.2 MB, free: 11.35 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.1607, allocations: 240.4 kB / 329.4 MB, free: 11.11 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.1608, allocations: 20 kB / 329.4 MB, free: 11.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.161, allocations: 342.8 kB / 329.8 MB, free: 10.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008306/0.1618, allocations: 257.9 kB / 330 MB, free: 10.49 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/0.163, allocations: 0.5919 MB / 330.6 MB, free: 9.777 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009543/0.164, allocations: 392 kB / 331 MB, free: 9.379 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.164, allocations: 7.953 kB / 331 MB, free: 9.371 MB / 282.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002385/0.1664, allocations: 0.9009 MB / 331.9 MB, free: 8.426 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.685e-05/0.1666, allocations: 85.11 kB / 332 MB, free: 8.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.1666, allocations: 0 / 332 MB, free: 8.324 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004659/0.1671, allocations: 132.2 kB / 332.1 MB, free: 8.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008643/0.168, allocations: 155.8 kB / 332.3 MB, free: 8.027 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008161/0.1761, allocations: 6.972 MB / 339.2 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.1773, allocations: 123.3 kB / 339.3 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-05/0.1774, allocations: 23.94 kB / 339.4 MB, free: 252 kB / 282.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.000526/0.1779, allocations: 225.7 kB / 339.6 MB, free: 16 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002476/0.1782, allocations: 103.1 kB / 339.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.1784, allocations: 92.31 kB / 339.8 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.328e-06/0.1784, allocations: 8 kB / 339.8 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.601e-06/0.1785, allocations: 0 / 339.8 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002009/0.1805, allocations: 0.9911 MB / 340.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003933/0.1844, allocations: 1.74 MB / 342.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.561e-06/0.1845, allocations: 384 / 342.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009686/0.1855, allocations: 151.8 kB / 342.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001487/0.1856, allocations: 40.81 kB / 342.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.02e-05/0.1857, allocations: 12 kB / 342.7 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/0.1873, allocations: 1.455 MB / 344.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.773e-06/0.1874, allocations: 8.016 kB / 344.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002877/0.1903, allocations: 1.085 MB / 345.3 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003214/0.1906, allocations: 179.9 kB / 345.4 MB, free: 9.793 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/0.1908, allocations: 27.94 kB / 345.5 MB, free: 9.766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008338/0.1916, allocations: 43.97 kB / 345.5 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.1918, allocations: 44.5 kB / 345.6 MB, free: 9.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.854e-05/0.1919, allocations: 19.98 kB / 345.6 MB, free: 9.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009636/0.1928, allocations: 0.5225 MB / 346.1 MB, free: 9.141 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.98e-07/0.1928, allocations: 0 / 346.1 MB, free: 9.141 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001109/0.194, allocations: 283.6 kB / 346.4 MB, free: 8.863 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (67): * Single equations (assignments): 66 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002177/0.1942, allocations: 131 kB / 346.5 MB, free: 8.727 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002846/0.1971, allocations: 1.4 MB / 347.9 MB, free: 7.223 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.942e-06/0.1971, allocations: 4 kB / 347.9 MB, free: 7.219 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.1982, allocations: 442 kB / 348.3 MB, free: 6.777 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.1995, allocations: 239.3 kB / 348.6 MB, free: 6.543 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00401/0.2036, allocations: 1.96 MB / 350.5 MB, free: 4.555 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007533/0.2043, allocations: 0.9833 MB / 351.5 MB, free: 3.543 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003818/0.2047, allocations: 83.42 kB / 351.6 MB, free: 3.465 MB / 298.7 MB Notification: Performance of SimCode: time 1.624e-06/0.2048, allocations: 0 / 351.6 MB, free: 3.465 MB / 298.7 MB Notification: Performance of Templates: time 0.2292/0.434, allocations: 22.08 MB / 373.7 MB, free: 61.41 MB / 314.7 MB