Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 177.5 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 104.6 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3919/0.3919, allocations: 44.21 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.000355, allocations: 8 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.4343, allocations: 61.9 MB / 0.5096 GB, free: 38.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6147/1.049, allocations: 303.2 MB / 0.8058 GB, free: 26.06 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/1.049, allocations: 100.6 kB / 0.8059 GB, free: 26 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6123/1.662, allocations: 155.8 MB / 0.958 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.934e-06/1.662, allocations: 0 / 0.958 GB, free: 135.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.618e-05/1.662, allocations: 28.59 kB / 0.9581 GB, free: 135.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.002893/1.665, allocations: 1.142 MB / 0.9592 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/1.665, allocations: 6.344 kB / 0.9592 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004343/1.665, allocations: 145.7 kB / 0.9593 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007255/1.666, allocations: 120.6 kB / 0.9594 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/1.667, allocations: 0.6155 MB / 0.96 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001848/1.668, allocations: 250.7 kB / 0.9603 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/1.668, allocations: 77.72 kB / 0.9604 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/1.67, allocations: 1.277 MB / 0.9616 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/1.67, allocations: 7.125 kB / 0.9616 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/1.67, allocations: 39.22 kB / 0.9616 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.959e-05/1.67, allocations: 38.48 kB / 0.9617 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/1.672, allocations: 0.933 MB / 0.9626 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006186/1.678, allocations: 6.589 MB / 0.969 GB, free: 126 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004484/1.678, allocations: 307 kB / 0.9693 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002261/1.681, allocations: 2.832 MB / 0.9721 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/1.681, allocations: 42.55 kB / 0.9721 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 2.184e-06/1.681, allocations: 0 / 0.9721 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.002275/1.683, allocations: 1.103 MB / 0.9732 GB, free: 122 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/1.683, allocations: 54.84 kB / 0.9733 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009001/1.684, allocations: 0.7605 MB / 0.974 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/1.684, allocations: 33.11 kB / 0.974 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/1.684, allocations: 0.5738 MB / 0.9746 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.773e-05/1.684, allocations: 148 kB / 0.9747 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/1.684, allocations: 19.91 kB / 0.9748 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.684, allocations: 398.9 kB / 0.9751 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/1.685, allocations: 238.7 kB / 0.9754 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000588/1.685, allocations: 0.9546 MB / 0.9763 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005839/1.686, allocations: 442.8 kB / 0.9767 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.615e-05/1.686, allocations: 7.844 kB / 0.9767 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00182/1.688, allocations: 1.195 MB / 0.9779 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/1.688, allocations: 19.56 kB / 0.9779 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.492e-05/1.688, allocations: 25.59 kB / 0.9779 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.63e-05/1.688, allocations: 38.38 kB / 0.978 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007848/1.689, allocations: 277.8 kB / 0.9782 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.66e-05/1.689, allocations: 50.36 kB / 0.9783 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000859/1.69, allocations: 79.14 kB / 0.9784 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.776e-05/1.69, allocations: 74.7 kB / 0.9784 GB, free: 118.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.0004316/1.69, allocations: 325.9 kB / 0.9787 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/1.69, allocations: 86.53 kB / 0.9788 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000848/1.691, allocations: 491.4 kB / 0.9793 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/1.691, allocations: 0 / 0.9793 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.691, allocations: 3.188 kB / 0.9793 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.691, allocations: 3.938 kB / 0.9793 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/1.693, allocations: 1.231 MB / 0.9805 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/1.693, allocations: 7.812 kB / 0.9805 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/1.693, allocations: 66.62 kB / 0.9806 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/1.693, allocations: 4 kB / 0.9806 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/1.693, allocations: 12.19 kB / 0.9806 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/1.693, allocations: 7.984 kB / 0.9806 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/1.693, allocations: 7.938 kB / 0.9806 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000802/1.694, allocations: 0.7054 MB / 0.9813 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003553/1.695, allocations: 207.9 kB / 0.9815 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/1.695, allocations: 8 kB / 0.9815 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004818/1.695, allocations: 31.98 kB / 0.9815 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/1.695, allocations: 27.86 kB / 0.9816 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.215e-05/1.695, allocations: 23.97 kB / 0.9816 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006347/1.696, allocations: 0.5851 MB / 0.9821 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.91e-07/1.696, allocations: 0 / 0.9821 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001453/1.697, allocations: 315.9 kB / 0.9825 GB, free: 114.5 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.002029/1.7, allocations: 1.988 MB / 0.9844 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001022/1.701, allocations: 0.6375 MB / 0.985 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/1.701, allocations: 0.875 kB / 0.985 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001924/1.701, allocations: 142.7 kB / 0.9852 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/1.703, allocations: 389.4 kB / 0.9855 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/1.715, allocations: 22.71 MB / 1.008 GB, free: 87.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006559/1.715, allocations: 1.017 MB / 1.009 GB, free: 86.94 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001288/1.717, allocations: 312.4 kB / 1.009 GB, free: 86.63 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000456/1.717, allocations: 303.3 kB / 1.009 GB, free: 86.33 MB / 0.5261 GB Notification: Performance of SimCode: time 1.173e-05/1.717, allocations: 0 / 1.009 GB, free: 86.33 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04539/1.763, allocations: 24.89 MB / 1.034 GB, free: 61.75 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00015/1.763, allocations: 233.3 kB / 1.034 GB, free: 61.51 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.766/4.529, allocations: 0 / 1.034 GB, free: 61.51 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat does not exist to compare? outputFormat=mat