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.002019/0.00202, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.603/1.603, allocations: 221.4 MB / 236 MB, free: 2.949 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.001416/0.001415, allocations: 91.66 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2376/0.2376, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.779e-05/4.801e-05, allocations: 0 / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1719, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.152/1.324, allocations: 303.2 MB / 0.7979 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/1.324, allocations: 85.39 kB / 0.7979 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7714/2.096, allocations: 155.3 MB / 0.9496 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.266e-06/2.096, allocations: 0 / 0.9496 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001301/2.096, allocations: 26.28 kB / 0.9496 GB, free: 139.6 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.0036/2.1, allocations: 1.074 MB / 0.9506 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/2.1, allocations: 9.562 kB / 0.9506 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005097/2.1, allocations: 141.5 kB / 0.9508 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009041/2.101, allocations: 117.5 kB / 0.9509 GB, free: 139 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/2.103, allocations: 0.6114 MB / 0.9515 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002223/2.103, allocations: 251 kB / 0.9517 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002578/2.104, allocations: 84.38 kB / 0.9518 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/2.106, allocations: 1.269 MB / 0.9531 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.094e-05/2.106, allocations: 7.188 kB / 0.9531 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001926/2.106, allocations: 40.66 kB / 0.9531 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.849e-05/2.106, allocations: 42.02 kB / 0.9531 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/2.108, allocations: 0.9091 MB / 0.954 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0075/2.116, allocations: 6.578 MB / 0.9604 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000532/2.116, allocations: 299.5 kB / 0.9607 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/2.116, allocations: 159.3 kB / 0.9609 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0028/2.119, allocations: 2.885 MB / 0.9637 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/2.119, allocations: 45.81 kB / 0.9637 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 2.776e-06/2.119, allocations: 0 / 0.9637 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.002402/2.122, allocations: 1.016 MB / 0.9647 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/2.122, allocations: 54.56 kB / 0.9648 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/2.123, allocations: 0.7631 MB / 0.9655 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.614e-05/2.123, allocations: 34.64 kB / 0.9656 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004253/2.123, allocations: 0.5687 MB / 0.9661 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/2.123, allocations: 137.8 kB / 0.9663 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/2.124, allocations: 23.28 kB / 0.9663 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001597/2.124, allocations: 395.8 kB / 0.9667 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000403/2.124, allocations: 237.5 kB / 0.9669 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007158/2.125, allocations: 0.9438 MB / 0.9678 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006094/2.125, allocations: 434.4 kB / 0.9682 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.966e-05/2.126, allocations: 11.59 kB / 0.9682 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001899/2.127, allocations: 1.184 MB / 0.9694 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/2.127, allocations: 21.03 kB / 0.9694 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.226e-05/2.128, allocations: 24.53 kB / 0.9694 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.276e-05/2.128, allocations: 36.94 kB / 0.9695 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008044/2.128, allocations: 279.5 kB / 0.9697 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.236e-05/2.128, allocations: 52 kB / 0.9698 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009484/2.129, allocations: 62.59 kB / 0.9698 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/2.13, allocations: 75.16 kB / 0.9699 GB, free: 128.3 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.0002363/2.13, allocations: 206 kB / 0.9701 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002222/2.13, allocations: 94.38 kB / 0.9702 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009158/2.131, allocations: 464.3 kB / 0.9706 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/2.131, allocations: 3.844 kB / 0.9706 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/2.131, allocations: 2.375 kB / 0.9706 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/2.131, allocations: 0 / 0.9706 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001966/2.133, allocations: 1.244 MB / 0.9719 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/2.133, allocations: 3.781 kB / 0.9719 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/2.133, allocations: 62.91 kB / 0.9719 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/2.133, allocations: 3.906 kB / 0.9719 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/2.133, allocations: 17.22 kB / 0.9719 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/2.133, allocations: 10.91 kB / 0.972 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/2.133, allocations: 3.953 kB / 0.972 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008451/2.134, allocations: 0.7018 MB / 0.9726 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003855/2.135, allocations: 204.2 kB / 0.9728 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/2.135, allocations: 13.75 kB / 0.9729 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004808/2.135, allocations: 25.28 kB / 0.9729 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/2.135, allocations: 29.2 kB / 0.9729 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.387e-05/2.135, allocations: 25.36 kB / 0.9729 GB, free: 127 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007424/2.136, allocations: 0.576 MB / 0.9735 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/2.136, allocations: 0 / 0.9735 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00145/2.138, allocations: 320.3 kB / 0.9738 GB, free: 126.8 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 () * 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.001936/2.14, allocations: 1.975 MB / 0.9757 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001067/2.141, allocations: 0.6217 MB / 0.9763 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/2.141, allocations: 2.594 kB / 0.9763 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001998/2.141, allocations: 136.7 kB / 0.9765 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/2.143, allocations: 382.3 kB / 0.9768 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/2.145, allocations: 1.316 MB / 0.9781 GB, free: 125 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/2.146, allocations: 1.014 MB / 0.9791 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001055/2.147, allocations: 319.7 kB / 0.9794 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003975/2.147, allocations: 302.8 kB / 0.9797 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.183e-06/2.147, allocations: 0 / 0.9797 GB, free: 124.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05139/2.199, allocations: 25.09 MB / 1.004 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/2.199, allocations: 201.6 kB / 1.004 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.984/5.183, allocations: 0 / 1.004 GB, free: 121.6 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