Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_3_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.00145/0.00145, allocations: 180 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.4 MB / 223.1 MB, free: 9.113 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.0008937/0.0008935, allocations: 86.66 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002709/0.0002709, allocations: 15.98 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2631, allocations: 47.56 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1069/0.37, allocations: 82.01 MB / 457.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.3703, allocations: 71.97 kB / 458 MB, free: 14.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02791/0.3983, allocations: 10.36 MB / 468.3 MB, free: 4.137 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3983, allocations: 0 / 468.3 MB, free: 4.137 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.594e-05/0.3983, allocations: 12 kB / 468.4 MB, free: 4.125 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.001949/0.4003, allocations: 0.8431 MB / 469.2 MB, free: 3.227 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/0.4004, allocations: 11.97 kB / 469.2 MB, free: 3.215 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002172/0.4006, allocations: 79.53 kB / 469.3 MB, free: 3.129 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.4008, allocations: 71.25 kB / 469.4 MB, free: 3.059 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008472/0.4017, allocations: 398.2 kB / 469.7 MB, free: 2.629 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.4018, allocations: 70.64 kB / 469.8 MB, free: 2.551 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-05/0.4019, allocations: 32 kB / 469.8 MB, free: 2.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008848/0.4028, allocations: 0.5137 MB / 470.4 MB, free: 1.953 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.4028, allocations: 4 kB / 470.4 MB, free: 1.949 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.088e-05/0.4028, allocations: 16 kB / 470.4 MB, free: 1.934 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.4029, allocations: 8 kB / 470.4 MB, free: 1.926 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008756/0.4037, allocations: 391.8 kB / 470.8 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00245/0.4062, allocations: 1.363 MB / 472.1 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.4073, allocations: 0.5084 MB / 472.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.81e-05/0.4073, allocations: 4 kB / 472.6 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.4073, allocations: 46.55 kB / 472.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 2.786e-06/0.4074, allocations: 0 / 472.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.001685/0.409, allocations: 0.7908 MB / 473.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002055/0.4093, allocations: 456.6 kB / 473.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004827/0.4098, allocations: 417.2 kB / 474.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/0.4098, allocations: 41.7 kB / 474.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.41, allocations: 248.3 kB / 474.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.4101, allocations: 138 kB / 474.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.035e-05/0.4102, allocations: 4 kB / 474.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4103, allocations: 358.8 kB / 475.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003933/0.4107, allocations: 167.9 kB / 475.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004919/0.4112, allocations: 306.4 kB / 475.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004403/0.4117, allocations: 214.4 kB / 475.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4117, allocations: 0 / 475.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001065/0.4128, allocations: 0.5127 MB / 476.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.358e-05/0.4128, allocations: 33.7 kB / 476.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4128, allocations: 0 / 476.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001911/0.413, allocations: 61.64 kB / 476.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004736/0.4135, allocations: 91.88 kB / 476.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/0.4159, allocations: 2.764 MB / 479.2 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/0.4164, allocations: 63.64 kB / 479.3 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.708e-05/0.4164, allocations: 12 kB / 479.3 MB, free: 8.344 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.0002824/0.4167, allocations: 181.7 kB / 479.5 MB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.4168, allocations: 59.34 kB / 479.5 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.4169, allocations: 52.94 kB / 479.6 MB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.4169, allocations: 11.94 kB / 479.6 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.417, allocations: 4 kB / 479.6 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001062/0.418, allocations: 0.7751 MB / 480.4 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.4201, allocations: 1.088 MB / 481.5 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.4201, allocations: 0 / 481.5 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000497/0.4206, allocations: 107.8 kB / 481.6 MB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.4206, allocations: 4 kB / 481.6 MB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.4206, allocations: 4 kB / 481.6 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.4206, allocations: 4 kB / 481.6 MB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4207, allocations: 0 / 481.6 MB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.422, allocations: 0.7254 MB / 482.3 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000259/0.4223, allocations: 180.4 kB / 482.5 MB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.948e-05/0.4224, allocations: 11.89 kB / 482.5 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/0.4227, allocations: 39.97 kB / 482.5 MB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/0.4228, allocations: 23.97 kB / 482.6 MB, free: 4.871 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.4229, allocations: 4 kB / 482.6 MB, free: 4.867 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004602/0.4233, allocations: 346.9 kB / 482.9 MB, free: 4.531 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4233, allocations: 0 / 482.9 MB, free: 4.531 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005495/0.4239, allocations: 147.8 kB / 483.1 MB, free: 4.387 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.001751/0.4257, allocations: 1.294 MB / 484.3 MB, free: 3.066 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001348/0.427, allocations: 0.6879 MB / 485 MB, free: 2.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.427, allocations: 0 / 485 MB, free: 2.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004177/0.4275, allocations: 203.8 kB / 485.2 MB, free: 2.141 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006642/0.4281, allocations: 136.8 kB / 485.4 MB, free: 2.008 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.4307, allocations: 1.689 MB / 487.1 MB, free: 272 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/0.4312, allocations: 0.8551 MB / 487.9 MB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003122/0.4315, allocations: 60.38 kB / 488 MB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/0.4318, allocations: 175.4 kB / 488.1 MB, free: 15.15 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4318, allocations: 0 / 488.1 MB, free: 15.15 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03294/0.4647, allocations: 12.29 MB / 0.4887 GB, free: 2.879 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002909/0.4651, allocations: 222.2 kB / 0.4889 GB, free: 2.625 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.274/2.739, allocations: 0 / 0.4889 GB, free: 2.625 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat does not exist to compare? outputFormat=mat