Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.ParallelPumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001392/0.001393, allocations: 198.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.221/1.221, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008715/0.0008712, allocations: 96.98 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002081/0.0002082, allocations: 4 kB / 358 MB, free: 9.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1996, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09468/0.2943, allocations: 82.87 MB / 492.4 MB, free: 7.727 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.2946, allocations: 68.72 kB / 492.4 MB, free: 7.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0412/0.3358, allocations: 16.79 MB / 0.4973 GB, free: 6.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3358, allocations: 0 / 0.4973 GB, free: 6.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.105e-05/0.3359, allocations: 19.98 kB / 0.4973 GB, free: 6.73 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.002145/0.338, allocations: 1.247 MB / 0.4985 GB, free: 5.414 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3381, allocations: 8.031 kB / 0.4985 GB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001703/0.3383, allocations: 123.7 kB / 0.4987 GB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.3384, allocations: 114.7 kB / 0.4988 GB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007971/0.3392, allocations: 0.5516 MB / 0.4993 GB, free: 4.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/0.3394, allocations: 150.4 kB / 0.4994 GB, free: 4.406 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.86e-05/0.3395, allocations: 68 kB / 0.4995 GB, free: 4.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.341, allocations: 0.9134 MB / 0.5004 GB, free: 3.324 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.341, allocations: 8 kB / 0.5004 GB, free: 3.316 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.604e-05/0.3411, allocations: 28 kB / 0.5004 GB, free: 3.289 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.3411, allocations: 16 kB / 0.5004 GB, free: 3.273 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.3426, allocations: 0.6805 MB / 0.5011 GB, free: 2.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003681/0.3463, allocations: 2.248 MB / 0.5033 GB, free: 252 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1758/0.5221, allocations: 1.134 MB / 0.5044 GB, free: 89.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.5222, allocations: 17.44 kB / 0.5044 GB, free: 89.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.5223, allocations: 50.31 kB / 0.5045 GB, free: 89.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 2.956e-06/0.5223, allocations: 0.5 kB / 0.5045 GB, free: 89.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.006184/0.5285, allocations: 2.042 MB / 0.5065 GB, free: 88.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001883/0.5287, allocations: 0.8262 MB / 0.5073 GB, free: 87.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008553/0.5296, allocations: 0.5827 MB / 0.5078 GB, free: 87.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.5297, allocations: 45.08 kB / 0.5079 GB, free: 87.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/0.53, allocations: 355 kB / 0.5082 GB, free: 87.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002383/0.5302, allocations: 272 kB / 0.5085 GB, free: 87.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.741e-05/0.5303, allocations: 16.72 kB / 0.5085 GB, free: 87.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.861e-05/0.5304, allocations: 338.4 kB / 0.5088 GB, free: 86.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006988/0.5311, allocations: 305.6 kB / 0.5091 GB, free: 86.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009364/0.532, allocations: 0.5745 MB / 0.5097 GB, free: 86.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009539/0.533, allocations: 441.6 kB / 0.5101 GB, free: 86.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.533, allocations: 0.5938 kB / 0.5101 GB, free: 86.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002837/0.5359, allocations: 1.21 MB / 0.5113 GB, free: 86.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.665e-05/0.5359, allocations: 91.36 kB / 0.5114 GB, free: 86.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.5359, allocations: 0 / 0.5114 GB, free: 86.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006071/0.5366, allocations: 252 kB / 0.5116 GB, free: 86.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/0.5372, allocations: 158.3 kB / 0.5118 GB, free: 86.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006014/0.5432, allocations: 6.584 MB / 0.5182 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000781/0.544, allocations: 119.5 kB / 0.5183 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.447e-05/0.5441, allocations: 22.88 kB / 0.5183 GB, free: 81.06 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.0003643/0.5445, allocations: 225.4 kB / 0.5185 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.5447, allocations: 88.44 kB / 0.5186 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.5449, allocations: 99.75 kB / 0.5187 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.5449, allocations: 9.531 kB / 0.5187 GB, free: 80.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.5449, allocations: 7.109 kB / 0.5187 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002103/0.547, allocations: 1.353 MB / 0.5201 GB, free: 79.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003391/0.5504, allocations: 2.096 MB / 0.5221 GB, free: 79.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.5504, allocations: 4 kB / 0.5221 GB, free: 79.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006889/0.5511, allocations: 157.2 kB / 0.5223 GB, free: 79.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004612/0.5516, allocations: 212.7 kB / 0.5225 GB, free: 78.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.807e-05/0.5517, allocations: 15.91 kB / 0.5225 GB, free: 78.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004861/0.5565, allocations: 5.128 MB / 0.5275 GB, free: 74.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5566, allocations: 0 / 0.5275 GB, free: 74.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002854/0.5594, allocations: 1.561 MB / 0.529 GB, free: 73.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003784/0.5598, allocations: 249.2 kB / 0.5292 GB, free: 73.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.56, allocations: 15.97 kB / 0.5293 GB, free: 73.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000557/0.5606, allocations: 64.41 kB / 0.5293 GB, free: 73.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.5607, allocations: 61.77 kB / 0.5294 GB, free: 73.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/0.5608, allocations: 27.19 kB / 0.5294 GB, free: 73.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005271/0.5613, allocations: 471.3 kB / 0.5299 GB, free: 73.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5613, allocations: 0 / 0.5299 GB, free: 73.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000903/0.5622, allocations: 298.5 kB / 0.5301 GB, free: 73.43 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.003173/0.5654, allocations: 2.158 MB / 0.5323 GB, free: 72.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002001/0.5674, allocations: 1.416 MB / 0.5336 GB, free: 70.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.5674, allocations: 8.062 kB / 0.5336 GB, free: 70.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.5686, allocations: 0.8263 MB / 0.5345 GB, free: 70.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.5698, allocations: 210.5 kB / 0.5347 GB, free: 69.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.5734, allocations: 2.821 MB / 0.5374 GB, free: 67.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/0.5739, allocations: 0.9803 MB / 0.5384 GB, free: 66.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004979/0.5744, allocations: 95.81 kB / 0.5385 GB, free: 66.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003415/0.5748, allocations: 314.7 kB / 0.5388 GB, free: 66.04 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5748, allocations: 0 / 0.5388 GB, free: 66.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03666/0.6114, allocations: 23.13 MB / 0.5613 GB, free: 44.78 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/0.6116, allocations: 219.7 kB / 0.5616 GB, free: 44.54 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.69/3.301, allocations: 0 / 0.5616 GB, free: 44.54 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat does not exist to compare? outputFormat=mat