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.001421/0.001421, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.568/1.568, allocations: 221.3 MB / 235.5 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008547/0.0008547, allocations: 84 kB / 286.5 MB, free: 244 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.777e-05/2.779e-05, allocations: 4 kB / 343.9 MB, free: 4.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1097, allocations: 50.42 MB / 394.3 MB, free: 1.785 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3496/0.4594, allocations: 81.99 MB / 476.3 MB, free: 5.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.4597, allocations: 69.59 kB / 476.4 MB, free: 5.434 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04413/0.5038, allocations: 16.7 MB / 493.1 MB, free: 4.617 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5038, allocations: 3.938 kB / 493.1 MB, free: 4.613 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.103e-05/0.5039, allocations: 16 kB / 493.1 MB, free: 4.598 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001842/0.5057, allocations: 1.112 MB / 494.2 MB, free: 3.418 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.5058, allocations: 12.03 kB / 494.2 MB, free: 3.406 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001694/0.506, allocations: 119.7 kB / 494.4 MB, free: 3.281 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.5061, allocations: 114.7 kB / 494.5 MB, free: 3.168 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008076/0.5069, allocations: 0.5474 MB / 495 MB, free: 2.582 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/0.5072, allocations: 146.4 kB / 495.2 MB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.5073, allocations: 68.33 kB / 495.2 MB, free: 2.352 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.5085, allocations: 0.837 MB / 496.1 MB, free: 1.414 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.5085, allocations: 4 kB / 496.1 MB, free: 1.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.666e-05/0.5086, allocations: 28 kB / 496.1 MB, free: 1.383 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.5086, allocations: 16 kB / 496.1 MB, free: 1.367 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009489/0.5096, allocations: 0.5284 MB / 496.6 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003658/0.5132, allocations: 2.236 MB / 498.9 MB, free: 14.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.5146, allocations: 0.9996 MB / 499.9 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005106/0.5151, allocations: 355.7 kB / 0.4885 GB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.539e-05/0.5152, allocations: 12.77 kB / 0.4885 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.5152, allocations: 51.84 kB / 0.4886 GB, free: 13.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 2.435e-06/0.5152, allocations: 0 / 0.4886 GB, free: 13.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.00216/0.5174, allocations: 0.9201 MB / 0.4895 GB, free: 12.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003481/0.5177, allocations: 0.8235 MB / 0.4903 GB, free: 11.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007173/0.5185, allocations: 0.578 MB / 0.4908 GB, free: 10.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.147e-05/0.5186, allocations: 45.7 kB / 0.4909 GB, free: 10.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.5188, allocations: 364.9 kB / 0.4912 GB, free: 10.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.5191, allocations: 268 kB / 0.4915 GB, free: 9.781 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.5191, allocations: 16 kB / 0.4915 GB, free: 9.766 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.5192, allocations: 334 kB / 0.4918 GB, free: 9.434 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004/0.5197, allocations: 225.6 kB / 0.492 GB, free: 9.211 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006222/0.5203, allocations: 0.4977 MB / 0.4925 GB, free: 8.609 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/0.5208, allocations: 359.6 kB / 0.4929 GB, free: 8.242 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5208, allocations: 0 / 0.4929 GB, free: 8.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002164/0.523, allocations: 1.066 MB / 0.4939 GB, free: 7.141 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.869e-05/0.5231, allocations: 86.05 kB / 0.494 GB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.5231, allocations: 0 / 0.494 GB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006219/0.5237, allocations: 207.3 kB / 0.4942 GB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006582/0.5244, allocations: 155.8 kB / 0.4943 GB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006161/0.5306, allocations: 6.232 MB / 0.5004 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008764/0.5315, allocations: 123.3 kB / 0.5005 GB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.569e-05/0.5315, allocations: 31.98 kB / 0.5006 GB, free: 15.75 MB / 394.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.0001886/0.5317, allocations: 152.9 kB / 0.5007 GB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.5319, allocations: 94.92 kB / 0.5008 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.5321, allocations: 100.5 kB / 0.5009 GB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.5322, allocations: 8 kB / 0.5009 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.5322, allocations: 0 / 0.5009 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001966/0.5341, allocations: 1.197 MB / 0.5021 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003304/0.5375, allocations: 1.945 MB / 0.504 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5375, allocations: 0 / 0.504 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007324/0.5382, allocations: 151.8 kB / 0.5041 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004145/0.5386, allocations: 166.5 kB / 0.5043 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.891e-05/0.5387, allocations: 16 kB / 0.5043 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005028/0.5437, allocations: 4.801 MB / 0.509 GB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5438, allocations: 0 / 0.509 GB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002534/0.5463, allocations: 1.328 MB / 0.5103 GB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004532/0.5468, allocations: 247.8 kB / 0.5105 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.5469, allocations: 20 kB / 0.5105 GB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005422/0.5474, allocations: 63.95 kB / 0.5106 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/0.5476, allocations: 60.62 kB / 0.5106 GB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-05/0.5477, allocations: 27.98 kB / 0.5107 GB, free: 4.734 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006103/0.5483, allocations: 463.2 kB / 0.5111 GB, free: 4.285 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5483, allocations: 0 / 0.5111 GB, free: 4.285 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008926/0.5492, allocations: 307.5 kB / 0.5114 GB, free: 3.984 MB / 394.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.002892/0.5521, allocations: 1.912 MB / 0.5133 GB, free: 2.035 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001779/0.5539, allocations: 1.267 MB / 0.5145 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.5539, allocations: 0 / 0.5145 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.5551, allocations: 0.7503 MB / 0.5152 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009748/0.5561, allocations: 215.3 kB / 0.5154 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002658/0.5587, allocations: 1.436 MB / 0.5169 GB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/0.5593, allocations: 0.9754 MB / 0.5178 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004094/0.5597, allocations: 106.6 kB / 0.5179 GB, free: 13.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004017/0.5601, allocations: 315.3 kB / 0.5182 GB, free: 12.79 MB / 410.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5601, allocations: 3.938 kB / 0.5182 GB, free: 12.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04372/0.6038, allocations: 23.34 MB / 0.541 GB, free: 5.762 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.6041, allocations: 189.4 kB / 0.5412 GB, free: 5.539 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.89/3.494, allocations: 0 / 0.5412 GB, free: 5.539 MB / 426.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