Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 2.116/2.116, allocations: 194.8 MB / 212.3 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000484/0.0004843, allocations: 12 kB / 264.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1082, allocations: 44.5 MB / 309 MB, free: 1.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.41/0.5182, allocations: 76.73 MB / 385.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.5186, allocations: 75.09 kB / 385.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06215/0.5807, allocations: 15.55 MB / 401.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5808, allocations: 0 / 401.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.934e-05/0.5809, allocations: 15.41 kB / 401.3 MB, free: 13.04 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.002829/0.5837, allocations: 1.136 MB / 402.5 MB, free: 12.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.5838, allocations: 7.625 kB / 402.5 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003014/0.5841, allocations: 104.8 kB / 402.6 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.5852, allocations: 0.5061 MB / 403.1 MB, free: 11.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002566/0.5854, allocations: 145.2 kB / 403.2 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.5856, allocations: 70.7 kB / 403.3 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/0.5875, allocations: 0.8291 MB / 404.1 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/0.5876, allocations: 0 / 404.1 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.5877, allocations: 35.31 kB / 404.2 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.5877, allocations: 11.5 kB / 404.2 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001854/0.5896, allocations: 0.5708 MB / 404.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004986/0.5946, allocations: 2.053 MB / 406.8 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002786/0.5975, allocations: 1.013 MB / 407.8 MB, free: 9.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.87e-05/0.5976, allocations: 16.22 kB / 407.8 MB, free: 9.746 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.5977, allocations: 54.16 kB / 407.9 MB, free: 9.699 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 3.687e-06/0.5977, allocations: 3.969 kB / 407.9 MB, free: 9.699 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.007913/0.6056, allocations: 1.845 MB / 409.7 MB, free: 8.898 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001953/0.6058, allocations: 0.818 MB / 410.6 MB, free: 7.898 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.6069, allocations: 0.6018 MB / 411.2 MB, free: 7.691 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002003/0.6071, allocations: 49.52 kB / 411.2 MB, free: 7.656 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.6073, allocations: 338.8 kB / 411.5 MB, free: 7.449 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/0.6076, allocations: 256 kB / 411.8 MB, free: 7.266 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.6076, allocations: 11.5 kB / 411.8 MB, free: 7.266 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.077e-05/0.6077, allocations: 344.5 kB / 412.1 MB, free: 6.941 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009025/0.6086, allocations: 257.4 kB / 412.4 MB, free: 6.906 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/0.6098, allocations: 0.5323 MB / 412.9 MB, free: 6.586 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009745/0.6108, allocations: 387.9 kB / 413.3 MB, free: 6.453 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.6108, allocations: 0 / 413.3 MB, free: 6.453 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003784/0.6146, allocations: 1.057 MB / 414.4 MB, free: 6.117 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.509e-05/0.6147, allocations: 88.81 kB / 414.4 MB, free: 6.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.6147, allocations: 0 / 414.4 MB, free: 6.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.6157, allocations: 252.5 kB / 414.7 MB, free: 5.938 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.6169, allocations: 132 kB / 414.8 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/0.6275, allocations: 6.571 MB / 421.4 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.629, allocations: 100.8 kB / 421.5 MB, free: 16.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.631e-05/0.6291, allocations: 23.03 kB / 421.5 MB, free: 16.33 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.000545/0.6296, allocations: 218.6 kB / 421.7 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/0.6298, allocations: 81.06 kB / 421.8 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.6301, allocations: 92.86 kB / 421.9 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.6301, allocations: 7.781 kB / 421.9 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.6301, allocations: 3.938 kB / 421.9 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00376/0.6339, allocations: 1.256 MB / 423.2 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005587/0.6395, allocations: 1.911 MB / 425.1 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.6396, allocations: 3.938 kB / 425.1 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/0.6408, allocations: 132.6 kB / 425.2 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008706/0.6417, allocations: 216.6 kB / 425.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-05/0.6418, allocations: 18.98 kB / 425.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01019/0.652, allocations: 5.126 MB / 430.6 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6521, allocations: 0 / 430.6 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005002/0.6571, allocations: 1.379 MB / 431.9 MB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003986/0.6575, allocations: 164.3 kB / 432.1 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002494/0.6578, allocations: 25.55 kB / 432.1 MB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008209/0.6586, allocations: 43.2 kB / 432.2 MB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002338/0.6589, allocations: 57.81 kB / 432.2 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.173e-05/0.6589, allocations: 22.52 kB / 432.2 MB, free: 9.762 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008083/0.6598, allocations: 433.4 kB / 432.7 MB, free: 9.617 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6598, allocations: 0 / 432.7 MB, free: 9.617 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001326/0.6611, allocations: 282.5 kB / 432.9 MB, free: 9.598 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.0003093/0.6615, allocations: 145.3 kB / 433.1 MB, free: 9.488 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003141/0.6646, allocations: 1.316 MB / 434.4 MB, free: 8.723 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.6647, allocations: 3.875 kB / 434.4 MB, free: 8.723 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002179/0.6668, allocations: 0.7689 MB / 435.2 MB, free: 8.293 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.6684, allocations: 199 kB / 435.4 MB, free: 8.238 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004534/0.673, allocations: 1.871 MB / 437.2 MB, free: 7.051 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006614/0.6737, allocations: 0.9468 MB / 438.2 MB, free: 6.234 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004129/0.6741, allocations: 68.11 kB / 438.2 MB, free: 6.223 MB / 330.7 MB Notification: Performance of SimCode: time 1.333e-06/0.6741, allocations: 0 / 438.2 MB, free: 6.223 MB / 330.7 MB Notification: Performance of Templates: time 0.03831/0.7125, allocations: 20.11 MB / 458.4 MB, free: 6.168 MB / 346.7 MB