Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",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.001214/0.001214, allocations: 172.5 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.347/1.347, allocations: 205.2 MB / 219.8 MB, free: 14.28 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.0007764/0.0007764, allocations: 98.56 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.137e-05/3.151e-05, allocations: 8 kB / 322.5 MB, free: 17.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09065/0.0907, allocations: 47.57 MB / 370.1 MB, free: 1.625 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3008/0.3915, allocations: 82.72 MB / 452.8 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.3918, allocations: 68.78 kB / 452.9 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04543/0.4373, allocations: 17.01 MB / 469.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4373, allocations: 4 kB / 469.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.615e-05/0.4374, allocations: 20 kB / 469.9 MB, free: 10.87 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001992/0.4394, allocations: 1.112 MB / 471 MB, free: 9.695 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.4394, allocations: 12.03 kB / 471.1 MB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002044/0.4396, allocations: 115.7 kB / 471.2 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/0.4399, allocations: 118.7 kB / 471.3 MB, free: 9.445 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009313/0.4408, allocations: 0.544 MB / 471.8 MB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001962/0.441, allocations: 150.4 kB / 472 MB, free: 8.695 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.4411, allocations: 71.92 kB / 472.1 MB, free: 8.625 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.4424, allocations: 0.8316 MB / 472.9 MB, free: 7.691 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.4425, allocations: 0 / 472.9 MB, free: 7.691 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.77e-05/0.4426, allocations: 31.94 kB / 472.9 MB, free: 7.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.4426, allocations: 16 kB / 472.9 MB, free: 7.645 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009892/0.4436, allocations: 0.5246 MB / 473.5 MB, free: 7.117 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003632/0.4472, allocations: 2.244 MB / 475.7 MB, free: 4.777 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.4486, allocations: 0.9889 MB / 476.7 MB, free: 3.699 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005319/0.4491, allocations: 351.8 kB / 477 MB, free: 3.352 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.265e-05/0.4492, allocations: 20.72 kB / 477.1 MB, free: 3.332 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/0.4492, allocations: 43.34 kB / 477.1 MB, free: 3.281 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 3.186e-06/0.4492, allocations: 0 / 477.1 MB, free: 3.281 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.002312/0.4516, allocations: 0.924 MB / 478 MB, free: 2.336 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003639/0.4519, allocations: 0.8235 MB / 478.8 MB, free: 1.316 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007961/0.4527, allocations: 0.5703 MB / 479.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.895e-05/0.4528, allocations: 45.7 kB / 479.5 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.4531, allocations: 356.9 kB / 479.8 MB, free: 340 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/0.4533, allocations: 272 kB / 480.1 MB, free: 64 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.4534, allocations: 16 kB / 480.1 MB, free: 48 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.4535, allocations: 334.1 kB / 480.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004104/0.454, allocations: 233.5 kB / 480.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006325/0.4546, allocations: 0.4977 MB / 481.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005246/0.4551, allocations: 361.4 kB / 481.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.4551, allocations: 4 kB / 481.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002202/0.4574, allocations: 1.066 MB / 482.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.548e-05/0.4574, allocations: 81.11 kB / 482.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4575, allocations: 4 kB / 482.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006403/0.4581, allocations: 211.2 kB / 482.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006797/0.4588, allocations: 151.8 kB / 483 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006548/0.4654, allocations: 6.23 MB / 489.2 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008759/0.4663, allocations: 127.3 kB / 489.4 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.546e-05/0.4664, allocations: 27.98 kB / 489.4 MB, free: 6.023 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002337/0.4666, allocations: 160.8 kB / 489.5 MB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.4668, allocations: 90.97 kB / 489.6 MB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.4671, allocations: 100.5 kB / 489.7 MB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/0.4671, allocations: 4 kB / 489.7 MB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.4671, allocations: 4 kB / 489.7 MB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002031/0.4691, allocations: 1.197 MB / 490.9 MB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003614/0.4728, allocations: 1.937 MB / 492.9 MB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.4728, allocations: 0 / 492.9 MB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007476/0.4735, allocations: 159.8 kB / 493 MB, free: 2.188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004148/0.474, allocations: 166.5 kB / 493.2 MB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.519e-05/0.474, allocations: 12 kB / 493.2 MB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005263/0.4793, allocations: 4.793 MB / 498 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4793, allocations: 0 / 498 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/0.482, allocations: 1.324 MB / 499.3 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000524/0.4826, allocations: 251.8 kB / 499.6 MB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/0.4828, allocations: 23.94 kB / 499.6 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006584/0.4835, allocations: 67.86 kB / 499.6 MB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/0.4837, allocations: 64.69 kB / 499.7 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-05/0.4837, allocations: 19.98 kB / 499.7 MB, free: 11.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007189/0.4845, allocations: 471.1 kB / 0.4885 GB, free: 10.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4845, allocations: 4 kB / 0.4885 GB, free: 10.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001008/0.4855, allocations: 295.7 kB / 0.4888 GB, free: 10.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002943/0.4884, allocations: 1.916 MB / 0.4906 GB, free: 8.312 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.4903, allocations: 1.263 MB / 0.4919 GB, free: 6.957 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.4903, allocations: 4 kB / 0.4919 GB, free: 6.953 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.4915, allocations: 0.7385 MB / 0.4926 GB, free: 6.176 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.4926, allocations: 218.8 kB / 0.4928 GB, free: 5.969 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.4955, allocations: 1.448 MB / 0.4942 GB, free: 4.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005326/0.4961, allocations: 0.9792 MB / 0.4952 GB, free: 3.477 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004786/0.4966, allocations: 98.67 kB / 0.4953 GB, free: 3.375 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004263/0.497, allocations: 307.3 kB / 0.4955 GB, free: 3.074 MB / 378.7 MB Notification: Performance of SimCode: time 1.232e-06/0.497, allocations: 4 kB / 0.4956 GB, free: 3.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04833/0.5453, allocations: 23.35 MB / 0.5184 GB, free: 11.69 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002591/0.5457, allocations: 204.7 kB / 0.5185 GB, free: 11.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.615/3.161, allocations: 0 / 0.5185 GB, free: 11.45 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat does not exist to compare? outputFormat=mat