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.002052/0.002053, allocations: 180.5 kB / 17.01 MB, free: 5.125 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.58/1.58, allocations: 205.4 MB / 223.1 MB, free: 9.031 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.0008914/0.0008914, allocations: 96.09 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002679/0.0002678, allocations: 4 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2633, allocations: 47.57 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09909/0.3624, allocations: 82.82 MB / 458.7 MB, free: 13.81 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.3627, allocations: 75.91 kB / 458.8 MB, free: 13.74 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04601/0.4087, allocations: 17.01 MB / 475.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4087, allocations: 0 / 475.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.712e-05/0.4088, allocations: 24 kB / 475.8 MB, free: 12.59 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.002746/0.4116, allocations: 1.239 MB / 477.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.4116, allocations: 8.031 kB / 477.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002843/0.4119, allocations: 127.7 kB / 477.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002728/0.4122, allocations: 114.7 kB / 477.3 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009579/0.4132, allocations: 0.5593 MB / 477.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/0.4134, allocations: 150.4 kB / 478 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.4135, allocations: 68 kB / 478.1 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.415, allocations: 0.9103 MB / 479 MB, free: 9.176 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.415, allocations: 4 kB / 479 MB, free: 9.172 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.978e-05/0.4151, allocations: 32 kB / 479 MB, free: 9.141 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.4151, allocations: 16 kB / 479.1 MB, free: 9.125 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.4166, allocations: 0.6805 MB / 479.7 MB, free: 8.445 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003801/0.4204, allocations: 2.248 MB / 482 MB, free: 6.102 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.4223, allocations: 1.145 MB / 483.1 MB, free: 4.875 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.3e-05/0.4223, allocations: 16.64 kB / 483.1 MB, free: 4.859 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/0.4224, allocations: 47.22 kB / 483.2 MB, free: 4.805 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 2.144e-06/0.4224, allocations: 5.859 kB / 483.2 MB, free: 4.801 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.005508/0.4279, allocations: 2.041 MB / 485.2 MB, free: 2.668 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003406/0.4283, allocations: 0.8234 MB / 486.1 MB, free: 1.645 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007461/0.429, allocations: 0.5857 MB / 486.6 MB, free: 1.051 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.543e-05/0.4291, allocations: 45.7 kB / 486.7 MB, free: 1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/0.4294, allocations: 356.9 kB / 487 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/0.4297, allocations: 272 kB / 487.3 MB, free: 384 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.4297, allocations: 16 kB / 487.3 MB, free: 368 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4299, allocations: 330 kB / 487.6 MB, free: 32 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006996/0.4306, allocations: 309.9 kB / 487.9 MB, free: 15.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009225/0.4315, allocations: 0.582 MB / 488.5 MB, free: 15.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007783/0.4323, allocations: 424.9 kB / 488.9 MB, free: 14.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.4323, allocations: 0 / 488.9 MB, free: 14.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002781/0.4351, allocations: 1.211 MB / 490.2 MB, free: 13.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.987e-05/0.4352, allocations: 89.11 kB / 490.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.4352, allocations: 0 / 490.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007011/0.4359, allocations: 251.2 kB / 490.5 MB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007017/0.4366, allocations: 171.7 kB / 490.7 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007737/0.4443, allocations: 6.585 MB / 497.2 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009761/0.4454, allocations: 123.3 kB / 497.4 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.4455, allocations: 20 kB / 497.4 MB, free: 5.574 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.0005215/0.446, allocations: 233.7 kB / 497.6 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/0.4462, allocations: 90.97 kB / 497.7 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.4465, allocations: 100.5 kB / 497.8 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.4465, allocations: 8 kB / 497.8 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.4465, allocations: 0 / 497.8 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002561/0.4491, allocations: 1.354 MB / 499.2 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004143/0.4532, allocations: 2.086 MB / 0.4895 GB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4532, allocations: 4 kB / 0.4895 GB, free: 1.512 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007593/0.454, allocations: 159.8 kB / 0.4896 GB, free: 1.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005374/0.4546, allocations: 206.5 kB / 0.4898 GB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.284e-05/0.4546, allocations: 23.98 kB / 0.4899 GB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1979/0.6526, allocations: 5.118 MB / 0.4949 GB, free: 101.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6526, allocations: 0 / 0.4949 GB, free: 101.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003908/0.6566, allocations: 1.559 MB / 0.4964 GB, free: 101.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004592/0.657, allocations: 252.3 kB / 0.4966 GB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.6572, allocations: 18.53 kB / 0.4966 GB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005543/0.6577, allocations: 60.25 kB / 0.4967 GB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002036/0.6579, allocations: 66.09 kB / 0.4968 GB, free: 101.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/0.658, allocations: 23.88 kB / 0.4968 GB, free: 101.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006071/0.6586, allocations: 468 kB / 0.4972 GB, free: 101 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6586, allocations: 3.656 kB / 0.4972 GB, free: 101 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001006/0.6596, allocations: 296.7 kB / 0.4975 GB, free: 101 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.003485/0.6631, allocations: 2.159 MB / 0.4996 GB, free: 100.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002192/0.6653, allocations: 1.426 MB / 0.501 GB, free: 99.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.6653, allocations: 6.375 kB / 0.501 GB, free: 99.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.6667, allocations: 0.8131 MB / 0.5018 GB, free: 99.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.6677, allocations: 217.9 kB / 0.502 GB, free: 99.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00324/0.671, allocations: 2.814 MB / 0.5048 GB, free: 97.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.6713, allocations: 0.9771 MB / 0.5057 GB, free: 97.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004143/0.6718, allocations: 95 kB / 0.5058 GB, free: 97.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003596/0.6721, allocations: 314 kB / 0.5061 GB, free: 97.03 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.6721, allocations: 3.938 kB / 0.5061 GB, free: 97.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03777/0.7099, allocations: 23.14 MB / 0.5287 GB, free: 83.33 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000129/0.7101, allocations: 219.4 kB / 0.5289 GB, free: 83.09 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.638/3.348, allocations: 0 / 0.5289 GB, free: 83.09 MB / 378.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