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.ParallelPumpDropOut.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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.982/1.982, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003574, allocations: 11.98 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09502/0.09541, allocations: 44.5 MB / 308.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4113/0.5068, allocations: 77.68 MB / 386.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/0.5071, allocations: 79.73 kB / 386.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06457/0.5717, allocations: 16.29 MB / 402.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5718, allocations: 0 / 402.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.409e-05/0.5719, allocations: 19.62 kB / 402.6 MB, free: 12.15 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.00335/0.5752, allocations: 1.201 MB / 403.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.5753, allocations: 11.59 kB / 403.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003883/0.5757, allocations: 130.1 kB / 403.9 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002706/0.576, allocations: 109.3 kB / 404.1 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.5773, allocations: 0.5312 MB / 404.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002982/0.5776, allocations: 154.3 kB / 404.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.5778, allocations: 64.5 kB / 404.8 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/0.58, allocations: 0.9025 MB / 405.7 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.43e-05/0.5801, allocations: 0 / 405.7 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.5802, allocations: 32.75 kB / 405.7 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.5803, allocations: 11.56 kB / 405.7 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/0.5827, allocations: 0.6725 MB / 406.4 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005532/0.5883, allocations: 2.216 MB / 408.6 MB, free: 9.082 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002845/0.5912, allocations: 1.141 MB / 409.8 MB, free: 8.551 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.5913, allocations: 15.59 kB / 409.8 MB, free: 8.551 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.5914, allocations: 61.97 kB / 409.8 MB, free: 8.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=78): time 3.216e-06/0.5914, allocations: 3.938 kB / 409.9 MB, free: 8.496 MB / 314.7 MB Notification: Performance of matching and sorting (n=78): time 0.009496/0.6009, allocations: 2.028 MB / 411.9 MB, free: 7.652 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002034/0.6012, allocations: 0.8226 MB / 412.7 MB, free: 6.648 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.6023, allocations: 0.5599 MB / 413.3 MB, free: 6.461 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002623/0.6026, allocations: 45.52 kB / 413.3 MB, free: 6.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.6028, allocations: 352.3 kB / 413.6 MB, free: 6.223 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003158/0.6032, allocations: 272.9 kB / 413.9 MB, free: 6.023 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.459e-05/0.6032, allocations: 18.66 kB / 413.9 MB, free: 6.023 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.998e-05/0.6033, allocations: 337 kB / 414.3 MB, free: 5.699 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.6045, allocations: 308.9 kB / 414.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.606, allocations: 0.5719 MB / 415.1 MB, free: 5.328 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.6073, allocations: 433.3 kB / 415.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.6073, allocations: 0 / 415.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.005796/0.6132, allocations: 1.153 MB / 416.7 MB, free: 4.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.943e-05/0.6133, allocations: 81.08 kB / 416.8 MB, free: 4.727 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.6133, allocations: 0 / 416.8 MB, free: 4.727 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.6147, allocations: 250.9 kB / 417 MB, free: 4.645 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.6163, allocations: 158.7 kB / 417.2 MB, free: 4.609 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01494/0.6313, allocations: 6.561 MB / 423.8 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/0.6332, allocations: 118.6 kB / 423.9 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.6334, allocations: 25.44 kB / 423.9 MB, free: 15.04 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 (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.0008009/0.6342, allocations: 218.2 kB / 424.1 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003646/0.6346, allocations: 93.52 kB / 424.2 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003457/0.6349, allocations: 102.4 kB / 424.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.635, allocations: 7.875 kB / 424.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.635, allocations: 0 / 424.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005982/0.641, allocations: 1.354 MB / 425.7 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009046/0.6501, allocations: 2.08 MB / 427.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.6502, allocations: 7.812 kB / 427.7 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001938/0.6521, allocations: 158.3 kB / 427.9 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001292/0.6534, allocations: 215.3 kB / 428.1 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002097/0.6537, allocations: 17.77 kB / 428.1 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01359/0.6673, allocations: 5.12 MB / 433.2 MB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6674, allocations: 0 / 433.2 MB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008145/0.6755, allocations: 1.551 MB / 434.8 MB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004924/0.6761, allocations: 177.3 kB / 435 MB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003576/0.6764, allocations: 18.84 kB / 435 MB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/0.6778, allocations: 58.14 kB / 435 MB, free: 8.352 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003477/0.6782, allocations: 66.88 kB / 435.1 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.185e-05/0.6783, allocations: 22.98 kB / 435.1 MB, free: 8.316 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001106/0.6795, allocations: 453.4 kB / 435.6 MB, free: 8.172 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6795, allocations: 0 / 435.6 MB, free: 8.172 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001801/0.6813, allocations: 290.7 kB / 435.9 MB, free: 8.152 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 (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.00889/0.6902, allocations: 2.138 MB / 438 MB, free: 7.191 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004496/0.6948, allocations: 1.425 MB / 439.4 MB, free: 6.395 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/0.6948, allocations: 3.75 kB / 439.4 MB, free: 6.395 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002602/0.6974, allocations: 0.8198 MB / 440.2 MB, free: 5.957 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/0.6993, allocations: 209 kB / 440.5 MB, free: 5.898 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006776/0.7061, allocations: 2.669 MB / 443.1 MB, free: 4.105 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006887/0.7068, allocations: 0.9667 MB / 444.1 MB, free: 3.285 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008375/0.7077, allocations: 310.3 kB / 444.4 MB, free: 3.176 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.7077, allocations: 0 / 444.4 MB, free: 3.176 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.319/4.027, allocations: 24.68 MB / 469.1 MB, free: 11.59 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat does not exist to compare? outputFormat=mat