Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.65/1.65, allocations: 171.2 MB / 186.1 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004195/0.0004195, allocations: 12 kB / 233.4 MB, free: 2.262 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08521/0.08568, allocations: 38.77 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3692/0.4549, allocations: 71.41 MB / 343.5 MB, free: 1.484 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.4552, allocations: 68.09 kB / 343.6 MB, free: 1.449 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06637/0.5216, allocations: 15.49 MB / 359.1 MB, free: 4.398 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5216, allocations: 3.938 kB / 359.1 MB, free: 4.395 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.163e-05/0.5217, allocations: 16 kB / 359.1 MB, free: 4.379 MB / 282.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.003431/0.5252, allocations: 1.134 MB / 360.2 MB, free: 3.238 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.5252, allocations: 12.03 kB / 360.3 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004445/0.5257, allocations: 130.1 kB / 360.4 MB, free: 3.129 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003058/0.526, allocations: 102.9 kB / 360.5 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.5274, allocations: 0.5001 MB / 361 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003269/0.5278, allocations: 155.7 kB / 361.1 MB, free: 2.418 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/0.528, allocations: 62.81 kB / 361.2 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/0.5304, allocations: 0.8506 MB / 362 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/0.5305, allocations: 0 / 362 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.5306, allocations: 27.44 kB / 362.1 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.784e-05/0.5307, allocations: 16 kB / 362.1 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002202/0.5329, allocations: 0.579 MB / 362.7 MB, free: 1.215 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005828/0.5387, allocations: 2.085 MB / 364.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003414/0.5422, allocations: 1.044 MB / 365.8 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.5424, allocations: 20.45 kB / 365.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.596e-05/0.5425, allocations: 46.09 kB / 365.9 MB, free: 14.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=74): time 3.257e-06/0.5425, allocations: 0 / 365.9 MB, free: 14.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.008964/0.5515, allocations: 1.849 MB / 367.7 MB, free: 13.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003788/0.5519, allocations: 0.823 MB / 368.5 MB, free: 12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.5531, allocations: 0.5366 MB / 369.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000234/0.5533, allocations: 43.83 kB / 369.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003079/0.5537, allocations: 318.3 kB / 369.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003371/0.554, allocations: 262.8 kB / 369.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.055e-05/0.5541, allocations: 14.19 kB / 369.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.5543, allocations: 389.1 kB / 370.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009966/0.5553, allocations: 258.1 kB / 370.3 MB, free: 10.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.5567, allocations: 0.5321 MB / 370.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.5579, allocations: 385.9 kB / 371.2 MB, free: 9.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.5579, allocations: 0 / 371.2 MB, free: 9.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004459/0.5624, allocations: 1.107 MB / 372.3 MB, free: 8.914 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.295e-05/0.5625, allocations: 87.86 kB / 372.4 MB, free: 8.812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.5625, allocations: 0 / 372.4 MB, free: 8.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.5637, allocations: 251 kB / 372.7 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.5649, allocations: 123.5 kB / 372.8 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/0.5783, allocations: 6.591 MB / 379.4 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.5797, allocations: 102.7 kB / 379.5 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.174e-05/0.5798, allocations: 27.86 kB / 379.5 MB, free: 1.875 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 () * 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.0005769/0.5804, allocations: 215.5 kB / 379.7 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002428/0.5806, allocations: 83.06 kB / 379.8 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.5809, allocations: 85.61 kB / 379.9 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.5809, allocations: 11.98 kB / 379.9 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.5809, allocations: 3.953 kB / 379.9 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004144/0.5851, allocations: 1.253 MB / 381.2 MB, free: 424 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007324/0.5925, allocations: 1.908 MB / 383.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.5926, allocations: 0 / 383.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002004/0.5946, allocations: 131.8 kB / 383.2 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001981/0.5966, allocations: 218.5 kB / 383.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002359/0.5969, allocations: 15.98 kB / 383.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01706/0.614, allocations: 5.118 MB / 388.5 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/0.6141, allocations: 4.031 kB / 388.5 MB, free: 8.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00877/0.6229, allocations: 1.39 MB / 389.9 MB, free: 7.402 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005038/0.6234, allocations: 156.2 kB / 390.1 MB, free: 7.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003811/0.6238, allocations: 23.94 kB / 390.1 MB, free: 7.207 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/0.6252, allocations: 43.88 kB / 390.2 MB, free: 7.164 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003812/0.6257, allocations: 68.5 kB / 390.2 MB, free: 7.098 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.6258, allocations: 20 kB / 390.2 MB, free: 7.078 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001317/0.6271, allocations: 435.1 kB / 390.7 MB, free: 6.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.172e-06/0.6272, allocations: 0 / 390.7 MB, free: 6.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002309/0.6295, allocations: 283.7 kB / 390.9 MB, free: 6.383 MB / 314.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.008396/0.6379, allocations: 1.982 MB / 392.9 MB, free: 4.359 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003512/0.6415, allocations: 1.313 MB / 394.2 MB, free: 2.961 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.497e-06/0.6416, allocations: 4 kB / 394.2 MB, free: 2.957 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002344/0.6439, allocations: 0.7612 MB / 395 MB, free: 2.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.6455, allocations: 200.4 kB / 395.2 MB, free: 1.961 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005846/0.6514, allocations: 2.487 MB / 397.7 MB, free: 15.42 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007063/0.6522, allocations: 0.9477 MB / 398.6 MB, free: 14.44 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007904/0.653, allocations: 94.16 kB / 398.7 MB, free: 14.35 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006542/0.6536, allocations: 287.3 kB / 399 MB, free: 14.07 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.6537, allocations: 0 / 399 MB, free: 14.07 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08203/0.7357, allocations: 21.55 MB / 420.6 MB, free: 8.555 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002694/0.736, allocations: 218.6 kB / 420.8 MB, free: 8.309 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.745/4.481, allocations: 0 / 420.8 MB, free: 8.309 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat does not exist to compare? outputFormat=mat