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.ParallelCooling.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.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadModel(Modelica): time 1.631/1.631, allocations: 171.2 MB / 184.2 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.571e-05/2.585e-05, allocations: 4 kB / 228.8 MB, free: 15.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2474, allocations: 38.77 MB / 267.6 MB, free: 9.441 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1085/0.3559, allocations: 71.32 MB / 338.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.3562, allocations: 71.95 kB / 339 MB, free: 1.945 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0624/0.4186, allocations: 15.47 MB / 354.4 MB, free: 2.355 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.565e-06/0.4187, allocations: 0 / 354.4 MB, free: 2.355 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.195e-05/0.4187, allocations: 23.92 kB / 354.5 MB, free: 2.332 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: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.002193/0.421, allocations: 1.014 MB / 355.5 MB, free: 1.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.421, allocations: 12.03 kB / 355.5 MB, free: 1.238 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002524/0.4213, allocations: 98.97 kB / 355.6 MB, free: 1.141 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.4224, allocations: 0.5038 MB / 356.1 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002787/0.4227, allocations: 150.7 kB / 356.2 MB, free: 444 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.4229, allocations: 60 kB / 356.3 MB, free: 384 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1806/0.6035, allocations: 0.7814 MB / 357.1 MB, free: 73.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/0.6036, allocations: 3.734 kB / 357.1 MB, free: 73.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.6037, allocations: 28.81 kB / 357.1 MB, free: 73.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/0.6038, allocations: 12.91 kB / 357.1 MB, free: 73.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.6053, allocations: 498.3 kB / 357.6 MB, free: 73.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004655/0.61, allocations: 2.052 MB / 359.7 MB, free: 73.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/0.6119, allocations: 0.9131 MB / 360.6 MB, free: 73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006856/0.6127, allocations: 340 kB / 360.9 MB, free: 72.99 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.278e-05/0.6127, allocations: 15.14 kB / 360.9 MB, free: 72.99 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.6128, allocations: 48.72 kB / 361 MB, free: 72.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=74): time 4.629e-06/0.6128, allocations: 2.5 kB / 361 MB, free: 72.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.002795/0.6156, allocations: 0.8744 MB / 361.8 MB, free: 72.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/0.6158, allocations: 0.8243 MB / 362.7 MB, free: 71.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008485/0.6167, allocations: 0.5329 MB / 363.2 MB, free: 71.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001365/0.6168, allocations: 43.7 kB / 363.2 MB, free: 71.67 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.617, allocations: 329.6 kB / 363.6 MB, free: 71.49 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.6172, allocations: 260.1 kB / 363.8 MB, free: 71.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.289e-05/0.6173, allocations: 14.84 kB / 363.8 MB, free: 71.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.125e-05/0.6174, allocations: 337.6 kB / 364.2 MB, free: 71.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005135/0.6179, allocations: 215.2 kB / 364.4 MB, free: 71.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007101/0.6187, allocations: 489.1 kB / 364.9 MB, free: 70.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000664/0.6193, allocations: 350.9 kB / 365.2 MB, free: 70.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.6194, allocations: 0 / 365.2 MB, free: 70.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002852/0.6222, allocations: 0.9796 MB / 366.2 MB, free: 70.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.414e-05/0.6223, allocations: 88.62 kB / 366.3 MB, free: 69.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.6223, allocations: 3.5 kB / 366.3 MB, free: 69.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008299/0.6232, allocations: 216.3 kB / 366.5 MB, free: 69.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007215/0.6239, allocations: 126.1 kB / 366.6 MB, free: 69.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006957/0.6309, allocations: 6.23 MB / 372.8 MB, free: 64.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009713/0.6319, allocations: 111.5 kB / 372.9 MB, free: 64.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.552e-05/0.632, allocations: 23.59 kB / 373 MB, free: 64.11 MB / 298.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 () * 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 {1 5,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002208/0.6322, allocations: 157.5 kB / 373.1 MB, free: 63.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.6324, allocations: 88.58 kB / 373.2 MB, free: 63.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.6326, allocations: 95.38 kB / 373.3 MB, free: 63.87 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.629e-06/0.6327, allocations: 7.719 kB / 373.3 MB, free: 63.87 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.774e-06/0.6327, allocations: 0 / 373.3 MB, free: 63.87 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0025/0.6352, allocations: 1.161 MB / 374.5 MB, free: 63.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004521/0.6398, allocations: 1.829 MB / 376.3 MB, free: 62.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.49e-06/0.6398, allocations: 6.5 kB / 376.3 MB, free: 62.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009411/0.6408, allocations: 132.2 kB / 376.4 MB, free: 62.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006403/0.6414, allocations: 172.2 kB / 376.6 MB, free: 62.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.458e-05/0.6415, allocations: 15.34 kB / 376.6 MB, free: 62.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005868/0.6474, allocations: 4.784 MB / 381.4 MB, free: 57.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.663e-06/0.6474, allocations: 7.453 kB / 381.4 MB, free: 57.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003215/0.6507, allocations: 1.29 MB / 382.7 MB, free: 57.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002972/0.651, allocations: 162.3 kB / 382.9 MB, free: 56.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/0.6512, allocations: 22.94 kB / 382.9 MB, free: 56.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006069/0.6518, allocations: 43.98 kB / 382.9 MB, free: 56.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001875/0.652, allocations: 68.59 kB / 383 MB, free: 56.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.805e-05/0.6521, allocations: 19.23 kB / 383 MB, free: 56.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006279/0.6527, allocations: 434.6 kB / 383.4 MB, free: 56.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.63e-07/0.6527, allocations: 0 / 383.4 MB, free: 56.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001081/0.6538, allocations: 277.6 kB / 383.7 MB, free: 56.14 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete 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.0002271/0.6541, allocations: 138.7 kB / 383.8 MB, free: 56.01 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002057/0.6561, allocations: 1.228 MB / 385.1 MB, free: 54.74 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.324e-06/0.6562, allocations: 4 kB / 385.1 MB, free: 54.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.6574, allocations: 0.7123 MB / 385.8 MB, free: 54.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.6586, allocations: 199.7 kB / 386 MB, free: 53.87 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.6613, allocations: 1.259 MB / 387.2 MB, free: 52.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.6618, allocations: 0.9424 MB / 388.2 MB, free: 51.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/0.6621, allocations: 67.23 kB / 388.2 MB, free: 51.78 MB / 298.7 MB Notification: Performance of SimCode: time 2.051e-06/0.6621, allocations: 4 kB / 388.2 MB, free: 51.77 MB / 298.7 MB Notification: Performance of Templates: time 0.02386/0.686, allocations: 20.06 MB / 408.3 MB, free: 33.41 MB / 298.7 MB