Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00153/0.001529, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.4 MB / 222.5 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 91.39 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003973, allocations: 8 kB / 327.1 MB, free: 132 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3449, allocations: 47.57 MB / 374.6 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.135/0.48, allocations: 82 MB / 456.6 MB, free: 14.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.4803, allocations: 79.95 kB / 456.7 MB, free: 14.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04573/0.5261, allocations: 10.36 MB / 467.1 MB, free: 4.152 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5261, allocations: 0 / 467.1 MB, free: 4.152 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.387e-05/0.5262, allocations: 12 kB / 467.1 MB, free: 4.141 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.002215/0.5284, allocations: 0.8431 MB / 467.9 MB, free: 3.242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.192e-05/0.5285, allocations: 8.031 kB / 467.9 MB, free: 3.234 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002103/0.5287, allocations: 83.47 kB / 468 MB, free: 3.145 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.5289, allocations: 67.25 kB / 468.1 MB, free: 3.078 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008704/0.5298, allocations: 398.2 kB / 468.5 MB, free: 2.648 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.53, allocations: 66.64 kB / 468.5 MB, free: 2.574 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.25e-05/0.5301, allocations: 40 kB / 468.6 MB, free: 2.535 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.5315, allocations: 0.5137 MB / 469.1 MB, free: 1.969 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.5316, allocations: 4 kB / 469.1 MB, free: 1.965 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.9e-05/0.5316, allocations: 16 kB / 469.1 MB, free: 1.949 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.5317, allocations: 11.98 kB / 469.1 MB, free: 1.938 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/0.5333, allocations: 387.8 kB / 469.5 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00382/0.5371, allocations: 1.359 MB / 470.9 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.539, allocations: 0.5102 MB / 471.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.902e-05/0.5391, allocations: 11.98 kB / 471.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.353e-05/0.5392, allocations: 42.56 kB / 471.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 3.517e-06/0.5392, allocations: 0 / 471.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.002989/0.5422, allocations: 0.7986 MB / 472.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002404/0.5425, allocations: 452.6 kB / 472.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008531/0.5434, allocations: 417.2 kB / 473.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.869e-05/0.5435, allocations: 37.7 kB / 473.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.5437, allocations: 286.8 kB / 473.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/0.544, allocations: 134 kB / 473.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.544, allocations: 12 kB / 473.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.5442, allocations: 318.8 kB / 473.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000776/0.545, allocations: 163.9 kB / 474 MB, free: 12.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009084/0.5459, allocations: 306.4 kB / 474.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007981/0.5467, allocations: 214.3 kB / 474.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.5467, allocations: 0 / 474.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001858/0.5486, allocations: 493.5 kB / 475 MB, free: 11.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.219e-05/0.5487, allocations: 33.7 kB / 475 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.5487, allocations: 0 / 475 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002406/0.549, allocations: 53.64 kB / 475.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008224/0.5498, allocations: 95.88 kB / 475.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003617/0.5534, allocations: 2.768 MB / 477.9 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008197/0.5543, allocations: 59.64 kB / 478 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-05/0.5544, allocations: 12 kB / 478 MB, free: 8.398 MB / 362.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.0004214/0.5548, allocations: 181.7 kB / 478.2 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.555, allocations: 55.34 kB / 478.2 MB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.5552, allocations: 60.94 kB / 478.3 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.5552, allocations: 7.953 kB / 478.3 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.5552, allocations: 3.984 kB / 478.3 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0018/0.557, allocations: 0.7674 MB / 479.1 MB, free: 7.215 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003051/0.5601, allocations: 1.096 MB / 480.2 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5601, allocations: 4 kB / 480.2 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009258/0.5611, allocations: 107.8 kB / 480.3 MB, free: 5.949 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.5611, allocations: 4 kB / 480.3 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/0.5612, allocations: 4 kB / 480.3 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.5612, allocations: 4 kB / 480.3 MB, free: 5.938 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.5612, allocations: 0 / 480.3 MB, free: 5.938 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002511/0.5637, allocations: 0.7215 MB / 481 MB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003819/0.5641, allocations: 176.4 kB / 481.2 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.5643, allocations: 19.89 kB / 481.2 MB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006079/0.5649, allocations: 35.97 kB / 481.2 MB, free: 4.949 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.565, allocations: 23.97 kB / 481.3 MB, free: 4.926 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/0.565, allocations: 8 kB / 481.3 MB, free: 4.918 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006312/0.5657, allocations: 338.9 kB / 481.6 MB, free: 4.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5657, allocations: 4 kB / 481.6 MB, free: 4.586 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007208/0.5664, allocations: 151.8 kB / 481.7 MB, free: 4.438 MB / 362.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.002928/0.5694, allocations: 1.286 MB / 483 MB, free: 3.125 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002121/0.5715, allocations: 0.6917 MB / 483.7 MB, free: 2.395 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/0.5716, allocations: 0 / 483.7 MB, free: 2.395 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007708/0.5724, allocations: 207.8 kB / 483.9 MB, free: 2.191 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.5735, allocations: 130.9 kB / 484.1 MB, free: 2.062 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/0.577, allocations: 1.722 MB / 485.8 MB, free: 288 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/0.5776, allocations: 0.8512 MB / 486.6 MB, free: 15.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004706/0.5781, allocations: 183.4 kB / 486.8 MB, free: 15.22 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5781, allocations: 0 / 486.8 MB, free: 15.22 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.844/3.422, allocations: 10.82 MB / 497.6 MB, free: 4.426 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat does not exist to compare? outputFormat=mat