Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 221.5 MB / 230.3 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 92.78 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.406e-05/2.409e-05, allocations: 3.984 kB / 337.1 MB, free: 9.938 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1511, allocations: 50.41 MB / 387.5 MB, free: 7.488 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.403/0.5541, allocations: 80.6 MB / 468.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.5544, allocations: 71.97 kB / 468.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02693/0.5814, allocations: 10.1 MB / 478.3 MB, free: 3.906 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.5815, allocations: 4 kB / 478.3 MB, free: 3.902 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.266e-05/0.5815, allocations: 12 kB / 478.3 MB, free: 3.891 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001308/0.5828, allocations: 0.75 MB / 479.1 MB, free: 3.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.5829, allocations: 8.031 kB / 479.1 MB, free: 3.082 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.583, allocations: 67.47 kB / 479.2 MB, free: 3.016 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/0.5836, allocations: 396 kB / 479.5 MB, free: 2.586 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.882e-05/0.5837, allocations: 54.42 kB / 479.6 MB, free: 2.527 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.534e-05/0.5837, allocations: 27.89 kB / 479.6 MB, free: 2.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004819/0.5842, allocations: 261.5 kB / 479.9 MB, free: 2.242 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000609/0.5848, allocations: 413.6 kB / 480.3 MB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.5849, allocations: 3.953 kB / 480.3 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.5849, allocations: 4 kB / 480.3 MB, free: 1.777 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.5849, allocations: 8 kB / 480.3 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/0.5873, allocations: 1.252 MB / 481.6 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007187/0.588, allocations: 412.1 kB / 482 MB, free: 20 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.5883, allocations: 153.6 kB / 482.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.811e-05/0.5883, allocations: 11.95 kB / 482.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.5884, allocations: 42.5 kB / 482.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 3.116e-06/0.5884, allocations: 0 / 482.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.0007988/0.5892, allocations: 367.2 kB / 482.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002223/0.5894, allocations: 445 kB / 483 MB, free: 14.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004701/0.5899, allocations: 365.3 kB / 483.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.998e-05/0.59, allocations: 25.7 kB / 483.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.5902, allocations: 252.5 kB / 483.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.5903, allocations: 126.1 kB / 483.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/0.5904, allocations: 0 / 483.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.5906, allocations: 359.7 kB / 484.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.5908, allocations: 107.9 kB / 484.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/0.5911, allocations: 238.5 kB / 484.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.5914, allocations: 123.9 kB / 484.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.5914, allocations: 0 / 484.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007374/0.5921, allocations: 399.2 kB / 484.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.037e-05/0.5922, allocations: 35.27 kB / 484.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.5922, allocations: 3.938 kB / 484.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000284/0.5925, allocations: 61.72 kB / 485 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004799/0.593, allocations: 91.88 kB / 485.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/0.5952, allocations: 2.653 MB / 487.7 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004169/0.5956, allocations: 47.7 kB / 487.8 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.5956, allocations: 19.98 kB / 487.8 MB, free: 9.695 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: ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002163/0.5959, allocations: 116.9 kB / 487.9 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006649/0.5965, allocations: 362.4 kB / 488.3 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-05/0.5966, allocations: 47.44 kB / 488.3 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.5968, allocations: 53.02 kB / 488.4 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.5968, allocations: 4 kB / 488.4 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.5968, allocations: 0 / 488.4 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006478/0.5975, allocations: 0.6687 MB / 489.1 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.5989, allocations: 0.9071 MB / 490 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.5989, allocations: 0 / 490 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004666/0.5993, allocations: 107.8 kB / 490.1 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.5994, allocations: 4 kB / 490.1 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.5994, allocations: 3.984 kB / 490.1 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5994, allocations: 0 / 490.1 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5994, allocations: 0 / 490.1 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007233/0.6001, allocations: 0.5579 MB / 490.6 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/0.6003, allocations: 164.4 kB / 490.8 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.532e-05/0.6004, allocations: 11.95 kB / 490.8 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/0.6007, allocations: 28.22 kB / 490.8 MB, free: 6.465 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.133e-05/0.6008, allocations: 23.97 kB / 490.9 MB, free: 6.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.6008, allocations: 11.98 kB / 490.9 MB, free: 6.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002891/0.6011, allocations: 287 kB / 491.1 MB, free: 6.152 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6011, allocations: 0 / 491.1 MB, free: 6.152 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004517/0.6016, allocations: 143.7 kB / 491.3 MB, free: 6.012 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/0.6026, allocations: 1.099 MB / 492.4 MB, free: 4.883 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007799/0.6034, allocations: 0.5533 MB / 492.9 MB, free: 4.297 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6034, allocations: 0 / 492.9 MB, free: 4.297 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.6037, allocations: 152.5 kB / 493.1 MB, free: 4.148 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005703/0.6042, allocations: 118 kB / 493.2 MB, free: 4.031 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.6058, allocations: 0.7199 MB / 493.9 MB, free: 3.281 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.6062, allocations: 0.8469 MB / 494.8 MB, free: 2.406 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002717/0.6064, allocations: 52.25 kB / 494.8 MB, free: 2.352 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.6067, allocations: 175.4 kB / 495 MB, free: 2.184 MB / 362.7 MB Notification: Performance of SimCode: time 7.12e-07/0.6067, allocations: 0 / 495 MB, free: 2.184 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03222/0.6389, allocations: 10.77 MB / 0.4939 GB, free: 7.562 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.6392, allocations: 147.4 kB / 0.4941 GB, free: 7.363 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.239/2.878, allocations: 0 / 0.4941 GB, free: 7.363 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat does not exist to compare? outputFormat=mat