Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.587/1.587, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003408, allocations: 8 kB / 233.3 MB, free: 2.941 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07826/0.07864, allocations: 38.77 MB / 272.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.339/0.4176, allocations: 72.35 MB / 344.5 MB, free: 1.121 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.418, allocations: 69.91 kB / 344.5 MB, free: 1.086 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07117/0.4892, allocations: 16.24 MB / 360.8 MB, free: 3.383 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.4892, allocations: 0 / 360.8 MB, free: 3.383 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.819e-05/0.4893, allocations: 20 kB / 360.8 MB, free: 3.363 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.00402/0.4934, allocations: 1.203 MB / 362 MB, free: 2.156 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.4934, allocations: 8.031 kB / 362 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004526/0.4939, allocations: 123.5 kB / 362.1 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003495/0.4943, allocations: 110.8 kB / 362.2 MB, free: 1.949 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.4959, allocations: 0.533 MB / 362.8 MB, free: 1.461 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003297/0.4963, allocations: 152.9 kB / 362.9 MB, free: 1.316 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/0.4965, allocations: 61.94 kB / 363 MB, free: 1.273 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002656/0.4992, allocations: 0.906 MB / 363.9 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.447e-05/0.4993, allocations: 0 / 363.9 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.4994, allocations: 28.94 kB / 363.9 MB, free: 500 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.395e-05/0.4994, allocations: 16 kB / 363.9 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002911/0.5024, allocations: 0.6803 MB / 364.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006372/0.5088, allocations: 2.202 MB / 366.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003347/0.5122, allocations: 1.138 MB / 367.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.5124, allocations: 12.64 kB / 367.9 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.221e-05/0.5124, allocations: 54.88 kB / 368 MB, free: 13.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=78): time 3.717e-06/0.5124, allocations: 0 / 368 MB, free: 13.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=78): time 0.01013/0.5226, allocations: 2.035 MB / 370 MB, free: 11.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00041/0.523, allocations: 0.8225 MB / 370.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.5243, allocations: 0.5581 MB / 371.4 MB, free: 9.984 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000258/0.5246, allocations: 44.39 kB / 371.5 MB, free: 9.945 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003419/0.5249, allocations: 357 kB / 371.8 MB, free: 9.711 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004247/0.5254, allocations: 269.3 kB / 372.1 MB, free: 9.477 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.73e-05/0.5254, allocations: 16.25 kB / 372.1 MB, free: 9.473 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.5256, allocations: 346.5 kB / 372.4 MB, free: 9.137 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/0.5269, allocations: 301.6 kB / 372.7 MB, free: 8.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.5287, allocations: 0.5713 MB / 373.3 MB, free: 8.391 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.5302, allocations: 435 kB / 373.7 MB, free: 8.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.719e-06/0.5303, allocations: 0 / 373.7 MB, free: 8.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.004969/0.5352, allocations: 1.15 MB / 374.9 MB, free: 7.133 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.502e-05/0.5354, allocations: 88.3 kB / 375 MB, free: 7.031 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.5354, allocations: 0 / 375 MB, free: 7.031 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.5366, allocations: 258.5 kB / 375.2 MB, free: 6.812 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/0.538, allocations: 150.7 kB / 375.4 MB, free: 6.668 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01254/0.5506, allocations: 6.581 MB / 381.9 MB, free: 188 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.552, allocations: 127.6 kB / 382.1 MB, free: 72 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.5522, allocations: 22.62 kB / 382.1 MB, free: 56 kB / 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 (73): * Single equations (assignments): 66 * 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 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006234/0.5528, allocations: 218.2 kB / 382.3 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002758/0.5531, allocations: 87.06 kB / 382.4 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.5534, allocations: 93.14 kB / 382.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.5534, allocations: 11.95 kB / 382.5 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.5534, allocations: 4 kB / 382.5 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004607/0.5581, allocations: 1.355 MB / 383.8 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007482/0.5656, allocations: 2.068 MB / 385.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/0.5657, allocations: 0 / 385.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/0.5672, allocations: 159.8 kB / 386.1 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/0.5682, allocations: 210.5 kB / 386.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/0.5684, allocations: 16 kB / 386.3 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/0.5792, allocations: 5.118 MB / 391.4 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5792, allocations: 0 / 391.4 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006419/0.5857, allocations: 1.555 MB / 393 MB, free: 4.926 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003878/0.5861, allocations: 168.1 kB / 393.1 MB, free: 4.742 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002883/0.5864, allocations: 20 kB / 393.1 MB, free: 4.723 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.5874, allocations: 75.75 kB / 393.2 MB, free: 4.648 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002798/0.5877, allocations: 57.03 kB / 393.3 MB, free: 4.594 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.282e-05/0.5878, allocations: 27.98 kB / 393.3 MB, free: 4.566 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000944/0.5888, allocations: 447.1 kB / 393.7 MB, free: 4.137 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.605e-06/0.5888, allocations: 0 / 393.7 MB, free: 4.137 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001476/0.5903, allocations: 295.6 kB / 394 MB, free: 3.848 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 (66): * Single equations (assignments): 63 * 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.00698/0.5973, allocations: 2.136 MB / 396.2 MB, free: 1.664 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004137/0.6015, allocations: 1.426 MB / 397.6 MB, free: 160 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.6016, allocations: 0 / 397.6 MB, free: 160 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002726/0.6043, allocations: 0.8237 MB / 398.4 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.606, allocations: 210.7 kB / 398.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00685/0.6129, allocations: 2.703 MB / 401.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000693/0.6136, allocations: 0.9595 MB / 402.3 MB, free: 11.33 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007817/0.6144, allocations: 307.3 kB / 402.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of SimCode: time 8.81e-07/0.6145, allocations: 0 / 402.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.278/3.892, allocations: 24.65 MB / 427.2 MB, free: 2.344 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat does not exist to compare? outputFormat=mat