Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 184.9 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009987/0.0009987, allocations: 90.97 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002378/0.0002378, allocations: 8 kB / 351.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2249, allocations: 50.41 MB / 401.6 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1061/0.331, allocations: 82.05 MB / 483.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.3313, allocations: 71.97 kB / 483.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04596/0.3773, allocations: 16.72 MB / 0.4887 GB, free: 13.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3774, allocations: 4 kB / 0.4887 GB, free: 13.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.65e-05/0.3774, allocations: 16 kB / 0.4887 GB, free: 13.47 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002531/0.38, allocations: 1.243 MB / 0.4899 GB, free: 12.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/0.38, allocations: 8.031 kB / 0.4899 GB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002287/0.3803, allocations: 131.7 kB / 0.4901 GB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.3805, allocations: 110.8 kB / 0.4902 GB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009466/0.3814, allocations: 0.5473 MB / 0.4907 GB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002175/0.3817, allocations: 154.4 kB / 0.4908 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.3818, allocations: 60.34 kB / 0.4909 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.3834, allocations: 0.9188 MB / 0.4918 GB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.3834, allocations: 4 kB / 0.4918 GB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.168e-05/0.3835, allocations: 36 kB / 0.4918 GB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/0.3835, allocations: 12 kB / 0.4919 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.385, allocations: 0.6844 MB / 0.4925 GB, free: 9.332 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003781/0.3888, allocations: 2.244 MB / 0.4947 GB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.3906, allocations: 1.144 MB / 0.4958 GB, free: 5.766 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.794e-05/0.3907, allocations: 16.64 kB / 0.4958 GB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.3907, allocations: 51.22 kB / 0.4959 GB, free: 5.691 MB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 3.206e-06/0.3907, allocations: 0 / 0.4959 GB, free: 5.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.005533/0.3963, allocations: 2.045 MB / 0.4979 GB, free: 3.559 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004013/0.3967, allocations: 0.8272 MB / 0.4987 GB, free: 2.531 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008631/0.3976, allocations: 0.5857 MB / 0.4993 GB, free: 1.938 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001299/0.3977, allocations: 45.7 kB / 0.4993 GB, free: 1.887 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/0.3981, allocations: 356.9 kB / 0.4997 GB, free: 1.531 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/0.3984, allocations: 272 kB / 0.4999 GB, free: 1.262 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.3984, allocations: 12 kB / 0.4999 GB, free: 1.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3986, allocations: 334 kB / 0.5002 GB, free: 0.918 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006954/0.3993, allocations: 309.8 kB / 0.5005 GB, free: 0.6133 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2337/0.633, allocations: 0.5723 MB / 0.5011 GB, free: 94.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.6343, allocations: 432.9 kB / 0.5015 GB, free: 94.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.6344, allocations: 1.969 kB / 0.5015 GB, free: 94.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003571/0.6379, allocations: 1.212 MB / 0.5027 GB, free: 93.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.274e-05/0.638, allocations: 86.05 kB / 0.5028 GB, free: 93.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.638, allocations: 0.5 kB / 0.5028 GB, free: 93.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007875/0.6388, allocations: 251.9 kB / 0.503 GB, free: 93.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007416/0.6396, allocations: 154.3 kB / 0.5032 GB, free: 93.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007289/0.6469, allocations: 6.58 MB / 0.5096 GB, free: 88.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009817/0.6479, allocations: 121.2 kB / 0.5097 GB, free: 88.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.632e-05/0.648, allocations: 27.17 kB / 0.5097 GB, free: 88.7 MB / 378.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 () * Number of clocked 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.000398/0.6484, allocations: 220.4 kB / 0.5099 GB, free: 88.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.6485, allocations: 94.66 kB / 0.51 GB, free: 88.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.6487, allocations: 103 kB / 0.5101 GB, free: 88.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.6487, allocations: 7.781 kB / 0.5101 GB, free: 88.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.6487, allocations: 0 / 0.5101 GB, free: 88.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002265/0.651, allocations: 1.355 MB / 0.5115 GB, free: 87.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003545/0.6545, allocations: 2.092 MB / 0.5135 GB, free: 87.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.6546, allocations: 5.438 kB / 0.5135 GB, free: 87.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007416/0.6553, allocations: 152.7 kB / 0.5137 GB, free: 87.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00051/0.6559, allocations: 215.8 kB / 0.5139 GB, free: 87.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.071e-05/0.6559, allocations: 16.34 kB / 0.5139 GB, free: 87.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005212/0.6611, allocations: 5.128 MB / 0.5189 GB, free: 83.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6612, allocations: 9.234 kB / 0.5189 GB, free: 83.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002996/0.6642, allocations: 1.558 MB / 0.5204 GB, free: 82.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003505/0.6645, allocations: 241.2 kB / 0.5206 GB, free: 82.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.6646, allocations: 24.61 kB / 0.5207 GB, free: 82.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005256/0.6652, allocations: 67.38 kB / 0.5207 GB, free: 82.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.6654, allocations: 64.88 kB / 0.5208 GB, free: 82.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/0.6654, allocations: 19.5 kB / 0.5208 GB, free: 82.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004939/0.6659, allocations: 471.6 kB / 0.5213 GB, free: 82.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.6659, allocations: 0 / 0.5213 GB, free: 82.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008165/0.6667, allocations: 303.9 kB / 0.5216 GB, free: 82.29 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 () * Number of clocked 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.003153/0.6699, allocations: 2.161 MB / 0.5237 GB, free: 81.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002214/0.6721, allocations: 1.421 MB / 0.525 GB, free: 80.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.6721, allocations: 0 / 0.525 GB, free: 80.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.6734, allocations: 0.8268 MB / 0.5259 GB, free: 79.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.6745, allocations: 211.2 kB / 0.5261 GB, free: 79.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.6777, allocations: 2.817 MB / 0.5288 GB, free: 77.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.678, allocations: 0.986 MB / 0.5298 GB, free: 76.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003883/0.6784, allocations: 98.94 kB / 0.5299 GB, free: 76.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/0.6788, allocations: 313.8 kB / 0.5302 GB, free: 76.3 MB / 378.7 MB Notification: Performance of SimCode: time 9.22e-07/0.6788, allocations: 0 / 0.5302 GB, free: 76.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03784/0.7166, allocations: 23.13 MB / 0.5528 GB, free: 55.58 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001384/0.7168, allocations: 224 kB / 0.553 GB, free: 55.34 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.886/3.603, allocations: 4 kB / 0.553 GB, free: 55.33 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat does not exist to compare? outputFormat=mat