Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",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.00115/0.00115, allocations: 185 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009201/0.0009201, allocations: 94.84 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1914/0.1914, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002984/0.0002984, allocations: 12 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09773/0.09805, allocations: 58.85 MB / 490.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7319/0.83, allocations: 302 MB / 0.7738 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/0.8304, allocations: 91.19 kB / 0.7739 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.4858/1.316, allocations: 152.8 MB / 0.9231 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.793e-06/1.316, allocations: 0 / 0.9231 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.182e-05/1.316, allocations: 23.75 kB / 0.9231 GB, free: 124.7 MB / 0.4948 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.002073/1.318, allocations: 1.145 MB / 0.9242 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/1.318, allocations: 7.406 kB / 0.9243 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001802/1.319, allocations: 142.3 kB / 0.9244 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004129/1.319, allocations: 124.7 kB / 0.9245 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/1.32, allocations: 0.6136 MB / 0.9251 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/1.32, allocations: 252.9 kB / 0.9253 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/1.32, allocations: 76.09 kB / 0.9254 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/1.322, allocations: 1.278 MB / 0.9267 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/1.322, allocations: 9.781 kB / 0.9267 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.707e-05/1.322, allocations: 42.22 kB / 0.9267 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.04e-05/1.322, allocations: 46.91 kB / 0.9268 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/1.323, allocations: 0.9254 MB / 0.9277 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004545/1.328, allocations: 6.592 MB / 0.9341 GB, free: 118.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/1.328, allocations: 303.4 kB / 0.9344 GB, free: 118.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001785/1.33, allocations: 2.84 MB / 0.9372 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/1.33, allocations: 36.98 kB / 0.9372 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 1.743e-06/1.33, allocations: 3.312 kB / 0.9372 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34): time 0.001855/1.332, allocations: 1.103 MB / 0.9383 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/1.332, allocations: 59.17 kB / 0.9383 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007318/1.333, allocations: 0.7612 MB / 0.9391 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/1.333, allocations: 39.2 kB / 0.9391 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/1.333, allocations: 0.5742 MB / 0.9397 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.945e-05/1.333, allocations: 137.1 kB / 0.9398 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/1.333, allocations: 24.41 kB / 0.9398 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001086/1.333, allocations: 396.7 kB / 0.9402 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/1.334, allocations: 239.1 kB / 0.9404 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000582/1.334, allocations: 0.9541 MB / 0.9414 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005113/1.335, allocations: 446.6 kB / 0.9418 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/1.335, allocations: 7.344 kB / 0.9418 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001531/1.336, allocations: 1.196 MB / 0.943 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/1.336, allocations: 14.41 kB / 0.943 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/1.336, allocations: 29.06 kB / 0.943 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.311e-05/1.337, allocations: 35.66 kB / 0.943 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006889/1.337, allocations: 281.9 kB / 0.9433 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.1e-05/1.337, allocations: 52.3 kB / 0.9434 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006757/1.338, allocations: 73.59 kB / 0.9434 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.421e-05/1.338, allocations: 74.41 kB / 0.9435 GB, free: 113.4 MB / 0.4948 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.0003403/1.338, allocations: 336.7 kB / 0.9438 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/1.338, allocations: 85.34 kB / 0.9439 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007019/1.339, allocations: 481.5 kB / 0.9444 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/1.339, allocations: 3.969 kB / 0.9444 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/1.339, allocations: 0 / 0.9444 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.339, allocations: 3.812 kB / 0.9444 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/1.341, allocations: 1.227 MB / 0.9456 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.341, allocations: 7.062 kB / 0.9456 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/1.341, allocations: 69.3 kB / 0.9456 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/1.341, allocations: 7.828 kB / 0.9457 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/1.341, allocations: 11.25 kB / 0.9457 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/1.341, allocations: 3.938 kB / 0.9457 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.341, allocations: 0 / 0.9457 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007507/1.342, allocations: 0.71 MB / 0.9464 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/1.342, allocations: 209.1 kB / 0.9466 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/1.342, allocations: 14.12 kB / 0.9466 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000421/1.343, allocations: 27.55 kB / 0.9466 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/1.343, allocations: 27 kB / 0.9466 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-05/1.343, allocations: 24.59 kB / 0.9467 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006558/1.343, allocations: 0.5755 MB / 0.9472 GB, free: 112 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.343, allocations: 2.438 kB / 0.9472 GB, free: 112 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001147/1.344, allocations: 321 kB / 0.9475 GB, free: 111.9 MB / 0.4948 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.001564/1.346, allocations: 2 MB / 0.9495 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009287/1.347, allocations: 0.6336 MB / 0.9501 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.347, allocations: 3.719 kB / 0.9501 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000213/1.347, allocations: 139.6 kB / 0.9502 GB, free: 110.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/1.349, allocations: 372.3 kB / 0.9506 GB, free: 110.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008806/1.357, allocations: 22.7 MB / 0.9728 GB, free: 90.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/1.358, allocations: 1.019 MB / 0.9738 GB, free: 89.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009819/1.359, allocations: 322.6 kB / 0.9741 GB, free: 89.86 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/1.359, allocations: 298.4 kB / 0.9743 GB, free: 89.85 MB / 0.4948 GB Notification: Performance of SimCode: time 1.442e-06/1.359, allocations: 4 kB / 0.9743 GB, free: 89.85 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03636/1.396, allocations: 24.87 MB / 0.9986 GB, free: 85.37 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001336/1.396, allocations: 245.7 kB / 0.9989 GB, free: 85.12 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.84/4.236, allocations: 0 / 0.9989 GB, free: 85.12 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat does not exist to compare? outputFormat=mat