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.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_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.939/1.939, allocations: 171.1 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.000354, allocations: 8 kB / 233.3 MB, free: 2.281 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1478, allocations: 38.77 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3858/0.5337, allocations: 72.36 MB / 344.5 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003341/0.5341, allocations: 76.02 kB / 344.5 MB, free: 0.543 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07646/0.6105, allocations: 16.23 MB / 360.8 MB, free: 2.855 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.6106, allocations: 4 kB / 360.8 MB, free: 2.852 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.87e-05/0.6107, allocations: 23.98 kB / 360.8 MB, free: 2.828 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.003806/0.6145, allocations: 1.201 MB / 362 MB, free: 1.621 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.6146, allocations: 8.031 kB / 362 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004129/0.615, allocations: 119.3 kB / 362.1 MB, free: 1.527 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003092/0.6153, allocations: 114.8 kB / 362.2 MB, free: 1.414 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.6168, allocations: 0.5373 MB / 362.8 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003035/0.6171, allocations: 147.7 kB / 362.9 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.6173, allocations: 65.5 kB / 363 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002595/0.6199, allocations: 0.8998 MB / 363.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.701e-05/0.62, allocations: 4 kB / 363.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.6202, allocations: 31.69 kB / 363.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.6202, allocations: 12 kB / 363.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002686/0.6229, allocations: 0.6761 MB / 364.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006154/0.6291, allocations: 2.195 MB / 366.8 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003256/0.6324, allocations: 1.143 MB / 368 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/0.6326, allocations: 20.62 kB / 368 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.652e-05/0.6327, allocations: 56.7 kB / 368 MB, free: 12.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=78): time 4.418e-06/0.6327, allocations: 4 kB / 368 MB, free: 12.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=78): time 0.01027/0.643, allocations: 2.033 MB / 370.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004195/0.6435, allocations: 0.8231 MB / 370.9 MB, free: 9.871 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.6447, allocations: 0.5523 MB / 371.4 MB, free: 9.449 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002444/0.6449, allocations: 45.33 kB / 371.5 MB, free: 9.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.6453, allocations: 338.4 kB / 371.8 MB, free: 9.215 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003531/0.6457, allocations: 278 kB / 372.1 MB, free: 8.977 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.897e-05/0.6457, allocations: 19.44 kB / 372.1 MB, free: 8.969 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.646, allocations: 401.4 kB / 372.5 MB, free: 8.602 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.6472, allocations: 303.6 kB / 372.8 MB, free: 8.391 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/0.6488, allocations: 0.5695 MB / 373.4 MB, free: 7.855 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.6502, allocations: 428.1 kB / 373.8 MB, free: 7.539 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.6503, allocations: 0 / 373.8 MB, free: 7.539 MB / 298.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.004935/0.6552, allocations: 1.207 MB / 375 MB, free: 6.547 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.991e-05/0.6554, allocations: 86.2 kB / 375.1 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.6554, allocations: 0 / 375.1 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.6566, allocations: 255.2 kB / 375.3 MB, free: 6.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.658, allocations: 151.3 kB / 375.5 MB, free: 6.086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/0.6704, allocations: 6.576 MB / 382 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.6719, allocations: 121.7 kB / 382.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.672, allocations: 26.61 kB / 382.2 MB, free: 15.48 MB / 314.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.0005863/0.6726, allocations: 218.9 kB / 382.4 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002692/0.6729, allocations: 87.06 kB / 382.5 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.6732, allocations: 89.41 kB / 382.6 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/0.6732, allocations: 15.94 kB / 382.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.6732, allocations: 4 kB / 382.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004593/0.6778, allocations: 1.347 MB / 383.9 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007351/0.6852, allocations: 2.067 MB / 386 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.6853, allocations: 0 / 386 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/0.6868, allocations: 163.8 kB / 386.2 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.6878, allocations: 214.5 kB / 386.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001771/0.688, allocations: 19.98 kB / 386.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/0.6988, allocations: 5.118 MB / 391.5 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.6988, allocations: 7.984 kB / 391.5 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006374/0.7052, allocations: 1.551 MB / 393.1 MB, free: 4.234 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003904/0.7057, allocations: 175.9 kB / 393.2 MB, free: 4.043 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002531/0.7059, allocations: 20 kB / 393.3 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009485/0.7069, allocations: 55.92 kB / 393.3 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002781/0.7072, allocations: 72.55 kB / 393.4 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.231e-05/0.7073, allocations: 20 kB / 393.4 MB, free: 3.879 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009523/0.7082, allocations: 455 kB / 393.9 MB, free: 3.441 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.7082, allocations: 0 / 393.9 MB, free: 3.441 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00142/0.7097, allocations: 295.6 kB / 394.1 MB, free: 3.152 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.006956/0.7167, allocations: 2.143 MB / 396.3 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004098/0.7208, allocations: 1.414 MB / 397.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.7209, allocations: 0 / 397.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002681/0.7236, allocations: 0.8237 MB / 398.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/0.7254, allocations: 211.4 kB / 398.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007111/0.7326, allocations: 2.662 MB / 401.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00071/0.7333, allocations: 0.9635 MB / 402.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008157/0.7342, allocations: 90.44 kB / 402.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006628/0.7348, allocations: 299.3 kB / 402.7 MB, free: 10.3 MB / 330.7 MB Notification: Performance of SimCode: time 1.372e-06/0.7349, allocations: 0 / 402.7 MB, free: 10.3 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1008/0.8357, allocations: 22.51 MB / 425.3 MB, free: 3.824 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003198/0.8361, allocations: 223.3 kB / 425.5 MB, free: 3.578 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.765/4.601, allocations: 0 / 425.5 MB, free: 3.578 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat does not exist to compare? outputFormat=mat