Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_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.002166/0.002166, allocations: 177.6 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.191/2.191, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000956/0.0009556, allocations: 78.22 kB / 261.7 MB, free: 1.688 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.2891/0.2891, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.039e-05/2.042e-05, allocations: 4 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1602, allocations: 58.85 MB / 477.2 MB, free: 1.562 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.155/1.315, allocations: 301.2 MB / 0.7602 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/1.315, allocations: 91.12 kB / 0.7603 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7026/2.018, allocations: 150.7 MB / 0.9075 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.124e-06/2.018, allocations: 0 / 0.9075 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.307e-05/2.018, allocations: 25.95 kB / 0.9075 GB, free: 120.7 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.002389/2.02, allocations: 1.073 MB / 0.9085 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/2.02, allocations: 9.375 kB / 0.9086 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004937/2.021, allocations: 121.7 kB / 0.9087 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/2.022, allocations: 0.6128 MB / 0.9093 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/2.022, allocations: 220.4 kB / 0.9095 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/2.022, allocations: 55.42 kB / 0.9095 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001559/2.024, allocations: 0.7976 MB / 0.9103 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/2.026, allocations: 1.141 MB / 0.9114 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.558e-05/2.026, allocations: 6.219 kB / 0.9114 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/2.026, allocations: 11.73 kB / 0.9114 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-05/2.026, allocations: 40.2 kB / 0.9115 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006484/2.033, allocations: 6.675 MB / 0.918 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004393/2.033, allocations: 254.9 kB / 0.9182 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/2.033, allocations: 139.8 kB / 0.9184 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002408/2.036, allocations: 2.845 MB / 0.9212 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/2.036, allocations: 45.84 kB / 0.9212 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=21): time 1.844e-06/2.036, allocations: 0 / 0.9212 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.002013/2.038, allocations: 0.8603 MB / 0.922 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/2.038, allocations: 61.7 kB / 0.9221 GB, free: 111.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009181/2.039, allocations: 0.6513 MB / 0.9227 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/2.039, allocations: 30.73 kB / 0.9228 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000374/2.039, allocations: 0.6004 MB / 0.9234 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.16e-05/2.039, allocations: 112 kB / 0.9235 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/2.039, allocations: 0 / 0.9235 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001559/2.04, allocations: 382 kB / 0.9238 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/2.04, allocations: 205.5 kB / 0.924 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007965/2.041, allocations: 0.9211 MB / 0.9249 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008404/2.042, allocations: 423.7 kB / 0.9253 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.775e-05/2.042, allocations: 7.25 kB / 0.9253 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001994/2.044, allocations: 1.028 MB / 0.9263 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.171e-05/2.044, allocations: 15.53 kB / 0.9263 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.4e-05/2.044, allocations: 25.84 kB / 0.9264 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-05/2.044, allocations: 41.02 kB / 0.9264 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007723/2.045, allocations: 286.2 kB / 0.9267 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.493e-05/2.045, allocations: 50.41 kB / 0.9267 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007082/2.045, allocations: 43.84 kB / 0.9268 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.398e-05/2.045, allocations: 71.44 kB / 0.9268 GB, free: 109.4 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.0001843/2.046, allocations: 177.6 kB / 0.927 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004734/2.046, allocations: 276.4 kB / 0.9273 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.992e-05/2.046, allocations: 75.19 kB / 0.9273 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006807/2.047, allocations: 351.9 kB / 0.9277 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/2.047, allocations: 5.781 kB / 0.9277 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/2.047, allocations: 0 / 0.9277 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/2.047, allocations: 5.719 kB / 0.9277 GB, free: 109.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/2.048, allocations: 0.8791 MB / 0.9286 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/2.048, allocations: 3.953 kB / 0.9286 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/2.049, allocations: 66.36 kB / 0.9286 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/2.049, allocations: 0 / 0.9286 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/2.049, allocations: 7.406 kB / 0.9286 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/2.049, allocations: 2.656 kB / 0.9286 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/2.049, allocations: 0 / 0.9286 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007272/2.049, allocations: 0.5315 MB / 0.9291 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/2.05, allocations: 191.9 kB / 0.9293 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.379e-05/2.05, allocations: 3.5 kB / 0.9293 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/2.05, allocations: 14.3 kB / 0.9293 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/2.05, allocations: 21.73 kB / 0.9294 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.256e-05/2.05, allocations: 18.98 kB / 0.9294 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004387/2.051, allocations: 446.6 kB / 0.9298 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/2.051, allocations: 0 / 0.9298 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001273/2.052, allocations: 292.9 kB / 0.9301 GB, free: 108.4 MB / 0.4948 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.001657/2.054, allocations: 1.469 MB / 0.9315 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008368/2.054, allocations: 0.5432 MB / 0.9321 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/2.054, allocations: 3.031 kB / 0.9321 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/2.055, allocations: 112.9 kB / 0.9322 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/2.056, allocations: 239.9 kB / 0.9324 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/2.058, allocations: 1.183 MB / 0.9336 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/2.058, allocations: 1.007 MB / 0.9345 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00085/2.059, allocations: 292.2 kB / 0.9348 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003241/2.06, allocations: 285.6 kB / 0.9351 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.002e-06/2.06, allocations: 0 / 0.9351 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04436/2.104, allocations: 19.05 MB / 0.9537 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/2.104, allocations: 186.1 kB / 0.9539 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.024/5.128, allocations: 0 / 0.9539 GB, free: 105.4 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat does not exist to compare? outputFormat=mat