Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001691/0.001691, allocations: 203.3 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.598/1.598, allocations: 227.2 MB / 245 MB, free: 7.586 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001185/0.001185, allocations: 98.92 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4505/0.4505, allocations: 45.22 MB / 394.6 MB, free: 31.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003666, allocations: 4 kB / 468.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4797/0.4801, allocations: 63.24 MB / 0.5193 GB, free: 43.95 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.766/1.246, allocations: 304.3 MB / 0.8164 GB, free: 44.55 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/1.246, allocations: 92.33 kB / 0.8165 GB, free: 44.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.705/1.951, allocations: 155.9 MB / 0.9688 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.865e-06/1.952, allocations: 3.875 kB / 0.9688 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000104/1.952, allocations: 29.06 kB / 0.9688 GB, free: 129.1 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.003431/1.955, allocations: 1.138 MB / 0.97 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/1.955, allocations: 7.25 kB / 0.97 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005327/1.956, allocations: 142.5 kB / 0.9701 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000756/1.956, allocations: 121.2 kB / 0.9702 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/1.958, allocations: 0.6124 MB / 0.9708 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001982/1.958, allocations: 255 kB / 0.9711 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/1.958, allocations: 76.38 kB / 0.9711 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/1.961, allocations: 1.285 MB / 0.9724 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/1.961, allocations: 7.812 kB / 0.9724 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/1.961, allocations: 34.69 kB / 0.9724 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.164e-05/1.961, allocations: 55.38 kB / 0.9725 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/1.962, allocations: 0.924 MB / 0.9734 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006795/1.969, allocations: 6.586 MB / 0.9798 GB, free: 120 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005194/1.97, allocations: 301.7 kB / 0.9801 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002756/1.973, allocations: 2.842 MB / 0.9829 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/1.973, allocations: 38.67 kB / 0.9829 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 2.404e-06/1.973, allocations: 0 / 0.9829 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.002334/1.975, allocations: 1.097 MB / 0.984 GB, free: 116 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/1.975, allocations: 59.3 kB / 0.984 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007976/1.976, allocations: 0.7669 MB / 0.9848 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/1.976, allocations: 36.55 kB / 0.9848 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/1.976, allocations: 0.5707 MB / 0.9854 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.497e-05/1.976, allocations: 142.8 kB / 0.9855 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/1.976, allocations: 23.72 kB / 0.9855 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000157/1.976, allocations: 396.9 kB / 0.9859 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/1.977, allocations: 235.5 kB / 0.9861 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006926/1.978, allocations: 0.959 MB / 0.9871 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005208/1.978, allocations: 437.5 kB / 0.9875 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/1.978, allocations: 7.875 kB / 0.9875 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001562/1.98, allocations: 1.195 MB / 0.9887 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/1.98, allocations: 16.03 kB / 0.9887 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-05/1.98, allocations: 27.91 kB / 0.9887 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.136e-05/1.98, allocations: 36.81 kB / 0.9887 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000788/1.981, allocations: 277.6 kB / 0.989 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.035e-05/1.981, allocations: 49.27 kB / 0.9891 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007835/1.981, allocations: 76.06 kB / 0.9891 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.171e-05/1.982, allocations: 78.45 kB / 0.9892 GB, free: 112.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * 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 prepare postOptimizeDAE: time 0.0003966/1.982, allocations: 324.1 kB / 0.9895 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/1.982, allocations: 95.03 kB / 0.9896 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007587/1.983, allocations: 482.2 kB / 0.9901 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/1.983, allocations: 11.47 kB / 0.9901 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.983, allocations: 0 / 0.9901 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/1.983, allocations: 0 / 0.9901 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/1.984, allocations: 1.233 MB / 0.9913 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.984, allocations: 6.359 kB / 0.9913 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/1.985, allocations: 65.28 kB / 0.9913 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/1.985, allocations: 6.984 kB / 0.9914 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/1.985, allocations: 9.375 kB / 0.9914 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/1.985, allocations: 7.484 kB / 0.9914 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.985, allocations: 7.938 kB / 0.9914 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007862/1.986, allocations: 0.7106 MB / 0.9921 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/1.986, allocations: 210.6 kB / 0.9923 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.695e-05/1.986, allocations: 11.89 kB / 0.9923 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000416/1.986, allocations: 19.73 kB / 0.9923 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/1.986, allocations: 30.72 kB / 0.9923 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.868e-05/1.986, allocations: 26.91 kB / 0.9924 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000629/1.987, allocations: 0.5806 MB / 0.9929 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.8e-07/1.987, allocations: 0 / 0.9929 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001197/1.988, allocations: 319 kB / 0.9932 GB, free: 109.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00176/1.99, allocations: 1.983 MB / 0.9952 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009363/1.991, allocations: 0.6322 MB / 0.9958 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.991, allocations: 0 / 0.9958 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/1.991, allocations: 142.7 kB / 0.9959 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/1.993, allocations: 381 kB / 0.9963 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009936/2.003, allocations: 22.71 MB / 1.018 GB, free: 84.09 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/2.003, allocations: 1.013 MB / 1.019 GB, free: 83.05 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001122/2.004, allocations: 314.1 kB / 1.02 GB, free: 82.74 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003322/2.005, allocations: 311.3 kB / 1.02 GB, free: 82.44 MB / 0.5261 GB Notification: Performance of SimCode: time 1.402e-06/2.005, allocations: 0 / 1.02 GB, free: 82.44 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04183/2.047, allocations: 24.93 MB / 1.044 GB, free: 57.75 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/2.047, allocations: 235.9 kB / 1.045 GB, free: 57.51 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.747/4.793, allocations: 0 / 1.045 GB, free: 57.51 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat does not exist to compare? outputFormat=mat