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.PumpDropOut.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.PumpDropOut,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.874/1.874, allocations: 171.2 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003543, allocations: 4 kB / 233.4 MB, free: 2.273 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09382/0.09421, allocations: 38.77 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3966/0.4909, allocations: 71.33 MB / 343.5 MB, free: 1.504 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.4913, allocations: 74.52 kB / 343.5 MB, free: 1.465 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04228/0.5336, allocations: 9.788 MB / 353.3 MB, free: 9.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.5336, allocations: 0 / 353.3 MB, free: 9.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000113/0.5338, allocations: 12 kB / 353.3 MB, free: 9.219 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00274/0.5365, allocations: 0.8262 MB / 354.2 MB, free: 8.375 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.5366, allocations: 8.031 kB / 354.2 MB, free: 8.367 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000202/0.5368, allocations: 81.06 kB / 354.2 MB, free: 8.301 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.537, allocations: 67.25 kB / 354.3 MB, free: 8.234 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008135/0.5378, allocations: 388.9 kB / 354.7 MB, free: 7.863 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001457/0.538, allocations: 69.22 kB / 354.8 MB, free: 7.805 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-05/0.5381, allocations: 34.38 kB / 354.8 MB, free: 7.781 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.5395, allocations: 0.515 MB / 355.3 MB, free: 7.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.5396, allocations: 0 / 355.3 MB, free: 7.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.618e-05/0.5396, allocations: 13.62 kB / 355.3 MB, free: 7.336 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.5397, allocations: 8 kB / 355.3 MB, free: 7.328 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/0.5412, allocations: 393.3 kB / 355.7 MB, free: 7.043 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00376/0.545, allocations: 1.325 MB / 357 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.5469, allocations: 0.4937 MB / 357.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.335e-05/0.547, allocations: 15.97 kB / 357.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.547, allocations: 41.16 kB / 357.6 MB, free: 5.484 MB / 282.7 MB Notification: Performance of pre-optimization done (n=38): time 3.447e-06/0.547, allocations: 0 / 357.6 MB, free: 5.484 MB / 282.7 MB Notification: Performance of matching and sorting (n=38): time 0.002906/0.55, allocations: 0.7931 MB / 358.4 MB, free: 4.789 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002513/0.5503, allocations: 448.6 kB / 358.8 MB, free: 4.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008199/0.5511, allocations: 410.8 kB / 359.2 MB, free: 3.934 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.5512, allocations: 36.58 kB / 359.2 MB, free: 3.898 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.5514, allocations: 242 kB / 359.5 MB, free: 3.742 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.5516, allocations: 132.4 kB / 359.6 MB, free: 3.629 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.5517, allocations: 3.625 kB / 359.6 MB, free: 3.629 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.5519, allocations: 356.8 kB / 360 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006869/0.5526, allocations: 163.4 kB / 360.1 MB, free: 3.176 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008414/0.5534, allocations: 306.8 kB / 360.4 MB, free: 2.891 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000775/0.5542, allocations: 207.3 kB / 360.6 MB, free: 2.738 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.5542, allocations: 0 / 360.6 MB, free: 2.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001919/0.5562, allocations: 0.5173 MB / 361.1 MB, free: 2.32 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.5562, allocations: 34.33 kB / 361.2 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/0.5563, allocations: 0 / 361.2 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002456/0.5565, allocations: 67.89 kB / 361.2 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008094/0.5574, allocations: 87.88 kB / 361.3 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003409/0.5608, allocations: 2.773 MB / 364.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008033/0.5616, allocations: 63.44 kB / 364.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.888e-05/0.5617, allocations: 19.94 kB / 364.2 MB, free: 15.21 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 (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004231/0.5622, allocations: 172.4 kB / 364.4 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.5623, allocations: 51.44 kB / 364.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.5625, allocations: 63.58 kB / 364.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.5625, allocations: 4 kB / 364.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.5625, allocations: 3.953 kB / 364.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001728/0.5643, allocations: 0.775 MB / 365.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002921/0.5672, allocations: 1.079 MB / 366.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.5673, allocations: 0 / 366.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008936/0.5682, allocations: 107.8 kB / 366.4 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.5682, allocations: 3.953 kB / 366.4 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.86e-05/0.5683, allocations: 7.812 kB / 366.4 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.5683, allocations: 0 / 366.4 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5683, allocations: 0 / 366.4 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/0.5708, allocations: 0.7287 MB / 367.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.5711, allocations: 130.3 kB / 367.3 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.5712, allocations: 14.02 kB / 367.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000558/0.5718, allocations: 38.06 kB / 367.3 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.5719, allocations: 23.16 kB / 367.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.864e-05/0.5719, allocations: 15.11 kB / 367.4 MB, free: 12.4 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005944/0.5726, allocations: 322.6 kB / 367.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5726, allocations: 0 / 367.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000748/0.5733, allocations: 148 kB / 367.8 MB, free: 12.03 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002911/0.5762, allocations: 1.285 MB / 369.1 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002127/0.5784, allocations: 0.6852 MB / 369.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/0.5785, allocations: 3.938 kB / 369.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007564/0.5792, allocations: 204.8 kB / 370 MB, free: 10.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.5803, allocations: 133.9 kB / 370.2 MB, free: 10.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/0.5839, allocations: 1.677 MB / 371.8 MB, free: 8.402 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005705/0.5846, allocations: 0.8433 MB / 372.7 MB, free: 7.531 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004963/0.5851, allocations: 56.36 kB / 372.7 MB, free: 7.477 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003672/0.5855, allocations: 167.8 kB / 372.9 MB, free: 7.422 MB / 298.7 MB Notification: Performance of SimCode: time 1.212e-06/0.5855, allocations: 0 / 372.9 MB, free: 7.422 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04835/0.6338, allocations: 11.91 MB / 384.8 MB, free: 11.57 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004882/0.6344, allocations: 206 kB / 385 MB, free: 11.33 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.221/3.855, allocations: 0 / 385 MB, free: 11.33 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat does not exist to compare? outputFormat=mat