Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.662/1.662, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009678/0.0009678, allocations: 88.06 kB / 292.1 MB, free: 6 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.917e-05/3.921e-05, allocations: 4 kB / 350.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1251, allocations: 51.49 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4261/0.5513, allocations: 82.08 MB / 484.2 MB, free: 7.371 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/0.5517, allocations: 72.45 kB / 484.3 MB, free: 7.336 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02781/0.5795, allocations: 10.26 MB / 494.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.5796, allocations: 4 kB / 494.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.721e-05/0.5797, allocations: 11.98 kB / 494.6 MB, free: 14.69 MB / 362.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.002133/0.5818, allocations: 0.7573 MB / 495.3 MB, free: 13.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.14e-05/0.5819, allocations: 8.031 kB / 495.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002856/0.5822, allocations: 75.31 kB / 495.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002819/0.5825, allocations: 71.23 kB / 495.5 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009091/0.5834, allocations: 390.6 kB / 495.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.5836, allocations: 74.02 kB / 495.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.5837, allocations: 36 kB / 495.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008933/0.5846, allocations: 474.8 kB / 496.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.5846, allocations: 0 / 496.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.747e-05/0.5847, allocations: 16 kB / 496.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.5847, allocations: 8 kB / 496.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006545/0.5854, allocations: 295 kB / 496.7 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00302/0.5884, allocations: 1.355 MB / 498.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009236/0.5894, allocations: 434.6 kB / 498.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003433/0.5897, allocations: 166.2 kB / 498.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.855e-05/0.5898, allocations: 8.656 kB / 498.7 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/0.5898, allocations: 42.5 kB / 498.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 2.574e-06/0.5899, allocations: 4 kB / 498.7 MB, free: 10.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.0009688/0.5908, allocations: 397.5 kB / 499.1 MB, free: 9.859 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000254/0.5911, allocations: 445 kB / 499.5 MB, free: 9.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005765/0.5917, allocations: 416 kB / 499.9 MB, free: 8.902 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.843e-05/0.5917, allocations: 37.7 kB / 500 MB, free: 8.859 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.592, allocations: 248.3 kB / 0.4885 GB, free: 8.613 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.5921, allocations: 138 kB / 0.4886 GB, free: 8.477 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.5921, allocations: 8 kB / 0.4886 GB, free: 8.469 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.5923, allocations: 358.8 kB / 0.489 GB, free: 8.109 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.5926, allocations: 112 kB / 0.4891 GB, free: 8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003626/0.5929, allocations: 254.4 kB / 0.4893 GB, free: 7.703 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.5933, allocations: 162.1 kB / 0.4895 GB, free: 7.543 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5933, allocations: 0 / 0.4895 GB, free: 7.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008727/0.5942, allocations: 456.9 kB / 0.4899 GB, free: 7.078 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.842e-05/0.5943, allocations: 29.7 kB / 0.49 GB, free: 7.043 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.5943, allocations: 4 kB / 0.49 GB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003053/0.5946, allocations: 65.67 kB / 0.49 GB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/0.595, allocations: 95.86 kB / 0.4901 GB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002786/0.5978, allocations: 2.74 MB / 0.4928 GB, free: 3.867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.5983, allocations: 62.61 kB / 0.4928 GB, free: 3.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.5984, allocations: 12 kB / 0.4929 GB, free: 3.797 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 () * 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.0001658/0.5985, allocations: 136.9 kB / 0.493 GB, free: 3.656 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.5987, allocations: 59.3 kB / 0.493 GB, free: 3.598 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.5988, allocations: 61.28 kB / 0.4931 GB, free: 3.539 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.5988, allocations: 4 kB / 0.4931 GB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5988, allocations: 0 / 0.4931 GB, free: 3.535 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007476/0.5996, allocations: 0.6775 MB / 0.4938 GB, free: 2.754 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.6013, allocations: 0.9968 MB / 0.4947 GB, free: 1.695 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.6013, allocations: 0 / 0.4947 GB, free: 1.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004784/0.6018, allocations: 99.88 kB / 0.4948 GB, free: 1.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.6018, allocations: 3.984 kB / 0.4948 GB, free: 1.594 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/0.6019, allocations: 8 kB / 0.4948 GB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.6019, allocations: 0 / 0.4948 GB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6019, allocations: 0 / 0.4948 GB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009243/0.6028, allocations: 0.6005 MB / 0.4954 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/0.6031, allocations: 176.3 kB / 0.4956 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.866e-05/0.6032, allocations: 8 kB / 0.4956 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/0.6036, allocations: 35.97 kB / 0.4956 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.733e-05/0.6037, allocations: 34.55 kB / 0.4957 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.6037, allocations: 12 kB / 0.4957 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000432/0.6041, allocations: 333.6 kB / 0.496 GB, free: 372 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6041, allocations: 0 / 0.496 GB, free: 372 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005404/0.6047, allocations: 147.8 kB / 0.4961 GB, free: 224 kB / 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 () * 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.001416/0.6061, allocations: 1.15 MB / 0.4973 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.6072, allocations: 0.5857 MB / 0.4978 GB, free: 14.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.6072, allocations: 0 / 0.4978 GB, free: 14.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.6075, allocations: 155.9 kB / 0.498 GB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007285/0.6083, allocations: 126.6 kB / 0.4981 GB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.6104, allocations: 0.7638 MB / 0.4989 GB, free: 13.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006528/0.611, allocations: 0.8492 MB / 0.4997 GB, free: 12.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000323/0.6114, allocations: 64.38 kB / 0.4997 GB, free: 12.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003125/0.6117, allocations: 179.4 kB / 0.4999 GB, free: 12.23 MB / 378.7 MB Notification: Performance of SimCode: time 1.403e-06/0.6117, allocations: 0 / 0.4999 GB, free: 12.23 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03427/0.646, allocations: 12.38 MB / 0.512 GB, free: 228 kB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/0.6463, allocations: 188.3 kB / 0.5122 GB, free: 16 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.62/3.267, allocations: 0 / 0.5122 GB, free: 16 MB / 394.7 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat does not exist to compare? outputFormat=mat