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.00118/0.001179, allocations: 172.8 kB / 14.1 MB, free: 1.223 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.337/1.337, allocations: 205.2 MB / 219.8 MB, free: 14.26 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.0007597/0.0007597, allocations: 86.66 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.017e-05/3.018e-05, allocations: 0 / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0849/0.08495, allocations: 47.57 MB / 370.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2844/0.3694, allocations: 81.9 MB / 452 MB, free: 11.4 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.3697, allocations: 74 kB / 452.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02631/0.396, allocations: 10.36 MB / 462.4 MB, free: 2.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3961, allocations: 0 / 462.4 MB, free: 2.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.571e-05/0.3961, allocations: 8 kB / 462.4 MB, free: 2.402 MB / 330.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.001149/0.3973, allocations: 0.7617 MB / 463.2 MB, free: 1.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3973, allocations: 8.031 kB / 463.2 MB, free: 1.582 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.3974, allocations: 75.31 kB / 463.3 MB, free: 1.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.3976, allocations: 67.25 kB / 463.4 MB, free: 1.434 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005364/0.3981, allocations: 390.1 kB / 463.7 MB, free: 1.012 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.554e-05/0.3982, allocations: 62.44 kB / 463.8 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.953e-05/0.3983, allocations: 36 kB / 463.8 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006722/0.3989, allocations: 478.8 kB / 464.3 MB, free: 392 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.399, allocations: 4 kB / 464.3 MB, free: 388 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.818e-05/0.399, allocations: 16 kB / 464.3 MB, free: 372 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.399, allocations: 8 kB / 464.3 MB, free: 364 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004847/0.3995, allocations: 291.1 kB / 464.6 MB, free: 72 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.4016, allocations: 1.362 MB / 466 MB, free: 14.63 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007271/0.4024, allocations: 441 kB / 466.4 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.4026, allocations: 156.9 kB / 466.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/0.4027, allocations: 11.98 kB / 466.6 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.4027, allocations: 42.55 kB / 466.6 MB, free: 13.95 MB / 346.7 MB Notification: Performance of pre-optimization done (n=38): time 1.723e-06/0.4027, allocations: 4 kB / 466.6 MB, free: 13.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.0007534/0.4035, allocations: 391.8 kB / 467 MB, free: 13.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001882/0.4037, allocations: 452.9 kB / 467.4 MB, free: 13.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004449/0.4041, allocations: 415.9 kB / 467.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.674e-05/0.4042, allocations: 33.7 kB / 467.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.4044, allocations: 252.3 kB / 468.1 MB, free: 12.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.4045, allocations: 130.1 kB / 468.3 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.4045, allocations: 16 kB / 468.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4046, allocations: 358.8 kB / 468.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.4049, allocations: 111.9 kB / 468.7 MB, free: 11.69 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.4052, allocations: 255.8 kB / 469 MB, free: 11.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.4054, allocations: 160.7 kB / 469.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4054, allocations: 3.953 kB / 469.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007669/0.4062, allocations: 456.3 kB / 469.6 MB, free: 10.76 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/0.4063, allocations: 29.7 kB / 469.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.4063, allocations: 7.938 kB / 469.6 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002475/0.4065, allocations: 61.62 kB / 469.7 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004363/0.407, allocations: 99.91 kB / 469.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.4093, allocations: 2.728 MB / 472.5 MB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/0.4097, allocations: 63.7 kB / 472.6 MB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.4098, allocations: 8 kB / 472.6 MB, free: 7.484 MB / 346.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 () * 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.0001328/0.4099, allocations: 132.9 kB / 472.7 MB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-05/0.41, allocations: 59.33 kB / 472.8 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.4101, allocations: 57.25 kB / 472.8 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4101, allocations: 8 kB / 472.8 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4102, allocations: 7.984 kB / 472.8 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006364/0.4108, allocations: 0.6839 MB / 473.5 MB, free: 6.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.4121, allocations: 1.001 MB / 474.5 MB, free: 5.363 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.4121, allocations: 0 / 474.5 MB, free: 5.363 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/0.4126, allocations: 103.9 kB / 474.6 MB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4126, allocations: 0 / 474.6 MB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/0.4126, allocations: 8 kB / 474.6 MB, free: 5.254 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4126, allocations: 0 / 474.6 MB, free: 5.254 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.4127, allocations: 0 / 474.6 MB, free: 5.254 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007495/0.4134, allocations: 0.5889 MB / 475.2 MB, free: 4.645 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.4136, allocations: 176.4 kB / 475.4 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.734e-05/0.4137, allocations: 12 kB / 475.4 MB, free: 4.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.414, allocations: 31.97 kB / 475.4 MB, free: 4.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.643e-05/0.4141, allocations: 23.97 kB / 475.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.4141, allocations: 12 kB / 475.5 MB, free: 4.375 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003388/0.4145, allocations: 337.5 kB / 475.8 MB, free: 4.047 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4145, allocations: 4 kB / 475.8 MB, free: 4.043 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004258/0.4149, allocations: 151.8 kB / 476 MB, free: 3.895 MB / 346.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 () * 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.00111/0.416, allocations: 1.142 MB / 477.1 MB, free: 2.723 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008865/0.4169, allocations: 0.5902 MB / 477.7 MB, free: 2.094 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4169, allocations: 0 / 477.7 MB, free: 2.094 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000241/0.4172, allocations: 155.9 kB / 477.8 MB, free: 1.941 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006165/0.4178, allocations: 128.4 kB / 478 MB, free: 1.82 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.4195, allocations: 0.7717 MB / 478.7 MB, free: 1.012 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.4199, allocations: 0.8512 MB / 479.6 MB, free: 136 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000255/0.4202, allocations: 60.39 kB / 479.6 MB, free: 72 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/0.4204, allocations: 175.5 kB / 479.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4204, allocations: 4 kB / 479.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02849/0.4489, allocations: 12.39 MB / 492.2 MB, free: 3.488 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/0.4492, allocations: 192.2 kB / 492.4 MB, free: 3.254 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.169/2.618, allocations: 0 / 492.4 MB, free: 3.254 MB / 362.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