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.001836/0.001836, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 227.2 MB / 245 MB, free: 5.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008922/0.0008922, allocations: 101.3 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002181/0.0002181, allocations: 8 kB / 358 MB, free: 9.223 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1867, allocations: 51.48 MB / 409.5 MB, free: 26.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08584/0.2726, allocations: 82.14 MB / 491.6 MB, free: 8.422 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001797/0.2728, allocations: 83.94 kB / 491.7 MB, free: 8.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02464/0.2975, allocations: 10.28 MB / 0.4902 GB, free: 13.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2975, allocations: 0 / 0.4902 GB, free: 13.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.554e-05/0.2975, allocations: 15.98 kB / 0.4902 GB, free: 13.97 MB / 378.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.001241/0.2988, allocations: 0.839 MB / 0.4911 GB, free: 13.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.2988, allocations: 12.03 kB / 0.4911 GB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/0.299, allocations: 83.52 kB / 0.4912 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.549e-05/0.2991, allocations: 67.25 kB / 0.4912 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005041/0.2996, allocations: 398.2 kB / 0.4916 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.793e-05/0.2997, allocations: 66.59 kB / 0.4917 GB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.41e-05/0.2997, allocations: 36 kB / 0.4917 GB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007762/0.3005, allocations: 0.5174 MB / 0.4922 GB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.3005, allocations: 0 / 0.4922 GB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.875e-05/0.3006, allocations: 19.94 kB / 0.4922 GB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.3006, allocations: 8 kB / 0.4922 GB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008165/0.3014, allocations: 395.7 kB / 0.4926 GB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/0.3034, allocations: 1.352 MB / 0.4939 GB, free: 9.953 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009393/0.3044, allocations: 0.506 MB / 0.4944 GB, free: 9.418 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/0.3044, allocations: 4 kB / 0.4944 GB, free: 9.414 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.3045, allocations: 43.22 kB / 0.4945 GB, free: 9.363 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 1.543e-06/0.3045, allocations: 0 / 0.4945 GB, free: 9.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=38): time 0.001536/0.306, allocations: 0.8067 MB / 0.4953 GB, free: 8.508 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/0.3062, allocations: 445 kB / 0.4957 GB, free: 7.969 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004135/0.3066, allocations: 417.2 kB / 0.4961 GB, free: 7.555 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.3066, allocations: 33.7 kB / 0.4961 GB, free: 7.516 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.3068, allocations: 256.3 kB / 0.4964 GB, free: 7.262 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.051e-05/0.3069, allocations: 130.1 kB / 0.4965 GB, free: 7.133 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/0.3069, allocations: 12 kB / 0.4965 GB, free: 7.121 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.307, allocations: 358.8 kB / 0.4968 GB, free: 6.762 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003622/0.3074, allocations: 151.9 kB / 0.497 GB, free: 6.613 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/0.3079, allocations: 314.3 kB / 0.4973 GB, free: 6.254 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003862/0.3083, allocations: 212.6 kB / 0.4975 GB, free: 6.043 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3083, allocations: 3.984 kB / 0.4975 GB, free: 6.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009496/0.3092, allocations: 0.5244 MB / 0.498 GB, free: 5.496 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.3093, allocations: 33.7 kB / 0.498 GB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3093, allocations: 0 / 0.498 GB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000134/0.3094, allocations: 49.69 kB / 0.4981 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004218/0.3098, allocations: 95.88 kB / 0.4982 GB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/0.3118, allocations: 2.775 MB / 0.5009 GB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/0.3122, allocations: 59.7 kB / 0.5009 GB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.3122, allocations: 16 kB / 0.501 GB, free: 2.188 MB / 378.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.0001878/0.3124, allocations: 173.4 kB / 0.5011 GB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.136e-05/0.3125, allocations: 55.34 kB / 0.5012 GB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.748e-05/0.3126, allocations: 64.86 kB / 0.5012 GB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.3126, allocations: 7.953 kB / 0.5012 GB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.3126, allocations: 0 / 0.5012 GB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009193/0.3135, allocations: 0.77 MB / 0.502 GB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1597/0.4733, allocations: 1.097 MB / 0.5031 GB, free: 93.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.4733, allocations: 3.453 kB / 0.5031 GB, free: 93.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005197/0.4738, allocations: 99.72 kB / 0.5032 GB, free: 93.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.4739, allocations: 2.656 kB / 0.5032 GB, free: 93.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.4739, allocations: 8.375 kB / 0.5032 GB, free: 93.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.4739, allocations: 1.719 kB / 0.5032 GB, free: 93.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4739, allocations: 1.062 kB / 0.5032 GB, free: 93.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.4754, allocations: 0.7412 MB / 0.5039 GB, free: 93.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/0.4756, allocations: 169.2 kB / 0.5041 GB, free: 93.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.437e-05/0.4757, allocations: 9.062 kB / 0.5041 GB, free: 93.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000332/0.476, allocations: 39.88 kB / 0.5041 GB, free: 93.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/0.4761, allocations: 27.52 kB / 0.5041 GB, free: 93.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.4761, allocations: 11.17 kB / 0.5041 GB, free: 93.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000383/0.4765, allocations: 335.7 kB / 0.5045 GB, free: 93.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4765, allocations: 0 / 0.5045 GB, free: 93.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004991/0.477, allocations: 149.4 kB / 0.5046 GB, free: 93.25 MB / 378.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.001483/0.4785, allocations: 1.302 MB / 0.5059 GB, free: 92.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.4796, allocations: 0.6756 MB / 0.5065 GB, free: 92.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4796, allocations: 1.625 kB / 0.5065 GB, free: 92.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003907/0.48, allocations: 201.8 kB / 0.5067 GB, free: 92.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005543/0.4806, allocations: 136 kB / 0.5069 GB, free: 92.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.4826, allocations: 1.694 MB / 0.5085 GB, free: 91.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.483, allocations: 0.8487 MB / 0.5093 GB, free: 90.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002674/0.4832, allocations: 59.78 kB / 0.5094 GB, free: 90.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/0.4835, allocations: 174.8 kB / 0.5096 GB, free: 90.6 MB / 378.7 MB Notification: Performance of SimCode: time 7.51e-07/0.4835, allocations: 1.375 kB / 0.5096 GB, free: 90.6 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.5074, allocations: 12.29 MB / 0.5216 GB, free: 86.29 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/0.5076, allocations: 208.5 kB / 0.5218 GB, free: 86.05 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.121/2.628, allocations: 0 / 0.5218 GB, free: 86.05 MB / 378.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