Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001595/0.001595, allocations: 187.6 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001153/0.001152, allocations: 93.8 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5212/0.5212, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004791, allocations: 12 kB / 431.5 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1325, allocations: 58.83 MB / 490.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.24/1.372, allocations: 302 MB / 0.7737 GB, free: 68.73 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/1.373, allocations: 85.02 kB / 0.7738 GB, free: 68.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.002/2.375, allocations: 152.8 MB / 0.9231 GB, free: 115 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.836e-06/2.375, allocations: 0 / 0.9231 GB, free: 115 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001156/2.375, allocations: 24.03 kB / 0.9231 GB, free: 115 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.005833/2.381, allocations: 1.143 MB / 0.9242 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.327e-05/2.381, allocations: 9.5 kB / 0.9242 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008815/2.382, allocations: 146.2 kB / 0.9244 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/2.383, allocations: 122.2 kB / 0.9245 GB, free: 114.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002864/2.386, allocations: 0.6125 MB / 0.9251 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004036/2.387, allocations: 254.9 kB / 0.9253 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004808/2.387, allocations: 77.05 kB / 0.9254 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005048/2.392, allocations: 1.278 MB / 0.9266 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.559e-05/2.393, allocations: 7.625 kB / 0.9267 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003645/2.393, allocations: 43.73 kB / 0.9267 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001223/2.393, allocations: 42.75 kB / 0.9267 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004393/2.398, allocations: 0.9362 MB / 0.9277 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01484/2.412, allocations: 6.587 MB / 0.9341 GB, free: 107 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/2.414, allocations: 300.1 kB / 0.9344 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005081/2.419, allocations: 2.83 MB / 0.9371 GB, free: 104 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.912e-05/2.419, allocations: 42.47 kB / 0.9372 GB, free: 104 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 5.29e-06/2.419, allocations: 0 / 0.9372 GB, free: 104 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34): time 0.005397/2.424, allocations: 1.106 MB / 0.9383 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/2.425, allocations: 63.27 kB / 0.9383 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/2.427, allocations: 0.7612 MB / 0.9391 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001789/2.427, allocations: 32.2 kB / 0.9391 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000634/2.428, allocations: 0.6126 MB / 0.9397 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/2.428, allocations: 133.8 kB / 0.9398 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/2.428, allocations: 27.44 kB / 0.9398 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001624/2.428, allocations: 356.1 kB / 0.9402 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009823/2.429, allocations: 241 kB / 0.9404 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/2.431, allocations: 0.9533 MB / 0.9413 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/2.432, allocations: 442.8 kB / 0.9418 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.034e-05/2.432, allocations: 7.531 kB / 0.9418 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004913/2.437, allocations: 1.159 MB / 0.9429 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.123e-05/2.437, allocations: 15.03 kB / 0.9429 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.889e-05/2.437, allocations: 26.38 kB / 0.9429 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.189e-05/2.438, allocations: 45.06 kB / 0.943 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/2.44, allocations: 270.2 kB / 0.9432 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-05/2.44, allocations: 52.25 kB / 0.9433 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/2.442, allocations: 76.23 kB / 0.9434 GB, free: 100 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003609/2.443, allocations: 74.89 kB / 0.9434 GB, free: 100 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.001074/2.444, allocations: 324.3 kB / 0.9437 GB, free: 99.82 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003838/2.444, allocations: 91.09 kB / 0.9438 GB, free: 99.77 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/2.446, allocations: 488.9 kB / 0.9443 GB, free: 99.55 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/2.446, allocations: 0 / 0.9443 GB, free: 99.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/2.446, allocations: 3.906 kB / 0.9443 GB, free: 99.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/2.446, allocations: 3.562 kB / 0.9443 GB, free: 99.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004062/2.45, allocations: 1.235 MB / 0.9455 GB, free: 98.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/2.451, allocations: 3.844 kB / 0.9455 GB, free: 98.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007819/2.451, allocations: 76.2 kB / 0.9456 GB, free: 98.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.529e-05/2.451, allocations: 7.703 kB / 0.9456 GB, free: 98.72 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.207e-05/2.451, allocations: 7.969 kB / 0.9456 GB, free: 98.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/2.451, allocations: 3.594 kB / 0.9456 GB, free: 98.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/2.451, allocations: 3.938 kB / 0.9456 GB, free: 98.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/2.454, allocations: 0.7078 MB / 0.9463 GB, free: 98.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008366/2.455, allocations: 214.6 kB / 0.9465 GB, free: 98.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000288/2.455, allocations: 11.83 kB / 0.9465 GB, free: 98.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/2.456, allocations: 26.92 kB / 0.9465 GB, free: 98.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/2.456, allocations: 27.31 kB / 0.9466 GB, free: 98.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/2.457, allocations: 21.83 kB / 0.9466 GB, free: 98.03 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001704/2.458, allocations: 0.5835 MB / 0.9472 GB, free: 97.78 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.011e-06/2.458, allocations: 3.219 kB / 0.9472 GB, free: 97.78 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004165/2.463, allocations: 322.4 kB / 0.9475 GB, free: 97.71 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.004221/2.467, allocations: 1.98 MB / 0.9494 GB, free: 96.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002488/2.469, allocations: 0.6361 MB / 0.95 GB, free: 96 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.347e-05/2.47, allocations: 320 / 0.95 GB, free: 96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000532/2.47, allocations: 141.7 kB / 0.9502 GB, free: 95.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004454/2.475, allocations: 379.9 kB / 0.9505 GB, free: 95.87 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02173/2.496, allocations: 22.75 MB / 0.9727 GB, free: 74.95 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000921/2.497, allocations: 1.013 MB / 0.9737 GB, free: 74.21 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009316/2.498, allocations: 317 kB / 0.974 GB, free: 73.99 MB / 0.4948 GB Notification: Performance of SimCode: time 1.322e-06/2.498, allocations: 0 / 0.974 GB, free: 73.99 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.013/5.511, allocations: 18.93 MB / 0.9925 GB, free: 59.89 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat does not exist to compare? outputFormat=mat