Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadModel(Modelica): time 1.655/1.655, allocations: 171.2 MB / 184.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.641e-05/4.679e-05, allocations: 0 / 228.8 MB, free: 15.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2268, allocations: 38.78 MB / 267.6 MB, free: 9.43 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1084/0.3353, allocations: 71.31 MB / 338.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.3356, allocations: 63.97 kB / 339 MB, free: 1.949 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2536/0.5892, allocations: 18.11 MB / 357.1 MB, free: 72.83 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.5893, allocations: 0 / 357.1 MB, free: 72.83 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001065/0.5894, allocations: 20.05 kB / 357.1 MB, free: 72.83 MB / 298.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.002671/0.5921, allocations: 1.112 MB / 358.2 MB, free: 72.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.5921, allocations: 9.25 kB / 358.2 MB, free: 72.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003465/0.5925, allocations: 119.9 kB / 358.3 MB, free: 72.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/0.5939, allocations: 0.5714 MB / 358.9 MB, free: 72.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002682/0.5941, allocations: 161.8 kB / 359.1 MB, free: 71.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.5943, allocations: 68.41 kB / 359.1 MB, free: 71.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.596, allocations: 0.8938 MB / 360 MB, free: 71.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.5961, allocations: 2.062 kB / 360 MB, free: 71.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.5962, allocations: 30.94 kB / 360.1 MB, free: 71.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.5962, allocations: 17.3 kB / 360.1 MB, free: 71.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.5976, allocations: 0.5429 MB / 360.6 MB, free: 71.58 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005335/0.603, allocations: 2.491 MB / 363.1 MB, free: 70.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003275/0.6063, allocations: 0.8852 MB / 364 MB, free: 70.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008365/0.6072, allocations: 318.1 kB / 364.3 MB, free: 70.65 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.358e-05/0.6073, allocations: 16.34 kB / 364.3 MB, free: 70.65 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/0.6073, allocations: 48.97 kB / 364.4 MB, free: 70.61 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 5.174e-06/0.6074, allocations: 5.188 kB / 364.4 MB, free: 70.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.002007/0.6094, allocations: 0.7174 MB / 365.1 MB, free: 70.47 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001839/0.6096, allocations: 0.9501 MB / 366 MB, free: 69.31 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.6107, allocations: 0.6556 MB / 366.7 MB, free: 69.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.6108, allocations: 44.36 kB / 366.7 MB, free: 69.13 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.6111, allocations: 399.5 kB / 367.1 MB, free: 68.78 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.6113, allocations: 252.9 kB / 367.4 MB, free: 68.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.405e-05/0.6114, allocations: 17.94 kB / 367.4 MB, free: 68.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.667e-05/0.6115, allocations: 339.2 kB / 367.7 MB, free: 68.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005361/0.612, allocations: 225.3 kB / 367.9 MB, free: 68.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007518/0.6128, allocations: 0.5378 MB / 368.5 MB, free: 67.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000633/0.6134, allocations: 370.9 kB / 368.8 MB, free: 67.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.164e-06/0.6134, allocations: 0 / 368.8 MB, free: 67.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00205/0.6155, allocations: 0.8612 MB / 369.7 MB, free: 67.08 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.504e-05/0.6156, allocations: 92.02 kB / 369.8 MB, free: 66.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.845e-06/0.6156, allocations: 3.375 kB / 369.8 MB, free: 66.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007568/0.6164, allocations: 171 kB / 370 MB, free: 66.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009045/0.6173, allocations: 159.8 kB / 370.1 MB, free: 66.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005792/0.6231, allocations: 6.909 MB / 377 MB, free: 60.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.6243, allocations: 107.9 kB / 377.1 MB, free: 60.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-05/0.6244, allocations: 31.36 kB / 377.2 MB, free: 60.05 MB / 298.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 71 * 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 {1 3,1 1,1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002267/0.6246, allocations: 161 kB / 377.3 MB, free: 59.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.6248, allocations: 101.8 kB / 377.4 MB, free: 59.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.6251, allocations: 100.1 kB / 377.5 MB, free: 59.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.578e-06/0.6251, allocations: 4.969 kB / 377.5 MB, free: 59.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.6251, allocations: 2.375 kB / 377.5 MB, free: 59.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00132/0.6264, allocations: 0.9185 MB / 378.4 MB, free: 59.08 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003324/0.6298, allocations: 1.668 MB / 380.1 MB, free: 58.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.686e-06/0.6298, allocations: 1.734 kB / 380.1 MB, free: 58.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009992/0.6308, allocations: 157.8 kB / 380.3 MB, free: 58.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001427/0.631, allocations: 35.3 kB / 380.3 MB, free: 58.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.159e-05/0.6311, allocations: 23.5 kB / 380.3 MB, free: 58.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.6322, allocations: 1.437 MB / 381.8 MB, free: 56.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.6e-06/0.6322, allocations: 4.625 kB / 381.8 MB, free: 56.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.6343, allocations: 0.9934 MB / 382.8 MB, free: 56.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004098/0.6347, allocations: 188.1 kB / 382.9 MB, free: 56.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/0.635, allocations: 18 kB / 383 MB, free: 56.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006606/0.6356, allocations: 42.91 kB / 383 MB, free: 56.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.6358, allocations: 45.14 kB / 383 MB, free: 56.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.594e-05/0.6358, allocations: 22.88 kB / 383.1 MB, free: 56.03 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008109/0.6366, allocations: 0.5182 MB / 383.6 MB, free: 55.8 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.09e-07/0.6367, allocations: 0 / 383.6 MB, free: 55.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001193/0.6379, allocations: 287.2 kB / 383.9 MB, free: 55.61 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 68 * 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.0002309/0.6381, allocations: 133.4 kB / 384 MB, free: 55.47 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002598/0.6407, allocations: 1.355 MB / 385.4 MB, free: 54.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.871e-06/0.6408, allocations: 0 / 385.4 MB, free: 54.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008027/0.6416, allocations: 404.4 kB / 385.7 MB, free: 53.69 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.6431, allocations: 233.7 kB / 386 MB, free: 53.51 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003231/0.6463, allocations: 1.318 MB / 387.3 MB, free: 52.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.6468, allocations: 0.9814 MB / 388.3 MB, free: 51.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004063/0.6472, allocations: 83.08 kB / 388.4 MB, free: 51.34 MB / 298.7 MB Notification: Performance of SimCode: time 1.872e-06/0.6472, allocations: 0 / 388.4 MB, free: 51.34 MB / 298.7 MB Notification: Performance of Templates: time 0.02765/0.6749, allocations: 22.01 MB / 410.4 MB, free: 31.57 MB / 298.7 MB