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.ParallelCooling.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.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadModel(Modelica): time 1.783/1.783, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003536, allocations: 8 kB / 263.9 MB, free: 13.58 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07913/0.07951, allocations: 44.5 MB / 308.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3332/0.4127, allocations: 76.75 MB / 385.2 MB, free: 18.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.413, allocations: 72.53 kB / 385.3 MB, free: 18.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05517/0.4682, allocations: 15.55 MB / 400.8 MB, free: 17.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.563e-06/0.4682, allocations: 4 kB / 400.8 MB, free: 17.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.192e-05/0.4683, allocations: 15.34 kB / 400.8 MB, free: 17.22 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.001969/0.4702, allocations: 1.128 MB / 401.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.4703, allocations: 11.19 kB / 402 MB, free: 16.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/0.4705, allocations: 104.6 kB / 402.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008894/0.4714, allocations: 0.5072 MB / 402.6 MB, free: 16.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/0.4717, allocations: 148 kB / 402.7 MB, free: 16.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.4718, allocations: 56.97 kB / 402.8 MB, free: 16.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.4733, allocations: 0.8309 MB / 403.6 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.068e-05/0.4734, allocations: 0 / 403.6 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.832e-05/0.4735, allocations: 29.47 kB / 403.6 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.4735, allocations: 15.25 kB / 403.6 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.475, allocations: 0.5728 MB / 404.2 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006556/0.4816, allocations: 2.061 MB / 406.3 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004859/0.4865, allocations: 1.037 MB / 407.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.158e-05/0.4866, allocations: 19.47 kB / 407.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.4867, allocations: 45.81 kB / 407.4 MB, free: 14.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 5.213e-06/0.4867, allocations: 0 / 407.4 MB, free: 14.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.006316/0.493, allocations: 1.853 MB / 409.2 MB, free: 13.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001483/0.4932, allocations: 0.8262 MB / 410.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000922/0.4941, allocations: 0.5312 MB / 410.6 MB, free: 12.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.4943, allocations: 51.02 kB / 410.6 MB, free: 12.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.4945, allocations: 334.8 kB / 411 MB, free: 11.97 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/0.4947, allocations: 258.8 kB / 411.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.4948, allocations: 11.75 kB / 411.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.432e-05/0.4949, allocations: 340 kB / 411.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008025/0.4957, allocations: 257.2 kB / 411.8 MB, free: 11.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009937/0.4967, allocations: 0.5299 MB / 412.3 MB, free: 11.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009077/0.4976, allocations: 388 kB / 412.7 MB, free: 10.97 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.404e-06/0.4976, allocations: 0 / 412.7 MB, free: 10.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003133/0.5008, allocations: 1.052 MB / 413.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.186e-05/0.5009, allocations: 96.67 kB / 413.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.1e-06/0.5009, allocations: 0 / 413.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008227/0.5017, allocations: 244.5 kB / 414.1 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007199/0.5025, allocations: 135.2 kB / 414.2 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008648/0.5111, allocations: 6.568 MB / 420.8 MB, free: 20.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009453/0.5121, allocations: 110.7 kB / 420.9 MB, free: 20.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.523e-05/0.5122, allocations: 21.66 kB / 420.9 MB, free: 20.84 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (70): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 1,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004957/0.5127, allocations: 214.5 kB / 421.1 MB, free: 20.72 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.5129, allocations: 89.45 kB / 421.2 MB, free: 20.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/0.5131, allocations: 85.05 kB / 421.3 MB, free: 20.65 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.008e-06/0.5131, allocations: 7.75 kB / 421.3 MB, free: 20.65 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.237e-06/0.5132, allocations: 0 / 421.3 MB, free: 20.65 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002875/0.516, allocations: 1.258 MB / 422.6 MB, free: 19.94 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004958/0.521, allocations: 1.913 MB / 424.5 MB, free: 19.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.945e-06/0.5211, allocations: 3.938 kB / 424.5 MB, free: 19.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008563/0.5219, allocations: 131.7 kB / 424.6 MB, free: 19.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006686/0.5226, allocations: 215.7 kB / 424.8 MB, free: 19.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.064e-05/0.5227, allocations: 19.08 kB / 424.9 MB, free: 19.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008121/0.5308, allocations: 5.122 MB / 430 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.671e-06/0.5309, allocations: 3.875 kB / 430 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003748/0.5347, allocations: 1.384 MB / 431.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003479/0.535, allocations: 166.8 kB / 431.5 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/0.5353, allocations: 19.5 kB / 431.5 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006681/0.5359, allocations: 42.84 kB / 431.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/0.5361, allocations: 63.66 kB / 431.7 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-05/0.5362, allocations: 19.69 kB / 431.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007084/0.5369, allocations: 441.4 kB / 432.1 MB, free: 14.13 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.68e-07/0.5369, allocations: 0 / 432.1 MB, free: 14.13 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001096/0.5381, allocations: 279.1 kB / 432.4 MB, free: 14.11 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (62): * Single equations (assignments): 59 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002524/0.5383, allocations: 133.8 kB / 432.5 MB, free: 14.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002468/0.5408, allocations: 1.318 MB / 433.8 MB, free: 13.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.99e-06/0.5408, allocations: 3.875 kB / 433.8 MB, free: 13.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001594/0.5425, allocations: 0.7693 MB / 434.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.5437, allocations: 197.6 kB / 434.8 MB, free: 12.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003305/0.5471, allocations: 1.871 MB / 436.7 MB, free: 11.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006459/0.5478, allocations: 0.9404 MB / 437.6 MB, free: 10.76 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003093/0.5481, allocations: 65.83 kB / 437.7 MB, free: 10.75 MB / 330.7 MB Notification: Performance of SimCode: time 1.458e-06/0.5481, allocations: 0 / 437.7 MB, free: 10.75 MB / 330.7 MB Notification: Performance of Templates: time 0.03124/0.5794, allocations: 20.12 MB / 457.8 MB, free: 11 MB / 346.7 MB