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.001574/0.001574, allocations: 181.4 kB / 13.66 MB, free: 1.664 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.029/2.029, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001139/0.001138, allocations: 74.67 kB / 267.5 MB, free: 14.05 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.2822/0.2822, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.289e-05/3.298e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1224, allocations: 58.85 MB / 484.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.134/1.257, allocations: 301.9 MB / 0.7677 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/1.257, allocations: 89.48 kB / 0.7678 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8452/2.102, allocations: 152.3 MB / 0.9165 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.784e-06/2.102, allocations: 0 / 0.9165 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.376e-05/2.102, allocations: 23.48 kB / 0.9165 GB, free: 122.4 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.003236/2.106, allocations: 1.077 MB / 0.9176 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/2.106, allocations: 9.375 kB / 0.9176 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003476/2.106, allocations: 138.4 kB / 0.9177 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000754/2.107, allocations: 121.1 kB / 0.9179 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/2.109, allocations: 0.6134 MB / 0.9184 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002373/2.109, allocations: 247.8 kB / 0.9187 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002503/2.109, allocations: 76.66 kB / 0.9188 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002969/2.112, allocations: 1.262 MB / 0.92 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-05/2.113, allocations: 10.97 kB / 0.92 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002009/2.113, allocations: 40.19 kB / 0.92 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.129e-05/2.113, allocations: 48.64 kB / 0.9201 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002538/2.115, allocations: 0.9028 MB / 0.921 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009889/2.125, allocations: 6.58 MB / 0.9274 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007324/2.126, allocations: 299.1 kB / 0.9277 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003925/2.127, allocations: 169.6 kB / 0.9278 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003407/2.13, allocations: 2.882 MB / 0.9307 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/2.13, allocations: 38.05 kB / 0.9307 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 4.058e-06/2.13, allocations: 2.156 kB / 0.9307 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34): time 0.003222/2.133, allocations: 1.027 MB / 0.9317 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/2.133, allocations: 58.48 kB / 0.9318 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/2.135, allocations: 0.7603 MB / 0.9325 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001193/2.135, allocations: 32.8 kB / 0.9325 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003927/2.135, allocations: 0.5997 MB / 0.9331 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/2.135, allocations: 137.5 kB / 0.9332 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-05/2.136, allocations: 24.69 kB / 0.9333 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001171/2.136, allocations: 360 kB / 0.9336 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005627/2.136, allocations: 231.5 kB / 0.9338 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009484/2.137, allocations: 0.9435 MB / 0.9348 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000966/2.138, allocations: 445.5 kB / 0.9352 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.574e-05/2.138, allocations: 3.969 kB / 0.9352 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002667/2.141, allocations: 1.145 MB / 0.9363 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/2.141, allocations: 15.28 kB / 0.9363 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.303e-05/2.141, allocations: 28.12 kB / 0.9363 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.345e-05/2.141, allocations: 35.41 kB / 0.9364 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/2.143, allocations: 276.2 kB / 0.9366 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.058e-05/2.143, allocations: 53.84 kB / 0.9367 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/2.144, allocations: 72.89 kB / 0.9368 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/2.144, allocations: 77.5 kB / 0.9368 GB, free: 111.1 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 () * 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.0003072/2.144, allocations: 205.5 kB / 0.937 GB, free: 111 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/2.145, allocations: 88.47 kB / 0.9371 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/2.146, allocations: 477.3 kB / 0.9376 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/2.146, allocations: 3.062 kB / 0.9376 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/2.146, allocations: 0 / 0.9376 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/2.146, allocations: 3.344 kB / 0.9376 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002389/2.148, allocations: 1.226 MB / 0.9388 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/2.148, allocations: 0 / 0.9388 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005454/2.149, allocations: 69.44 kB / 0.9388 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/2.149, allocations: 3.875 kB / 0.9388 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/2.149, allocations: 14.06 kB / 0.9389 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.578e-06/2.149, allocations: 10.67 kB / 0.9389 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/2.149, allocations: 6.594 kB / 0.9389 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/2.15, allocations: 0.7042 MB / 0.9396 GB, free: 110 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004878/2.151, allocations: 209.7 kB / 0.9398 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/2.151, allocations: 13.72 kB / 0.9398 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008219/2.152, allocations: 29.47 kB / 0.9398 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/2.152, allocations: 22.06 kB / 0.9398 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.651e-05/2.152, allocations: 25.98 kB / 0.9398 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001062/2.153, allocations: 0.5706 MB / 0.9404 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.61e-07/2.153, allocations: 0 / 0.9404 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001785/2.155, allocations: 313.2 kB / 0.9407 GB, free: 109.7 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 () * 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.002475/2.158, allocations: 1.978 MB / 0.9426 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001572/2.159, allocations: 0.6342 MB / 0.9433 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/2.159, allocations: 0 / 0.9433 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003164/2.159, allocations: 137 kB / 0.9434 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003176/2.163, allocations: 373.7 kB / 0.9437 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/2.167, allocations: 1.366 MB / 0.9451 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005651/2.167, allocations: 1.009 MB / 0.9461 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000626/2.168, allocations: 310.2 kB / 0.9464 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.042e-06/2.168, allocations: 2.656 kB / 0.9464 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.29/5.458, allocations: 18.81 MB / 0.9647 GB, free: 105.8 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