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.001718/0.001718, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009049/0.0009048, allocations: 97.8 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.699e-05/2.701e-05, allocations: 4 kB / 343.8 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1284, allocations: 51.48 MB / 395.3 MB, free: 4.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3933/0.5217, allocations: 82.13 MB / 477.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.522, allocations: 69.25 kB / 477.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04157/0.5636, allocations: 16.58 MB / 494 MB, free: 13.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.5636, allocations: 3.172 kB / 494 MB, free: 13.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.94e-05/0.5637, allocations: 16 kB / 494.1 MB, free: 13.23 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.002498/0.5662, allocations: 1.112 MB / 495.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.5663, allocations: 8.031 kB / 495.2 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003532/0.5666, allocations: 114.8 kB / 495.3 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.5677, allocations: 0.5421 MB / 495.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002528/0.568, allocations: 126.4 kB / 496 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.5682, allocations: 43.91 kB / 496 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000969/0.5691, allocations: 494.8 kB / 496.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.5703, allocations: 0.7303 MB / 497.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.5703, allocations: 0 / 497.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.56e-05/0.5704, allocations: 3.984 kB / 497.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.5704, allocations: 16 kB / 497.2 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003748/0.5741, allocations: 2.085 MB / 499.3 MB, free: 8.734 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.5754, allocations: 0.9388 MB / 0.4885 GB, free: 7.953 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004467/0.5758, allocations: 341.3 kB / 0.4889 GB, free: 7.746 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.5759, allocations: 12.77 kB / 0.4889 GB, free: 7.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.576, allocations: 50.78 kB / 0.4889 GB, free: 7.684 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 2.565e-06/0.576, allocations: 1.875 kB / 0.4889 GB, free: 7.684 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.002097/0.5781, allocations: 0.8574 MB / 0.4898 GB, free: 7.004 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003934/0.5785, allocations: 0.8269 MB / 0.4906 GB, free: 5.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006465/0.5791, allocations: 0.4983 MB / 0.491 GB, free: 5.605 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.625e-05/0.5792, allocations: 29.7 kB / 0.4911 GB, free: 5.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.5795, allocations: 351.6 kB / 0.4914 GB, free: 5.355 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/0.5797, allocations: 261.3 kB / 0.4917 GB, free: 5.129 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.5797, allocations: 0 / 0.4917 GB, free: 5.129 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.5799, allocations: 389.9 kB / 0.492 GB, free: 4.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003452/0.5803, allocations: 222.4 kB / 0.4922 GB, free: 4.645 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005263/0.5808, allocations: 471.2 kB / 0.4927 GB, free: 4.207 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000421/0.5813, allocations: 262.1 kB / 0.4929 GB, free: 4.031 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5813, allocations: 0 / 0.4929 GB, free: 4.031 MB / 362.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002026/0.5833, allocations: 0.9203 MB / 0.4938 GB, free: 3.094 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.679e-05/0.5834, allocations: 85.11 kB / 0.4939 GB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.5834, allocations: 4 kB / 0.4939 GB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006459/0.5841, allocations: 205.3 kB / 0.4941 GB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007074/0.5848, allocations: 151.8 kB / 0.4943 GB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00639/0.5912, allocations: 6.028 MB / 0.5002 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.5923, allocations: 95.52 kB / 0.5002 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/0.5924, allocations: 35.95 kB / 0.5003 GB, free: 12.01 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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.0004295/0.5929, allocations: 135.6 kB / 0.5004 GB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002144/0.595, allocations: 0.8579 MB / 0.5012 GB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/0.5953, allocations: 91.05 kB / 0.5013 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.5956, allocations: 92.38 kB / 0.5014 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.5956, allocations: 8 kB / 0.5014 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.5956, allocations: 0 / 0.5014 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001926/0.5975, allocations: 1.15 MB / 0.5026 GB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003609/0.6011, allocations: 1.793 MB / 0.5043 GB, free: 7.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.6012, allocations: 0 / 0.5043 GB, free: 7.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007527/0.6019, allocations: 155.8 kB / 0.5045 GB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000423/0.6024, allocations: 162.4 kB / 0.5046 GB, free: 7.363 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.909e-05/0.6024, allocations: 11.98 kB / 0.5046 GB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005096/0.6075, allocations: 4.645 MB / 0.5092 GB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.6076, allocations: 0 / 0.5092 GB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002569/0.6102, allocations: 1.266 MB / 0.5104 GB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000622/0.6108, allocations: 239.9 kB / 0.5106 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002847/0.6111, allocations: 4 kB / 0.5106 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006781/0.6118, allocations: 47.95 kB / 0.5107 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/0.612, allocations: 64.67 kB / 0.5107 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.613e-05/0.6121, allocations: 20 kB / 0.5108 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005949/0.6127, allocations: 398.4 kB / 0.5111 GB, free: 304 kB / 378.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6127, allocations: 0 / 0.5111 GB, free: 304 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.00106/0.6137, allocations: 275.5 kB / 0.5114 GB, free: 28 kB / 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 () * 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.002861/0.6166, allocations: 1.83 MB / 0.5132 GB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001727/0.6184, allocations: 1.207 MB / 0.5144 GB, free: 12.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.6184, allocations: 10.94 kB / 0.5144 GB, free: 12.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.6195, allocations: 0.7032 MB / 0.5151 GB, free: 12.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.6206, allocations: 189.1 kB / 0.5152 GB, free: 11.96 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.6236, allocations: 1.348 MB / 0.5166 GB, free: 10.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000559/0.6242, allocations: 0.9755 MB / 0.5175 GB, free: 9.57 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005182/0.6247, allocations: 94.16 kB / 0.5176 GB, free: 9.477 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004371/0.6252, allocations: 307.3 kB / 0.5179 GB, free: 9.176 MB / 394.7 MB Notification: Performance of SimCode: time 1.443e-06/0.6252, allocations: 0 / 0.5179 GB, free: 9.176 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05206/0.6772, allocations: 20.99 MB / 0.5384 GB, free: 4.508 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/0.6775, allocations: 149.1 kB / 0.5385 GB, free: 4.316 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.588/3.266, allocations: 0 / 0.5385 GB, free: 4.316 MB / 410.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