Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.PumpDropOut,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",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.002409/0.002408, allocations: 180.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001141/0.001141, allocations: 90.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.886e-05/3.902e-05, allocations: 0 / 321.6 MB, free: 17.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1351, allocations: 47.57 MB / 369.2 MB, free: 2.117 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4288/0.564, allocations: 81.9 MB / 451.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.5643, allocations: 72.12 kB / 451.1 MB, free: 10.92 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04454/0.6089, allocations: 10.36 MB / 461.5 MB, free: 2.203 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.609, allocations: 3.938 kB / 461.5 MB, free: 2.199 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.747e-05/0.609, allocations: 12 kB / 461.5 MB, free: 2.188 MB / 330.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.001893/0.6109, allocations: 0.7535 MB / 462.3 MB, free: 1.418 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.611, allocations: 12.03 kB / 462.3 MB, free: 1.406 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001696/0.6112, allocations: 77 kB / 462.4 MB, free: 1.344 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.6114, allocations: 70.69 kB / 462.4 MB, free: 1.277 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009127/0.6123, allocations: 390.6 kB / 462.8 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.6125, allocations: 68.36 kB / 462.9 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.49e-05/0.6126, allocations: 37.5 kB / 462.9 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.6136, allocations: 466.6 kB / 463.4 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.6137, allocations: 3.984 kB / 463.4 MB, free: 436 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.135e-05/0.6138, allocations: 25.75 kB / 463.4 MB, free: 424 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.6138, allocations: 8 kB / 463.4 MB, free: 416 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008277/0.6146, allocations: 281.8 kB / 463.7 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003863/0.6185, allocations: 1.371 MB / 465.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.6199, allocations: 437.3 kB / 465.5 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004585/0.6204, allocations: 156.9 kB / 465.6 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.867e-05/0.6204, allocations: 7.984 kB / 465.6 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/0.6205, allocations: 42.56 kB / 465.7 MB, free: 14.19 MB / 346.7 MB Notification: Performance of pre-optimization done (n=38): time 3.998e-06/0.6205, allocations: 0 / 465.7 MB, free: 14.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.001392/0.6219, allocations: 395.4 kB / 466.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002571/0.6222, allocations: 448.9 kB / 466.5 MB, free: 13.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008522/0.6231, allocations: 412 kB / 466.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.887e-05/0.6232, allocations: 33.7 kB / 466.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.6234, allocations: 290.8 kB / 467.2 MB, free: 12.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.6236, allocations: 126.1 kB / 467.4 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.6237, allocations: 12 kB / 467.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.6238, allocations: 322.8 kB / 467.7 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.6242, allocations: 116 kB / 467.8 MB, free: 11.94 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005454/0.6248, allocations: 258.5 kB / 468 MB, free: 11.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004325/0.6252, allocations: 161.1 kB / 468.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.6253, allocations: 3.953 kB / 468.2 MB, free: 11.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001279/0.6265, allocations: 420.7 kB / 468.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.292e-05/0.6266, allocations: 29.7 kB / 468.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.6266, allocations: 0 / 468.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004028/0.6271, allocations: 65.64 kB / 468.7 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008247/0.6279, allocations: 87.88 kB / 468.8 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003387/0.6313, allocations: 2.74 MB / 471.5 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008713/0.6322, allocations: 71.7 kB / 471.6 MB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-05/0.6323, allocations: 11.98 kB / 471.6 MB, free: 7.758 MB / 346.7 MB 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.0002095/0.6325, allocations: 133.9 kB / 471.7 MB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.6327, allocations: 59.28 kB / 471.8 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/0.6329, allocations: 61 kB / 471.9 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.6329, allocations: 4 kB / 471.9 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.6329, allocations: 0 / 471.9 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001022/0.6339, allocations: 0.6801 MB / 472.5 MB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.6362, allocations: 1.001 MB / 473.5 MB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.6363, allocations: 0 / 473.5 MB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009214/0.6372, allocations: 103.9 kB / 473.7 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/0.6372, allocations: 0 / 473.7 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.412e-05/0.6373, allocations: 11.98 kB / 473.7 MB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.6373, allocations: 0 / 473.7 MB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.6373, allocations: 240 / 473.7 MB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.6388, allocations: 0.5889 MB / 474.3 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003572/0.6391, allocations: 176.3 kB / 474.4 MB, free: 4.734 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.6393, allocations: 8 kB / 474.4 MB, free: 4.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006114/0.6399, allocations: 44.03 kB / 474.5 MB, free: 4.684 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.64, allocations: 19.95 kB / 474.5 MB, free: 4.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.401e-05/0.6401, allocations: 12 kB / 474.5 MB, free: 4.652 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006476/0.6407, allocations: 329.6 kB / 474.8 MB, free: 4.332 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6408, allocations: 0 / 474.8 MB, free: 4.332 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006967/0.6415, allocations: 155.8 kB / 475 MB, free: 4.18 MB / 346.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.001867/0.6433, allocations: 1.153 MB / 476.1 MB, free: 2.996 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.6449, allocations: 0.5824 MB / 476.7 MB, free: 2.375 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.6449, allocations: 4 kB / 476.7 MB, free: 2.371 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004263/0.6453, allocations: 151.9 kB / 476.9 MB, free: 2.223 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.6464, allocations: 128.6 kB / 477 MB, free: 2.102 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/0.6489, allocations: 0.8046 MB / 477.8 MB, free: 1.254 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/0.6495, allocations: 0.8512 MB / 478.6 MB, free: 384 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004599/0.65, allocations: 175.4 kB / 478.8 MB, free: 208 kB / 346.7 MB Notification: Performance of SimCode: time 1.142e-06/0.65, allocations: 0 / 478.8 MB, free: 208 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.041/3.691, allocations: 10.97 MB / 489.8 MB, free: 5.219 MB / 362.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat does not exist to compare? outputFormat=mat