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.001166/0.001166, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009188/0.0009191, allocations: 90.5 kB / 292.1 MB, free: 5.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.306e-05/3.321e-05, allocations: 4 kB / 350.6 MB, free: 2.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.131, allocations: 51.49 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4854/0.6164, allocations: 82.8 MB / 484.9 MB, free: 6.656 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.6168, allocations: 76.45 kB / 485 MB, free: 6.617 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04724/0.6641, allocations: 16.76 MB / 0.49 GB, free: 7.438 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.418e-06/0.6641, allocations: 0 / 0.49 GB, free: 7.438 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.965e-05/0.6642, allocations: 23.06 kB / 0.49 GB, free: 7.418 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.002655/0.6669, allocations: 1.107 MB / 0.4911 GB, free: 6.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.667, allocations: 8.031 kB / 0.4911 GB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002869/0.6672, allocations: 111.7 kB / 0.4912 GB, free: 6.125 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000377/0.6676, allocations: 121 kB / 0.4913 GB, free: 6.008 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.6688, allocations: 0.5478 MB / 0.4919 GB, free: 5.426 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002322/0.6691, allocations: 158.4 kB / 0.492 GB, free: 5.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.6692, allocations: 63.98 kB / 0.4921 GB, free: 5.188 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.6707, allocations: 0.8305 MB / 0.4929 GB, free: 4.258 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.6708, allocations: 0 / 0.4929 GB, free: 4.258 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.888e-05/0.6709, allocations: 32 kB / 0.4929 GB, free: 4.227 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.6709, allocations: 16 kB / 0.4929 GB, free: 4.211 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.672, allocations: 0.5324 MB / 0.4935 GB, free: 3.676 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004455/0.6764, allocations: 2.241 MB / 0.4956 GB, free: 1.344 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.6779, allocations: 0.9854 MB / 0.4966 GB, free: 276 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005754/0.6785, allocations: 363.7 kB / 0.497 GB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.668e-05/0.6785, allocations: 12.77 kB / 0.497 GB, free: 15.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.606e-05/0.6786, allocations: 55.28 kB / 0.497 GB, free: 15.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=78): time 2.745e-06/0.6786, allocations: 0 / 0.497 GB, free: 15.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=78): time 0.002381/0.681, allocations: 0.9124 MB / 0.4979 GB, free: 14.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003963/0.6814, allocations: 0.8274 MB / 0.4987 GB, free: 13.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009522/0.6824, allocations: 0.5664 MB / 0.4993 GB, free: 13.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.6825, allocations: 45.7 kB / 0.4993 GB, free: 13.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/0.6829, allocations: 360.9 kB / 0.4997 GB, free: 12.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000285/0.6832, allocations: 272 kB / 0.4999 GB, free: 12.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.6832, allocations: 12 kB / 0.4999 GB, free: 12.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.6834, allocations: 334 kB / 0.5002 GB, free: 12.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004568/0.6838, allocations: 225.6 kB / 0.5005 GB, free: 12.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007499/0.6846, allocations: 0.5016 MB / 0.501 GB, free: 11.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006041/0.6852, allocations: 363.2 kB / 0.5013 GB, free: 11.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.6852, allocations: 0 / 0.5013 GB, free: 11.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002567/0.6878, allocations: 1.066 MB / 0.5023 GB, free: 9.984 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.789e-05/0.6879, allocations: 86.52 kB / 0.5024 GB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.6879, allocations: 0 / 0.5024 GB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006989/0.6886, allocations: 219.2 kB / 0.5026 GB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006998/0.6893, allocations: 151.8 kB / 0.5028 GB, free: 9.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00715/0.6965, allocations: 6.235 MB / 0.5089 GB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.6977, allocations: 123.3 kB / 0.509 GB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/0.6978, allocations: 24 kB / 0.509 GB, free: 2.59 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 () * 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.0003234/0.6982, allocations: 166.5 kB / 0.5092 GB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/0.6985, allocations: 90.97 kB / 0.5092 GB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.6988, allocations: 100.5 kB / 0.5093 GB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/0.6988, allocations: 8 kB / 0.5094 GB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.6989, allocations: 0 / 0.5094 GB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002219/0.7011, allocations: 1.201 MB / 0.5105 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004123/0.7052, allocations: 1.937 MB / 0.5124 GB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.7052, allocations: 4 kB / 0.5124 GB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007632/0.706, allocations: 147.8 kB / 0.5126 GB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004669/0.7065, allocations: 174.5 kB / 0.5127 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.475e-05/0.7066, allocations: 16 kB / 0.5127 GB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005739/0.7123, allocations: 4.791 MB / 0.5174 GB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.7123, allocations: 5.625 kB / 0.5174 GB, free: 9.363 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003034/0.7154, allocations: 1.324 MB / 0.5187 GB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006376/0.716, allocations: 243.8 kB / 0.519 GB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002462/0.7163, allocations: 20 kB / 0.519 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007483/0.7171, allocations: 67.86 kB / 0.519 GB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/0.7173, allocations: 64.69 kB / 0.5191 GB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.817e-05/0.7174, allocations: 23.94 kB / 0.5191 GB, free: 7.582 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008324/0.7182, allocations: 467.2 kB / 0.5196 GB, free: 7.129 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7182, allocations: 0 / 0.5196 GB, free: 7.129 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001279/0.7195, allocations: 295.7 kB / 0.5198 GB, free: 6.84 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.0034/0.7229, allocations: 1.921 MB / 0.5217 GB, free: 4.883 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002273/0.7252, allocations: 1.259 MB / 0.523 GB, free: 3.535 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.7252, allocations: 10.94 kB / 0.523 GB, free: 3.527 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.7265, allocations: 0.7424 MB / 0.5237 GB, free: 2.746 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.7279, allocations: 213 kB / 0.5239 GB, free: 2.551 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003662/0.7316, allocations: 1.439 MB / 0.5253 GB, free: 1.074 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000626/0.7322, allocations: 0.9792 MB / 0.5263 GB, free: 72 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000674/0.7329, allocations: 98.67 kB / 0.5263 GB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005308/0.7334, allocations: 307.3 kB / 0.5266 GB, free: 15.67 MB / 410.7 MB Notification: Performance of SimCode: time 2.194e-06/0.7334, allocations: 0 / 0.5266 GB, free: 15.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05636/0.7898, allocations: 23.35 MB / 0.5494 GB, free: 8.809 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/0.7901, allocations: 197 kB / 0.5496 GB, free: 8.582 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.865/3.655, allocations: 4 kB / 0.5496 GB, free: 8.578 MB / 426.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