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.003292/0.003298, allocations: 186.2 kB / 16.4 MB, free: 5.625 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.303/2.303, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001121/0.00112, allocations: 102.8 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003783, allocations: 8 kB / 327.1 MB, free: 14.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09856/0.09901, allocations: 47.58 MB / 374.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.00514/0.1042, allocations: 2.994 MB / 377.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002407/0.1067, allocations: 0.9519 MB / 378.6 MB, free: 11.36 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003206/0.107, allocations: 8 kB / 378.6 MB, free: 11.35 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.1073, allocations: 75.44 kB / 378.7 MB, free: 11.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006442/0.108, allocations: 211.4 kB / 378.9 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.1084, allocations: 103.8 kB / 379 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009631/0.1094, allocations: 487.4 kB / 379.4 MB, free: 10.49 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003972/0.1098, allocations: 163.1 kB / 379.6 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000375/0.1102, allocations: 231.1 kB / 379.8 MB, free: 10.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004235/0.1106, allocations: 254.9 kB / 380.1 MB, free: 9.844 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.1108, allocations: 36 kB / 380.1 MB, free: 9.809 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.1109, allocations: 32 kB / 380.1 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.1111, allocations: 99.58 kB / 380.2 MB, free: 9.68 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.1112, allocations: 133.4 kB / 380.4 MB, free: 9.543 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007327/0.112, allocations: 0.4985 MB / 380.9 MB, free: 9.043 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.112, allocations: 3.938 kB / 380.9 MB, free: 9.039 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.112, allocations: 0 / 380.9 MB, free: 9.039 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.112, allocations: 4 kB / 380.9 MB, free: 9.035 MB / 282.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.002139/0.1142, allocations: 0.8274 MB / 381.7 MB, free: 8.152 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.1142, allocations: 8.031 kB / 381.7 MB, free: 8.145 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001905/0.1144, allocations: 83.44 kB / 381.8 MB, free: 8.055 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.1146, allocations: 67.25 kB / 381.9 MB, free: 7.988 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009581/0.1156, allocations: 409.9 kB / 382.3 MB, free: 7.547 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003227/0.1159, allocations: 86.66 kB / 382.3 MB, free: 7.457 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.148e-05/0.116, allocations: 36 kB / 382.4 MB, free: 7.422 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.1176, allocations: 0.5215 MB / 382.9 MB, free: 6.844 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.1176, allocations: 0 / 382.9 MB, free: 6.844 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.877e-05/0.1177, allocations: 20 kB / 382.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.1177, allocations: 8 kB / 382.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.1193, allocations: 399.8 kB / 383.3 MB, free: 6.43 MB / 282.7 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.003422/0.1228, allocations: 1.343 MB / 384.7 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.1247, allocations: 0.5195 MB / 385.2 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.305e-05/0.1248, allocations: 4 kB / 385.2 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.1249, allocations: 42.56 kB / 385.2 MB, free: 4.391 MB / 282.7 MB Notification: Performance of pre-optimization done (n=37): time 4.919e-06/0.1249, allocations: 4 kB / 385.2 MB, free: 4.387 MB / 282.7 MB Notification: Performance of matching and sorting (n=37): time 0.003018/0.1279, allocations: 0.8098 MB / 386 MB, free: 3.527 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002409/0.1282, allocations: 445 kB / 386.5 MB, free: 2.988 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007831/0.129, allocations: 438.1 kB / 386.9 MB, free: 2.547 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-05/0.1291, allocations: 41.69 kB / 386.9 MB, free: 2.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/0.1293, allocations: 282.8 kB / 387.2 MB, free: 2.223 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.1295, allocations: 126.2 kB / 387.3 MB, free: 2.098 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.1296, allocations: 12 kB / 387.4 MB, free: 2.086 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1297, allocations: 326.8 kB / 387.7 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007466/0.1305, allocations: 163.9 kB / 387.8 MB, free: 1.598 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009376/0.1314, allocations: 322.1 kB / 388.2 MB, free: 1.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007935/0.1322, allocations: 213.3 kB / 388.4 MB, free: 1.016 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.1323, allocations: 4 kB / 388.4 MB, free: 1.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001871/0.1341, allocations: 496.4 kB / 388.8 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.034e-05/0.1342, allocations: 37.7 kB / 388.9 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1342, allocations: 11.83 kB / 388.9 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002291/0.1345, allocations: 45.69 kB / 388.9 MB, free: 412 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008085/0.1353, allocations: 103.9 kB / 389 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2487/0.384, allocations: 2.754 MB / 391.8 MB, free: 18.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000945/0.385, allocations: 67.89 kB / 391.9 MB, free: 18.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.794e-05/0.3851, allocations: 11.72 kB / 391.9 MB, free: 18.01 MB / 282.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 () * 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.0003356/0.3854, allocations: 178.6 kB / 392 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.3856, allocations: 53.72 kB / 392.1 MB, free: 17.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.3857, allocations: 58.11 kB / 392.2 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.3858, allocations: 3.344 kB / 392.2 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3858, allocations: 1.156 kB / 392.2 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001702/0.3875, allocations: 0.7841 MB / 392.9 MB, free: 17.35 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002737/0.3902, allocations: 1.08 MB / 394 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3903, allocations: 0 / 394 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008879/0.3912, allocations: 101.5 kB / 394.1 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-06/0.3912, allocations: 1.984 kB / 394.1 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/0.3912, allocations: 9.281 kB / 394.1 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.3913, allocations: 5.094 kB / 394.1 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3913, allocations: 0.5625 kB / 394.1 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/0.3937, allocations: 0.7415 MB / 394.9 MB, free: 16.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00028/0.394, allocations: 168.3 kB / 395 MB, free: 16.51 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.3941, allocations: 11.81 kB / 395.1 MB, free: 16.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007545/0.3949, allocations: 43.2 kB / 395.1 MB, free: 16.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.395, allocations: 23.19 kB / 395.1 MB, free: 16.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.3951, allocations: 7.703 kB / 395.1 MB, free: 16.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005227/0.3956, allocations: 317.3 kB / 395.4 MB, free: 16.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3956, allocations: 0 / 395.4 MB, free: 16.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007051/0.3963, allocations: 144 kB / 395.6 MB, free: 16.32 MB / 282.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 () * 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.002709/0.3991, allocations: 1.293 MB / 396.9 MB, free: 15.44 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002075/0.4012, allocations: 0.6918 MB / 397.6 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.4012, allocations: 1.688 kB / 397.6 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007972/0.402, allocations: 211.9 kB / 397.8 MB, free: 14.97 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009884/0.403, allocations: 124.7 kB / 397.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/0.4061, allocations: 1.706 MB / 399.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.4065, allocations: 0.8485 MB / 400.5 MB, free: 13.06 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004054/0.4069, allocations: 178.7 kB / 400.6 MB, free: 12.93 MB / 282.7 MB Notification: Performance of SimCode: time 2.023e-06/0.4069, allocations: 0 / 400.6 MB, free: 12.93 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.78/3.187, allocations: 10.57 MB / 411.2 MB, free: 8.871 MB / 282.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