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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001557, allocations: 88.05 kB / 16.32 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001336, allocations: 179.9 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.3 MB / 241.2 MB, free: 14.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003402, allocations: 4 kB / 300.9 MB, free: 6.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1096, allocations: 50.42 MB / 351.3 MB, free: 3.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.00394/0.1136, allocations: 3.238 MB / 354.6 MB, free: 412 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.1155, allocations: 0.8804 MB / 355.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002336/0.1158, allocations: 4 kB / 355.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.1161, allocations: 75.39 kB / 355.5 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003894/0.1165, allocations: 174.6 kB / 355.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.1167, allocations: 99.88 kB / 355.8 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000843/0.1176, allocations: 0.6253 MB / 356.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003048/0.1179, allocations: 163.1 kB / 356.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/0.1182, allocations: 231.1 kB / 356.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003216/0.1185, allocations: 266.9 kB / 357.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.011e-05/0.1186, allocations: 39.94 kB / 357.1 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.302e-05/0.1187, allocations: 40 kB / 357.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.1188, allocations: 103.6 kB / 357.2 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.119, allocations: 141.4 kB / 357.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004685/0.1194, allocations: 0.5219 MB / 357.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1194, allocations: 0 / 357.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1195, allocations: 0 / 357.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.1195, allocations: 0 / 357.9 MB, free: 13.04 MB / 302.1 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.001465/0.1209, allocations: 0.8391 MB / 358.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.121, allocations: 12.03 kB / 358.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001295/0.1211, allocations: 79.44 kB / 358.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.1212, allocations: 67.25 kB / 358.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006605/0.1219, allocations: 425.9 kB / 359.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002683/0.1222, allocations: 94.64 kB / 359.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.044e-05/0.1223, allocations: 39.91 kB / 359.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008958/0.1232, allocations: 0.5404 MB / 360 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.1232, allocations: 3.938 kB / 360 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.1233, allocations: 16 kB / 360 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.1233, allocations: 8 kB / 360 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000927/0.1242, allocations: 399.8 kB / 360.4 MB, free: 10.38 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.1264, allocations: 1.367 MB / 361.8 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009721/0.1274, allocations: 488.4 kB / 362.3 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000414/0.1278, allocations: 212.8 kB / 362.5 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.472e-05/0.1279, allocations: 11.92 kB / 362.5 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.128, allocations: 42.56 kB / 362.5 MB, free: 8.141 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 2.685e-06/0.128, allocations: 0 / 362.5 MB, free: 8.141 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001717/0.1297, allocations: 0.8056 MB / 363.3 MB, free: 7.285 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002266/0.1299, allocations: 453 kB / 363.8 MB, free: 6.738 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005102/0.1304, allocations: 478 kB / 364.2 MB, free: 6.262 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.1305, allocations: 33.7 kB / 364.3 MB, free: 6.223 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.1307, allocations: 252.3 kB / 364.5 MB, free: 5.973 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.1308, allocations: 126.1 kB / 364.6 MB, free: 5.848 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-05/0.1308, allocations: 8 kB / 364.6 MB, free: 5.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002489/0.1311, allocations: 362.7 kB / 365 MB, free: 5.477 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003883/0.1315, allocations: 171.8 kB / 365.2 MB, free: 5.309 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005066/0.132, allocations: 310.4 kB / 365.5 MB, free: 4.953 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.1324, allocations: 213.6 kB / 365.7 MB, free: 4.738 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1324, allocations: 0 / 365.7 MB, free: 4.738 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001149/0.1336, allocations: 0.5309 MB / 366.2 MB, free: 4.188 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/0.1336, allocations: 29.7 kB / 366.2 MB, free: 4.152 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1336, allocations: 4 kB / 366.2 MB, free: 4.148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001565/0.1338, allocations: 53.62 kB / 366.3 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.1342, allocations: 103.9 kB / 366.4 MB, free: 3.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/0.1366, allocations: 2.748 MB / 369.1 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004077/0.137, allocations: 67.7 kB / 369.2 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/0.137, allocations: 15.92 kB / 369.2 MB, free: 0.8867 MB / 302.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * 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.0003238/0.1374, allocations: 173.8 kB / 369.4 MB, free: 0.707 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.041e-05/0.1375, allocations: 55.34 kB / 369.4 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.997e-05/0.1376, allocations: 56.92 kB / 369.5 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1376, allocations: 4 kB / 369.5 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1376, allocations: 0 / 369.5 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1969/0.3345, allocations: 0.7783 MB / 370.3 MB, free: 24.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/0.3368, allocations: 1.092 MB / 371.4 MB, free: 24.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3368, allocations: 0.625 kB / 371.4 MB, free: 24.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005111/0.3373, allocations: 106.5 kB / 371.5 MB, free: 24.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-05/0.3374, allocations: 1.094 kB / 371.5 MB, free: 24.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.371e-05/0.3375, allocations: 10.3 kB / 371.5 MB, free: 24.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.3375, allocations: 5.641 kB / 371.5 MB, free: 24.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3375, allocations: 0.75 kB / 371.5 MB, free: 24.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.3389, allocations: 0.7397 MB / 372.2 MB, free: 24 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/0.3392, allocations: 170.2 kB / 372.4 MB, free: 23.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.771e-05/0.3392, allocations: 15.27 kB / 372.4 MB, free: 23.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/0.3397, allocations: 43.34 kB / 372.5 MB, free: 23.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.3398, allocations: 24.56 kB / 372.5 MB, free: 23.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.019e-05/0.3399, allocations: 8.109 kB / 372.5 MB, free: 23.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005011/0.3404, allocations: 337.2 kB / 372.8 MB, free: 23.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3404, allocations: 0 / 372.8 MB, free: 23.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005511/0.3409, allocations: 146 kB / 373 MB, free: 23.82 MB / 302.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.001961/0.3429, allocations: 1.294 MB / 374.3 MB, free: 23.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.3443, allocations: 0.6888 MB / 374.9 MB, free: 22.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.3443, allocations: 1.562 kB / 374.9 MB, free: 22.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005779/0.3449, allocations: 208 kB / 375.1 MB, free: 22.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007512/0.3456, allocations: 143 kB / 375.3 MB, free: 22.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005282/0.3509, allocations: 3.133 MB / 378.4 MB, free: 21.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.3513, allocations: 0.8448 MB / 379.3 MB, free: 20.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004533/0.3517, allocations: 65.36 kB / 379.3 MB, free: 20.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/0.352, allocations: 182.7 kB / 379.5 MB, free: 20.36 MB / 302.1 MB Notification: Performance of SimCode: time 1.192e-06/0.352, allocations: 0 / 379.5 MB, free: 20.36 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.3825, allocations: 12.55 MB / 392.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001439/0.3827, allocations: 227.4 kB / 392.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.135/2.517, allocations: 3.938 kB / 392.3 MB, free: 15.2 MB / 302.1 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