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.00102/0.00102, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.769/1.769, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008611/0.0008612, allocations: 86.69 kB / 262.4 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.471e-05/4.483e-05, allocations: 4 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1191, allocations: 47.59 MB / 363.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4235/0.5427, allocations: 82.31 MB / 445.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.5429, allocations: 71.16 kB / 445.5 MB, free: 13.08 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0442/0.5871, allocations: 16.81 MB / 462.4 MB, free: 15.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.5872, allocations: 0 / 462.4 MB, free: 15.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.587e-05/0.5872, allocations: 24 kB / 462.4 MB, free: 15.23 MB / 346.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.002021/0.5893, allocations: 1.118 MB / 463.5 MB, free: 14.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.5893, allocations: 12.03 kB / 463.5 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.5895, allocations: 110.8 kB / 463.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008384/0.5904, allocations: 0.5378 MB / 464.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.5906, allocations: 134.6 kB / 464.3 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.78e-05/0.5907, allocations: 43.84 kB / 464.3 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008457/0.5915, allocations: 498.8 kB / 464.8 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.5926, allocations: 0.7306 MB / 465.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.5927, allocations: 0 / 465.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.716e-05/0.5927, allocations: 4 kB / 465.6 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.5928, allocations: 12 kB / 465.6 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003501/0.5963, allocations: 2.089 MB / 467.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.5974, allocations: 0.9366 MB / 468.6 MB, free: 9.918 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004352/0.5979, allocations: 326.1 kB / 468.9 MB, free: 9.727 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.456e-05/0.5979, allocations: 12.77 kB / 468.9 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.598, allocations: 62.7 kB / 469 MB, free: 9.648 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 1.923e-06/0.598, allocations: 0 / 469 MB, free: 9.648 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.001992/0.6, allocations: 0.8576 MB / 469.8 MB, free: 8.973 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004198/0.6004, allocations: 0.8224 MB / 470.7 MB, free: 7.957 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005828/0.601, allocations: 0.4989 MB / 471.2 MB, free: 7.582 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.508e-05/0.6011, allocations: 29.7 kB / 471.2 MB, free: 7.547 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.6013, allocations: 352 kB / 471.5 MB, free: 7.332 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.6015, allocations: 262.2 kB / 471.8 MB, free: 7.102 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.6016, allocations: 0 / 471.8 MB, free: 7.102 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.6018, allocations: 393.3 kB / 472.2 MB, free: 6.742 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/0.6021, allocations: 208.9 kB / 472.4 MB, free: 6.625 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005482/0.6027, allocations: 480.8 kB / 472.8 MB, free: 6.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/0.6031, allocations: 268.3 kB / 473.1 MB, free: 6.012 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6031, allocations: 3.938 kB / 473.1 MB, free: 6.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001946/0.605, allocations: 0.915 MB / 474 MB, free: 5.285 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.666e-05/0.6051, allocations: 85.11 kB / 474.1 MB, free: 5.184 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.6051, allocations: 0 / 474.1 MB, free: 5.184 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005881/0.6057, allocations: 203.7 kB / 474.3 MB, free: 5.023 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006859/0.6064, allocations: 159.1 kB / 474.5 MB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006454/0.6129, allocations: 6.025 MB / 480.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009514/0.6139, allocations: 95.45 kB / 480.6 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-05/0.6139, allocations: 27.98 kB / 480.6 MB, free: 14.78 MB / 362.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.0002883/0.6142, allocations: 129 kB / 480.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001951/0.6162, allocations: 0.8693 MB / 481.6 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.6164, allocations: 87.3 kB / 481.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.6166, allocations: 80.39 kB / 481.8 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.6166, allocations: 11.98 kB / 481.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.6166, allocations: 0 / 481.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001832/0.6185, allocations: 1.15 MB / 482.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003383/0.6219, allocations: 1.79 MB / 484.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.6219, allocations: 4 kB / 484.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007297/0.6226, allocations: 151.8 kB / 484.9 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004074/0.6231, allocations: 174.3 kB / 485 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.173e-05/0.6231, allocations: 0 / 485 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005204/0.6283, allocations: 4.643 MB / 489.7 MB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.154e-05/0.6284, allocations: 7.922 kB / 489.7 MB, free: 5.141 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002946/0.6313, allocations: 1.262 MB / 491 MB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005023/0.6319, allocations: 243.9 kB / 491.2 MB, free: 3.594 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.632, allocations: 7.938 kB / 491.2 MB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000563/0.6325, allocations: 43.97 kB / 491.2 MB, free: 3.543 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.6327, allocations: 64.67 kB / 491.3 MB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.18e-05/0.6328, allocations: 20 kB / 491.3 MB, free: 3.461 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005692/0.6333, allocations: 399.2 kB / 491.7 MB, free: 3.078 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6334, allocations: 0 / 491.7 MB, free: 3.078 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009638/0.6343, allocations: 271.6 kB / 492 MB, free: 2.812 MB / 362.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.002988/0.6373, allocations: 1.842 MB / 493.8 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001994/0.6393, allocations: 1.202 MB / 495 MB, free: 15.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.6393, allocations: 0 / 495 MB, free: 15.65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.6405, allocations: 0.711 MB / 495.7 MB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.6416, allocations: 204.9 kB / 495.9 MB, free: 14.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/0.6445, allocations: 1.342 MB / 497.3 MB, free: 13.33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000598/0.6451, allocations: 0.9716 MB / 498.2 MB, free: 12.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004195/0.6455, allocations: 94.16 kB / 498.3 MB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004325/0.6459, allocations: 303.3 kB / 498.6 MB, free: 11.93 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.6459, allocations: 0 / 498.6 MB, free: 11.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05204/0.698, allocations: 20.98 MB / 0.5074 GB, free: 6.918 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002851/0.6984, allocations: 149.3 kB / 0.5076 GB, free: 6.727 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.717/3.415, allocations: 4 kB / 0.5076 GB, free: 6.723 MB / 394.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