Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009844/0.0009884, allocations: 97.73 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001291/0.001292, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.194/0.194, allocations: 45.91 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003678, allocations: 7.938 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.136, allocations: 63.48 MB / 481.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01623/0.1522, allocations: 16.66 MB / 498.3 MB, free: 4.547 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008438/0.1607, allocations: 6.642 MB / 0.4931 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000953/0.1617, allocations: 23.81 kB / 0.4931 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.1628, allocations: 310 kB / 0.4934 GB, free: 13.56 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001743/0.1645, allocations: 0.6917 MB / 0.4941 GB, free: 12.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003499/0.168, allocations: 1.03 MB / 0.4951 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003453/0.1715, allocations: 2.981 MB / 0.498 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009852/0.1725, allocations: 0.5441 MB / 0.4986 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001898/0.1744, allocations: 0.903 MB / 0.4994 GB, free: 7.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.1755, allocations: 0.7436 MB / 0.5002 GB, free: 6.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.1756, allocations: 52 kB / 0.5002 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.1767, allocations: 299.6 kB / 0.5005 GB, free: 6.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000343/0.177, allocations: 331.1 kB / 0.5008 GB, free: 5.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002763/0.1773, allocations: 209.3 kB / 0.501 GB, free: 5.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.1785, allocations: 1.072 MB / 0.5021 GB, free: 4.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1785, allocations: 0 / 0.5021 GB, free: 4.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1785, allocations: 0 / 0.5021 GB, free: 4.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.1785, allocations: 0 / 0.5021 GB, free: 4.695 MB / 382.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.002023/0.1806, allocations: 1.107 MB / 0.5031 GB, free: 3.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.1806, allocations: 8.562 kB / 0.5032 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001755/0.1808, allocations: 155 kB / 0.5033 GB, free: 3.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004204/0.1812, allocations: 122.8 kB / 0.5034 GB, free: 3.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008323/0.1821, allocations: 0.5668 MB / 0.504 GB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/0.1823, allocations: 248.2 kB / 0.5042 GB, free: 2.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.1824, allocations: 80 kB / 0.5043 GB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.1842, allocations: 1.301 MB / 0.5056 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.1842, allocations: 3.938 kB / 0.5056 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.591e-05/0.1843, allocations: 44 kB / 0.5056 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.564e-05/0.1844, allocations: 45.17 kB / 0.5056 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2083/0.3927, allocations: 0.9542 MB / 0.5066 GB, free: 42.67 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.00655/0.3993, allocations: 7.089 MB / 0.5135 GB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005323/0.3999, allocations: 310.8 kB / 0.5138 GB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/0.4002, allocations: 168.9 kB / 0.514 GB, free: 37.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002051/0.4022, allocations: 2.821 MB / 0.5167 GB, free: 34.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.4022, allocations: 38.95 kB / 0.5167 GB, free: 34.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 3.186e-06/0.4023, allocations: 0 / 0.5167 GB, free: 34.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.00211/0.4044, allocations: 1.114 MB / 0.5178 GB, free: 33.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.4044, allocations: 54.22 kB / 0.5179 GB, free: 33.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.4056, allocations: 0.865 MB / 0.5187 GB, free: 33.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.4056, allocations: 35.11 kB / 0.5188 GB, free: 33.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/0.406, allocations: 0.5722 MB / 0.5193 GB, free: 32.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.429e-05/0.406, allocations: 137.6 kB / 0.5195 GB, free: 32.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.4061, allocations: 24.41 kB / 0.5195 GB, free: 32.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.4062, allocations: 399.5 kB / 0.5199 GB, free: 32.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/0.4066, allocations: 241.8 kB / 0.5201 GB, free: 32.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006886/0.4073, allocations: 0.9626 MB / 0.521 GB, free: 31.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006316/0.408, allocations: 441 kB / 0.5215 GB, free: 31.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/0.408, allocations: 7.75 kB / 0.5215 GB, free: 31.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001761/0.4097, allocations: 1.201 MB / 0.5226 GB, free: 30.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.4098, allocations: 16.42 kB / 0.5226 GB, free: 30.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.265e-05/0.4098, allocations: 26.09 kB / 0.5227 GB, free: 30.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.771e-05/0.4099, allocations: 42.72 kB / 0.5227 GB, free: 30.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007823/0.4107, allocations: 274.2 kB / 0.523 GB, free: 30.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-05/0.4107, allocations: 52.28 kB / 0.523 GB, free: 30.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007959/0.4115, allocations: 67.91 kB / 0.5231 GB, free: 30.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.4117, allocations: 76.36 kB / 0.5232 GB, free: 30.59 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.0004327/0.4121, allocations: 339.6 kB / 0.5235 GB, free: 30.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.4122, allocations: 87.14 kB / 0.5236 GB, free: 30.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008925/0.4131, allocations: 484.4 kB / 0.524 GB, free: 30.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.4132, allocations: 5.984 kB / 0.524 GB, free: 30.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.4132, allocations: 5.688 kB / 0.524 GB, free: 30.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.4132, allocations: 3.078 kB / 0.524 GB, free: 30.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.415, allocations: 1.239 MB / 0.5253 GB, free: 29.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.415, allocations: 1.719 kB / 0.5253 GB, free: 29.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/0.4153, allocations: 73.06 kB / 0.5253 GB, free: 29.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.4154, allocations: 2.75 kB / 0.5253 GB, free: 29.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.4154, allocations: 13.2 kB / 0.5253 GB, free: 29.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.413e-06/0.4154, allocations: 9.047 kB / 0.5253 GB, free: 29.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4154, allocations: 5.375 kB / 0.5254 GB, free: 29.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009769/0.4164, allocations: 0.6398 MB / 0.526 GB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/0.4167, allocations: 215.1 kB / 0.5262 GB, free: 28.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.87e-05/0.4168, allocations: 9.359 kB / 0.5262 GB, free: 28.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003881/0.4172, allocations: 22.62 kB / 0.5262 GB, free: 28.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.832e-05/0.4173, allocations: 26.84 kB / 0.5262 GB, free: 28.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-05/0.4173, allocations: 24.78 kB / 0.5263 GB, free: 28.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008648/0.4182, allocations: 0.5838 MB / 0.5268 GB, free: 28.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4182, allocations: 1.422 kB / 0.5268 GB, free: 28.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001369/0.4196, allocations: 298.9 kB / 0.5271 GB, free: 28.39 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.001746/0.4213, allocations: 1.384 MB / 0.5285 GB, free: 27.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001242/0.4226, allocations: 0.6359 MB / 0.5291 GB, free: 27.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.4226, allocations: 1.312 kB / 0.5291 GB, free: 27.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002705/0.4229, allocations: 148.8 kB / 0.5292 GB, free: 27.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/0.4248, allocations: 388.9 kB / 0.5296 GB, free: 27.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007567/0.4324, allocations: 5.274 MB / 0.5348 GB, free: 23.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005667/0.433, allocations: 1.003 MB / 0.5357 GB, free: 22.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001346/0.4343, allocations: 312.6 kB / 0.536 GB, free: 22.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003848/0.4347, allocations: 301.2 kB / 0.5363 GB, free: 22.4 MB / 382.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4347, allocations: 0 / 0.5363 GB, free: 22.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03558/0.4703, allocations: 23.01 MB / 0.5588 GB, free: 1.914 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001368/0.4705, allocations: 238 kB / 0.559 GB, free: 1.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.464/2.935, allocations: 4.062 kB / 0.559 GB, free: 1.676 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat does not exist to compare? outputFormat=mat