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.001754/0.001754, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 221.5 MB / 230.7 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000904/0.0009037, allocations: 86.84 kB / 281.6 MB, free: 5.332 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.241/0.241, allocations: 44.16 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.575e-05/2.588e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1573, allocations: 61.91 MB / 0.4948 GB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.214/1.372, allocations: 302.5 MB / 0.7902 GB, free: 87.29 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/1.372, allocations: 82.2 kB / 0.7903 GB, free: 87.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7098/2.082, allocations: 153.7 MB / 0.9404 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.877e-06/2.082, allocations: 0 / 0.9404 GB, free: 135.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.329e-05/2.082, allocations: 23.66 kB / 0.9404 GB, free: 135.2 MB / 0.5105 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.002769/2.085, allocations: 1.068 MB / 0.9414 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.234e-05/2.085, allocations: 11.17 kB / 0.9415 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005752/2.085, allocations: 114.4 kB / 0.9416 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/2.087, allocations: 0.6209 MB / 0.9422 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002143/2.087, allocations: 219.5 kB / 0.9424 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/2.087, allocations: 51.92 kB / 0.9424 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001363/2.088, allocations: 0.7941 MB / 0.9432 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/2.09, allocations: 1.148 MB / 0.9443 GB, free: 133 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.95e-05/2.09, allocations: 7.781 kB / 0.9443 GB, free: 133 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.785e-05/2.09, allocations: 6.75 kB / 0.9443 GB, free: 133 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.73e-05/2.09, allocations: 42.95 kB / 0.9444 GB, free: 133 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007405/2.098, allocations: 6.687 MB / 0.9509 GB, free: 127.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000467/2.098, allocations: 252 kB / 0.9512 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/2.099, allocations: 139.2 kB / 0.9513 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003364/2.102, allocations: 2.842 MB / 0.9541 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/2.102, allocations: 38.56 kB / 0.9541 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=21): time 2.825e-06/2.102, allocations: 0 / 0.9541 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27): time 0.00241/2.104, allocations: 0.8628 MB / 0.9549 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/2.105, allocations: 55.39 kB / 0.955 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009848/2.106, allocations: 0.6489 MB / 0.9556 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/2.106, allocations: 25.7 kB / 0.9557 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005372/2.106, allocations: 0.6057 MB / 0.9562 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/2.106, allocations: 107.7 kB / 0.9563 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/2.106, allocations: 3.094 kB / 0.9564 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002414/2.107, allocations: 387.6 kB / 0.9567 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/2.107, allocations: 209 kB / 0.9569 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/2.108, allocations: 0.9214 MB / 0.9578 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008958/2.109, allocations: 422.4 kB / 0.9582 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.612e-05/2.109, allocations: 6.938 kB / 0.9582 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001924/2.111, allocations: 1.024 MB / 0.9592 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.758e-05/2.111, allocations: 19.38 kB / 0.9592 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.455e-05/2.111, allocations: 27 kB / 0.9593 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.547e-05/2.111, allocations: 37.66 kB / 0.9593 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008354/2.112, allocations: 281.8 kB / 0.9596 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.341e-05/2.112, allocations: 52.72 kB / 0.9596 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006865/2.113, allocations: 33.5 kB / 0.9597 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/2.113, allocations: 74.77 kB / 0.9597 GB, free: 120.8 MB / 0.5105 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.0002458/2.113, allocations: 173.3 kB / 0.9599 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000641/2.114, allocations: 297.9 kB / 0.9602 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/2.114, allocations: 78.09 kB / 0.9603 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008277/2.115, allocations: 339.2 kB / 0.9606 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/2.115, allocations: 3.281 kB / 0.9606 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/2.115, allocations: 4 kB / 0.9606 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/2.115, allocations: 6.906 kB / 0.9606 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/2.116, allocations: 0.884 MB / 0.9615 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/2.116, allocations: 0 / 0.9615 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/2.117, allocations: 57.55 kB / 0.9615 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-06/2.117, allocations: 0 / 0.9615 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/2.117, allocations: 7.656 kB / 0.9615 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/2.117, allocations: 0 / 0.9615 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.06e-05/2.117, allocations: 11.86 kB / 0.9615 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008845/2.118, allocations: 0.532 MB / 0.962 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/2.118, allocations: 190 kB / 0.9622 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.549e-05/2.118, allocations: 0 / 0.9622 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/2.118, allocations: 18.36 kB / 0.9622 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/2.118, allocations: 18.58 kB / 0.9623 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-05/2.118, allocations: 22.34 kB / 0.9623 GB, free: 119.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006262/2.119, allocations: 443.9 kB / 0.9627 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/2.119, allocations: 0 / 0.9627 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001449/2.121, allocations: 287.7 kB / 0.963 GB, free: 119.1 MB / 0.5105 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.00221/2.123, allocations: 1.468 MB / 0.9644 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009487/2.124, allocations: 0.5402 MB / 0.9649 GB, free: 118 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/2.124, allocations: 3.844 kB / 0.9649 GB, free: 118 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/2.124, allocations: 106.9 kB / 0.9651 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/2.125, allocations: 247.7 kB / 0.9653 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/2.128, allocations: 1.193 MB / 0.9665 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008571/2.129, allocations: 1.009 MB / 0.9674 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001243/2.131, allocations: 293.3 kB / 0.9677 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004678/2.131, allocations: 282.4 kB / 0.968 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of SimCode: time 8.42e-07/2.131, allocations: 3.938 kB / 0.968 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06858/2.2, allocations: 19.05 MB / 0.9866 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003632/2.2, allocations: 193 kB / 0.9868 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.952/5.152, allocations: 4 kB / 0.9868 GB, free: 104.7 MB / 0.5105 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