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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009111/0.0009111, allocations: 95.2 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008991/0.0008991, allocations: 181.6 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.2 MB / 241.8 MB, free: 380 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1892/0.1892, allocations: 44.22 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003233, allocations: 11.98 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1259, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01526/0.1412, allocations: 15.1 MB / 486.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008362/0.1496, allocations: 6.074 MB / 492.7 MB, free: 8.426 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007421/0.1504, allocations: 19.81 kB / 492.7 MB, free: 8.406 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009428/0.1513, allocations: 318.4 kB / 493 MB, free: 8.094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.1528, allocations: 0.5389 MB / 493.6 MB, free: 7.559 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003235/0.156, allocations: 1.048 MB / 494.6 MB, free: 6.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002055/0.1581, allocations: 1.44 MB / 496.1 MB, free: 5.074 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007563/0.1588, allocations: 0.5596 MB / 496.6 MB, free: 4.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001403/0.1603, allocations: 0.7868 MB / 497.4 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006552/0.1609, allocations: 0.4905 MB / 497.9 MB, free: 3.219 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.161, allocations: 48 kB / 498 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.1622, allocations: 359.6 kB / 498.3 MB, free: 2.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003086/0.1625, allocations: 307.2 kB / 498.6 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.1627, allocations: 205.2 kB / 498.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.164, allocations: 1.064 MB / 499.9 MB, free: 1.246 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.164, allocations: 0 / 499.9 MB, free: 1.246 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.164, allocations: 0 / 499.9 MB, free: 1.246 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.164, allocations: 4 kB / 499.9 MB, free: 1.242 MB / 366.1 MB 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.002047/0.166, allocations: 1.107 MB / 0.4892 GB, free: 88 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.1661, allocations: 8.031 kB / 0.4892 GB, free: 80 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001919/0.1663, allocations: 143 kB / 0.4894 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004068/0.1667, allocations: 122.9 kB / 0.4895 GB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009484/0.1677, allocations: 0.5668 MB / 0.4901 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/0.1678, allocations: 248.2 kB / 0.4903 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.168, allocations: 83.94 kB / 0.4904 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/0.1697, allocations: 1.301 MB / 0.4916 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.1697, allocations: 3.938 kB / 0.4916 GB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.874e-05/0.1698, allocations: 47.94 kB / 0.4917 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.354e-05/0.1699, allocations: 41.3 kB / 0.4917 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.1713, allocations: 0.9571 MB / 0.4927 GB, free: 12.36 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006822/0.1782, allocations: 7.093 MB / 0.4996 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005184/0.1787, allocations: 312.1 kB / 0.4999 GB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002974/0.1817, allocations: 2.822 MB / 0.5026 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.1817, allocations: 46.73 kB / 0.5027 GB, free: 1.102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.404e-06/0.1818, allocations: 0 / 0.5027 GB, free: 1.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.2353/0.4171, allocations: 1.097 MB / 0.5038 GB, free: 29.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.4172, allocations: 57.45 kB / 0.5038 GB, free: 29.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.4185, allocations: 0.8615 MB / 0.5047 GB, free: 29.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.845e-05/0.4186, allocations: 35.5 kB / 0.5047 GB, free: 29.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000397/0.419, allocations: 0.5723 MB / 0.5053 GB, free: 29.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.4191, allocations: 138.5 kB / 0.5054 GB, free: 29.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.4192, allocations: 24.19 kB / 0.5054 GB, free: 29.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4193, allocations: 397.2 kB / 0.5058 GB, free: 29.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004265/0.4197, allocations: 242.8 kB / 0.506 GB, free: 29.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007084/0.4205, allocations: 0.9519 MB / 0.5069 GB, free: 28.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006308/0.4211, allocations: 446.4 kB / 0.5074 GB, free: 28.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/0.4211, allocations: 7.656 kB / 0.5074 GB, free: 28.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001812/0.4229, allocations: 1.197 MB / 0.5085 GB, free: 28.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/0.423, allocations: 21.02 kB / 0.5086 GB, free: 28.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.269e-05/0.423, allocations: 25.69 kB / 0.5086 GB, free: 28.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.561e-05/0.4231, allocations: 41.52 kB / 0.5086 GB, free: 28.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008166/0.4239, allocations: 278.9 kB / 0.5089 GB, free: 28.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-05/0.424, allocations: 48.84 kB / 0.5089 GB, free: 28.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007856/0.4248, allocations: 71.12 kB / 0.509 GB, free: 28.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.186e-05/0.4249, allocations: 74.23 kB / 0.5091 GB, free: 28.03 MB / 382.1 MB 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.0003972/0.4253, allocations: 330.3 kB / 0.5094 GB, free: 27.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.4254, allocations: 88.86 kB / 0.5095 GB, free: 27.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000813/0.4262, allocations: 485.9 kB / 0.5099 GB, free: 27.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.4262, allocations: 3.906 kB / 0.51 GB, free: 27.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.4262, allocations: 0 / 0.51 GB, free: 27.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.4263, allocations: 10.67 kB / 0.51 GB, free: 27.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.4278, allocations: 1.236 MB / 0.5112 GB, free: 27.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.4279, allocations: 1.281 kB / 0.5112 GB, free: 27.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.4282, allocations: 71.92 kB / 0.5112 GB, free: 27.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/0.4282, allocations: 3.875 kB / 0.5112 GB, free: 27.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.4282, allocations: 17.06 kB / 0.5113 GB, free: 27.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.4282, allocations: 3.75 kB / 0.5113 GB, free: 27.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.4282, allocations: 1.969 kB / 0.5113 GB, free: 27.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008826/0.4291, allocations: 0.709 MB / 0.512 GB, free: 26.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/0.4294, allocations: 208.4 kB / 0.5122 GB, free: 26.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.4295, allocations: 15.66 kB / 0.5122 GB, free: 26.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/0.43, allocations: 32.12 kB / 0.5122 GB, free: 26.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.43, allocations: 26.5 kB / 0.5122 GB, free: 26.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.984e-05/0.4301, allocations: 23.5 kB / 0.5122 GB, free: 26.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007608/0.4308, allocations: 0.5826 MB / 0.5128 GB, free: 26.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4308, allocations: 0 / 0.5128 GB, free: 26.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001225/0.4321, allocations: 304.5 kB / 0.5131 GB, free: 26.62 MB / 382.1 MB 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.001461/0.4335, allocations: 1.884 MB / 0.5149 GB, free: 25.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.4347, allocations: 0.6256 MB / 0.5156 GB, free: 25.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4347, allocations: 1.375 kB / 0.5156 GB, free: 25.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002652/0.435, allocations: 149.3 kB / 0.5157 GB, free: 25.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.4369, allocations: 377.9 kB / 0.5161 GB, free: 25.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009721/0.4466, allocations: 22.71 MB / 0.5382 GB, free: 5.332 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004859/0.4471, allocations: 1.014 MB / 0.5392 GB, free: 4.621 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001155/0.4483, allocations: 323.1 kB / 0.5395 GB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003116/0.4486, allocations: 297.5 kB / 0.5398 GB, free: 4.555 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4486, allocations: 0 / 0.5398 GB, free: 4.555 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03886/0.4875, allocations: 22.93 MB / 0.5622 GB, free: 5.426 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.4877, allocations: 238.3 kB / 0.5624 GB, free: 5.191 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.242/2.73, allocations: 6.344 kB / 0.5625 GB, free: 5.188 MB / 398.1 MB (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