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.002427/0.002428, allocations: 203.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.687/1.687, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00117/0.00117, allocations: 87.66 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2638/0.2638, allocations: 45.14 MB / 383.7 MB, free: 280 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.819e-05/2.821e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1541, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.16/1.314, allocations: 303.6 MB / 0.8009 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/1.315, allocations: 85.64 kB / 0.801 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.308/1.623, allocations: 153.8 MB / 0.9512 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.553e-06/1.623, allocations: 0 / 0.9512 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.805e-05/1.623, allocations: 23.98 kB / 0.9512 GB, free: 2.406 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.002983/1.626, allocations: 1.078 MB / 0.9523 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/1.626, allocations: 8.031 kB / 0.9523 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008394/1.627, allocations: 126.8 kB / 0.9524 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/1.628, allocations: 0.6003 MB / 0.953 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001849/1.628, allocations: 220.2 kB / 0.9532 GB, free: 260 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/1.629, allocations: 51.84 kB / 0.9533 GB, free: 208 kB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4263/2.055, allocations: 0.7965 MB / 0.954 GB, free: 124 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/2.057, allocations: 1.154 MB / 0.9552 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.891e-05/2.057, allocations: 5.828 kB / 0.9552 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/2.057, allocations: 6.25 kB / 0.9552 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.064e-05/2.057, allocations: 45.69 kB / 0.9552 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006555/2.064, allocations: 6.669 MB / 0.9617 GB, free: 119 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004923/2.065, allocations: 261.8 kB / 0.962 GB, free: 119 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/2.065, allocations: 138.2 kB / 0.9621 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002704/2.068, allocations: 2.833 MB / 0.9649 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/2.068, allocations: 38.06 kB / 0.9649 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=21): time 1.963e-06/2.068, allocations: 0 / 0.9649 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.002229/2.07, allocations: 0.8709 MB / 0.9658 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/2.07, allocations: 57.55 kB / 0.9658 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/2.071, allocations: 0.645 MB / 0.9665 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/2.071, allocations: 26.89 kB / 0.9665 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000473/2.071, allocations: 0.6033 MB / 0.9671 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/2.072, allocations: 111 kB / 0.9672 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/2.072, allocations: 2.344 kB / 0.9672 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002001/2.072, allocations: 386.7 kB / 0.9675 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000464/2.072, allocations: 207.5 kB / 0.9677 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009861/2.073, allocations: 0.9193 MB / 0.9686 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/2.074, allocations: 427.8 kB / 0.9691 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-05/2.074, allocations: 8.188 kB / 0.9691 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002106/2.077, allocations: 1.028 MB / 0.9701 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.227e-05/2.077, allocations: 20.02 kB / 0.9701 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-05/2.077, allocations: 25.47 kB / 0.9701 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.309e-05/2.077, allocations: 39.03 kB / 0.9701 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009523/2.078, allocations: 279.5 kB / 0.9704 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-05/2.078, allocations: 51.72 kB / 0.9705 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008492/2.079, allocations: 33.98 kB / 0.9705 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/2.079, allocations: 75.45 kB / 0.9706 GB, free: 113.8 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 () * 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.0002614/2.079, allocations: 174.3 kB / 0.9707 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006294/2.08, allocations: 276.8 kB / 0.971 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/2.08, allocations: 84.16 kB / 0.9711 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008747/2.081, allocations: 357.1 kB / 0.9714 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/2.081, allocations: 3.625 kB / 0.9714 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/2.081, allocations: 0 / 0.9714 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/2.081, allocations: 3.078 kB / 0.9714 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/2.082, allocations: 0.8719 MB / 0.9723 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/2.083, allocations: 2.688 kB / 0.9723 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/2.083, allocations: 59.69 kB / 0.9723 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/2.083, allocations: 1.641 kB / 0.9723 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/2.083, allocations: 7.781 kB / 0.9723 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/2.083, allocations: 2.375 kB / 0.9723 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/2.083, allocations: 1.281 kB / 0.9723 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008787/2.084, allocations: 0.5407 MB / 0.9729 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/2.084, allocations: 189.2 kB / 0.9731 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.802e-05/2.084, allocations: 1.641 kB / 0.9731 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003846/2.085, allocations: 11.53 kB / 0.9731 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/2.085, allocations: 19.89 kB / 0.9731 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.658e-05/2.085, allocations: 23.98 kB / 0.9731 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006736/2.085, allocations: 444.6 kB / 0.9735 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.61e-07/2.085, allocations: 0 / 0.9735 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001857/2.087, allocations: 292.6 kB / 0.9738 GB, free: 112.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * 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.002012/2.089, allocations: 1.473 MB / 0.9752 GB, free: 112 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001246/2.09, allocations: 0.5442 MB / 0.9758 GB, free: 112 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/2.09, allocations: 4.422 kB / 0.9758 GB, free: 112 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/2.091, allocations: 110.3 kB / 0.9759 GB, free: 112 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/2.092, allocations: 246 kB / 0.9761 GB, free: 112 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003248/2.095, allocations: 1.201 MB / 0.9773 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007351/2.096, allocations: 1.005 MB / 0.9783 GB, free: 111 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00114/2.097, allocations: 286.4 kB / 0.9786 GB, free: 111 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003932/2.098, allocations: 287.3 kB / 0.9788 GB, free: 111 MB / 0.5261 GB Notification: Performance of SimCode: time 1.383e-06/2.098, allocations: 1.375 kB / 0.9788 GB, free: 111 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04756/2.145, allocations: 19.08 MB / 0.9975 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/2.145, allocations: 177.5 kB / 0.9976 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.94/5.085, allocations: 0 / 0.9976 GB, free: 110.2 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