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.001124/0.001124, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008458/0.000846, allocations: 92.34 kB / 292.1 MB, free: 5.992 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1841/0.1841, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.552e-05/3.554e-05, allocations: 0 / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1029, allocations: 63.25 MB / 0.5115 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8448/0.9477, allocations: 323.5 MB / 0.8274 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.948, allocations: 83.95 kB / 0.8274 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.5855/1.533, allocations: 168.6 MB / 0.9921 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.104e-06/1.534, allocations: 0 / 0.9921 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.784e-05/1.534, allocations: 15.66 kB / 0.9921 GB, free: 123.6 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.004006/1.538, allocations: 1.062 MB / 0.9931 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.447e-05/1.538, allocations: 7.594 kB / 0.9931 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003985/1.538, allocations: 99.59 kB / 0.9932 GB, free: 123 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008534/1.539, allocations: 91.94 kB / 0.9933 GB, free: 123 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001907/1.541, allocations: 0.614 MB / 0.9939 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.932e-05/1.541, allocations: 38.66 kB / 0.994 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/1.541, allocations: 55.12 kB / 0.994 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/1.543, allocations: 0.7654 MB / 0.9948 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/1.543, allocations: 6.25 kB / 0.9948 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.274e-05/1.543, allocations: 26.56 kB / 0.9948 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.474e-05/1.543, allocations: 19.97 kB / 0.9948 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/1.544, allocations: 0.6565 MB / 0.9954 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004256/1.548, allocations: 3.283 MB / 0.9987 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007449/1.549, allocations: 399.9 kB / 0.999 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004216/1.549, allocations: 257.2 kB / 0.9993 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000335/1.55, allocations: 0.5721 MB / 0.9998 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/1.55, allocations: 41.08 kB / 0.9999 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000663/1.55, allocations: 140.4 kB / 1 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 3.467e-06/1.55, allocations: 0 / 1 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71): time 0.03367/1.584, allocations: 6.134 MB / 1.006 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/1.584, allocations: 109.5 kB / 1.006 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007122/1.585, allocations: 0.5434 MB / 1.007 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000119/1.585, allocations: 38.8 kB / 1.007 GB, free: 119 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/1.585, allocations: 365.4 kB / 1.007 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001822/1.585, allocations: 249.6 kB / 1.007 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/1.585, allocations: 17.06 kB / 1.007 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001136/1.586, allocations: 383 kB / 1.008 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005276/1.586, allocations: 338 kB / 1.008 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005889/1.587, allocations: 0.5158 MB / 1.008 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006342/1.587, allocations: 392.8 kB / 1.009 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/1.587, allocations: 3.469 kB / 1.009 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002033/1.589, allocations: 1.17 MB / 1.01 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004415/1.59, allocations: 2.01 MB / 1.012 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/1.59, allocations: 9.953 kB / 1.012 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006008/1.596, allocations: 1.182 MB / 1.013 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000938/1.597, allocations: 242.9 kB / 1.013 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/1.599, allocations: 1.6 MB / 1.015 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/1.6, allocations: 113.3 kB / 1.015 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/1.6, allocations: 58.25 kB / 1.015 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/1.6, allocations: 3.938 kB / 1.015 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002245/1.603, allocations: 1.092 MB / 1.016 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/1.603, allocations: 7.891 kB / 1.016 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001733/1.604, allocations: 398.7 kB / 1.017 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009489/1.605, allocations: 254.6 kB / 1.017 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002831/1.608, allocations: 2.68 MB / 1.019 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/1.609, allocations: 121 kB / 1.02 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/1.609, allocations: 54.97 kB / 1.02 GB, free: 113 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 () * 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.0002927/1.61, allocations: 145.3 kB / 1.02 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/1.61, allocations: 83 kB / 1.02 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003049/1.613, allocations: 1.499 MB / 1.021 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/1.613, allocations: 14.81 kB / 1.021 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/1.613, allocations: 2.469 kB / 1.021 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/1.613, allocations: 3.938 kB / 1.021 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004879/1.618, allocations: 2.537 MB / 1.024 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/1.618, allocations: 7.688 kB / 1.024 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007229/1.619, allocations: 179.4 kB / 1.024 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005575/1.624, allocations: 1.229 MB / 1.025 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.137e-05/1.624, allocations: 30.94 kB / 1.025 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/1.626, allocations: 1.499 MB / 1.027 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.626, allocations: 2.906 kB / 1.027 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003057/1.629, allocations: 1.741 MB / 1.028 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006177/1.629, allocations: 278.2 kB / 1.029 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/1.629, allocations: 15.84 kB / 1.029 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009996/1.63, allocations: 120.4 kB / 1.029 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/1.631, allocations: 60.88 kB / 1.029 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.216e-05/1.631, allocations: 38.94 kB / 1.029 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005686/1.631, allocations: 439.6 kB / 1.029 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.61e-07/1.631, allocations: 3.094 kB / 1.029 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002546/1.634, allocations: 0.7058 MB / 1.03 GB, free: 109.4 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 58 * 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 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.005153/1.639, allocations: 2.789 MB / 1.033 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003658/1.643, allocations: 1.663 MB / 1.034 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.643, allocations: 0 / 1.034 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008036/1.644, allocations: 0.5123 MB / 1.035 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/1.645, allocations: 361.1 kB / 1.035 GB, free: 107 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/1.649, allocations: 1.494 MB / 1.037 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/1.649, allocations: 0.9926 MB / 1.038 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001309/1.65, allocations: 306.6 kB / 1.038 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004881/1.651, allocations: 328.8 kB / 1.038 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of SimCode: time 7.12e-07/1.651, allocations: 0 / 1.038 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.058/1.709, allocations: 36.95 MB / 1.074 GB, free: 87.63 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/1.709, allocations: 245.7 kB / 1.074 GB, free: 87.29 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.343/5.052, allocations: 4 kB / 1.074 GB, free: 87.29 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