Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002016/0.002016, allocations: 198.4 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.742/1.742, allocations: 227.2 MB / 245 MB, free: 5.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001358/0.001358, allocations: 108 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5687/0.5687, allocations: 45.22 MB / 394.6 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003412, allocations: 8.219 kB / 468.5 MB, free: 7.586 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4693/0.4696, allocations: 63.24 MB / 0.5193 GB, free: 37.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8053/1.275, allocations: 323.6 MB / 0.8352 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/1.275, allocations: 92.12 kB / 0.8353 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7622/2.038, allocations: 169.2 MB / 1.001 GB, free: 89.13 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.365e-06/2.038, allocations: 0 / 1.001 GB, free: 89.13 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.373e-05/2.038, allocations: 23.98 kB / 1.001 GB, free: 89.11 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003004/2.041, allocations: 1.154 MB / 1.002 GB, free: 87.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/2.041, allocations: 12.03 kB / 1.002 GB, free: 87.89 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001477/2.041, allocations: 106.4 kB / 1.002 GB, free: 87.78 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000342/2.041, allocations: 94.97 kB / 1.002 GB, free: 87.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/2.042, allocations: 0.609 MB / 1.003 GB, free: 87.04 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/2.042, allocations: 45.3 kB / 1.003 GB, free: 86.99 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.48e-05/2.043, allocations: 59.91 kB / 1.003 GB, free: 86.93 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/2.044, allocations: 0.8407 MB / 1.003 GB, free: 86.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/2.044, allocations: 0 / 1.003 GB, free: 86.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-05/2.044, allocations: 28 kB / 1.004 GB, free: 86.01 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.265e-05/2.044, allocations: 20.95 kB / 1.004 GB, free: 85.99 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/2.045, allocations: 0.7884 MB / 1.004 GB, free: 85.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004167/2.05, allocations: 3.292 MB / 1.008 GB, free: 81.75 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/2.051, allocations: 0.4901 MB / 1.008 GB, free: 81.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003956/2.051, allocations: 0.5665 MB / 1.009 GB, free: 80.55 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/2.051, allocations: 48.42 kB / 1.009 GB, free: 80.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007638/2.052, allocations: 127.4 kB / 1.009 GB, free: 80.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 3.347e-06/2.052, allocations: 0 / 1.009 GB, free: 80.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71): time 0.04242/2.094, allocations: 7.566 MB / 1.016 GB, free: 72.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.012e-05/2.095, allocations: 115.5 kB / 1.016 GB, free: 72.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00085/2.095, allocations: 0.5465 MB / 1.017 GB, free: 71.96 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/2.096, allocations: 41.7 kB / 1.017 GB, free: 71.92 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/2.096, allocations: 360 kB / 1.017 GB, free: 71.56 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/2.096, allocations: 244.5 kB / 1.017 GB, free: 71.32 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.18e-05/2.096, allocations: 16 kB / 1.017 GB, free: 71.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001785/2.096, allocations: 386.7 kB / 1.018 GB, free: 70.92 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/2.097, allocations: 0.4938 MB / 1.018 GB, free: 70.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/2.099, allocations: 0.6833 MB / 1.019 GB, free: 69.66 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/2.1, allocations: 0.5419 MB / 1.019 GB, free: 69.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/2.1, allocations: 4 kB / 1.019 GB, free: 69.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003685/2.104, allocations: 1.513 MB / 1.021 GB, free: 67.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007056/2.105, allocations: 2.01 MB / 1.023 GB, free: 65.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/2.105, allocations: 7.938 kB / 1.023 GB, free: 65.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006917/2.111, allocations: 1.232 MB / 1.024 GB, free: 64.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/2.113, allocations: 247.6 kB / 1.024 GB, free: 63.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/2.115, allocations: 1.651 MB / 1.026 GB, free: 62.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/2.117, allocations: 120 kB / 1.026 GB, free: 62.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/2.117, allocations: 59.94 kB / 1.026 GB, free: 62.06 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/2.117, allocations: 4 kB / 1.026 GB, free: 62.05 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00367/2.12, allocations: 1.428 MB / 1.027 GB, free: 60.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/2.121, allocations: 4 kB / 1.027 GB, free: 60.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002045/2.123, allocations: 441.6 kB / 1.028 GB, free: 60.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/2.124, allocations: 259.6 kB / 1.028 GB, free: 59.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003496/2.127, allocations: 2.746 MB / 1.031 GB, free: 57.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/2.129, allocations: 123.9 kB / 1.031 GB, free: 56.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/2.129, allocations: 55.94 kB / 1.031 GB, free: 56.84 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (73): * Single equations (assignments): 71 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0007611/2.13, allocations: 301.4 kB / 1.031 GB, free: 56.54 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/2.13, allocations: 86.92 kB / 1.031 GB, free: 56.45 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004329/2.134, allocations: 1.842 MB / 1.033 GB, free: 54.59 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/2.134, allocations: 11.98 kB / 1.033 GB, free: 54.58 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/2.134, allocations: 3.953 kB / 1.033 GB, free: 54.57 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/2.134, allocations: 3.984 kB / 1.033 GB, free: 54.57 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006369/2.141, allocations: 2.854 MB / 1.036 GB, free: 51.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/2.141, allocations: 4 kB / 1.036 GB, free: 51.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008326/2.141, allocations: 187.8 kB / 1.036 GB, free: 51.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006544/2.148, allocations: 1.273 MB / 1.037 GB, free: 50.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001796/2.148, allocations: 31.91 kB / 1.037 GB, free: 50.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/2.15, allocations: 1.586 MB / 1.039 GB, free: 48.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/2.15, allocations: 3.938 kB / 1.039 GB, free: 48.51 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005734/2.156, allocations: 2.275 MB / 1.041 GB, free: 46.21 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000866/2.157, allocations: 271.8 kB / 1.041 GB, free: 45.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003896/2.157, allocations: 24.06 kB / 1.042 GB, free: 45.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/2.159, allocations: 115.8 kB / 1.042 GB, free: 45.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/2.159, allocations: 64.86 kB / 1.042 GB, free: 45.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/2.159, allocations: 43.95 kB / 1.042 GB, free: 45.69 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008659/2.16, allocations: 443 kB / 1.042 GB, free: 45.26 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/2.16, allocations: 4 kB / 1.042 GB, free: 45.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003595/2.163, allocations: 0.7104 MB / 1.043 GB, free: 44.54 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.medium.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 (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {1 6,3 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.007872/2.171, allocations: 3.303 MB / 1.046 GB, free: 41.21 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006905/2.178, allocations: 2.148 MB / 1.048 GB, free: 39.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/2.178, allocations: 4 kB / 1.048 GB, free: 39.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001694/2.18, allocations: 0.6731 MB / 1.049 GB, free: 38.38 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002691/2.183, allocations: 362.5 kB / 1.049 GB, free: 38.03 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008562/2.191, allocations: 6.068 MB / 1.055 GB, free: 31.81 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007014/2.192, allocations: 0.997 MB / 1.056 GB, free: 30.78 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001699/2.194, allocations: 250.7 kB / 1.056 GB, free: 30.54 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007685/2.195, allocations: 343.1 kB / 1.057 GB, free: 30.2 MB / 0.5261 GB Notification: Performance of SimCode: time 2.224e-06/2.195, allocations: 0 / 1.057 GB, free: 30.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4528/2.647, allocations: 35.39 MB / 1.091 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003649/2.648, allocations: 285.2 kB / 1.091 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.435/6.083, allocations: 0 / 1.091 GB, free: 115.6 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat does not exist to compare? outputFormat=mat