Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.00149/0.00149, allocations: 103.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001495/0.001495, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2352/0.2352, allocations: 46.1 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 84.61 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1123, allocations: 62.45 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02027/0.1326, allocations: 17.74 MB / 497.9 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009664/0.1423, allocations: 7.008 MB / 0.4931 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000743/0.1431, allocations: 19.88 kB / 0.4931 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.1441, allocations: 381.6 kB / 0.4935 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.1456, allocations: 0.68 MB / 0.4942 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004095/0.1498, allocations: 1.325 MB / 0.4955 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00355/0.1533, allocations: 2.51 MB / 0.4979 GB, free: 7.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.1546, allocations: 0.6857 MB / 0.4986 GB, free: 6.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002016/0.1566, allocations: 1.036 MB / 0.4996 GB, free: 5.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.1578, allocations: 0.7511 MB / 0.5003 GB, free: 4.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001885/0.158, allocations: 88 kB / 0.5004 GB, free: 4.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.1594, allocations: 0.5656 MB / 0.501 GB, free: 4.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003967/0.1598, allocations: 375 kB / 0.5013 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006165/0.1605, allocations: 0.5134 MB / 0.5018 GB, free: 3.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002146/0.1626, allocations: 1.589 MB / 0.5034 GB, free: 1.773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1626, allocations: 4 kB / 0.5034 GB, free: 1.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1626, allocations: 0 / 0.5034 GB, free: 1.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.1627, allocations: 0 / 0.5034 GB, free: 1.77 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.002418/0.1651, allocations: 1.287 MB / 0.5046 GB, free: 444 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1651, allocations: 8.031 kB / 0.5046 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001885/0.1653, allocations: 147.2 kB / 0.5048 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004642/0.1658, allocations: 123.8 kB / 0.5049 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1779/0.3437, allocations: 0.5853 MB / 0.5055 GB, free: 43.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001991/0.344, allocations: 250.9 kB / 0.5057 GB, free: 43.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.3441, allocations: 80.59 kB / 0.5058 GB, free: 43.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.3462, allocations: 1.307 MB / 0.5071 GB, free: 42.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/0.3463, allocations: 7.031 kB / 0.5071 GB, free: 42.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.3464, allocations: 40.41 kB / 0.5071 GB, free: 42.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-05/0.3465, allocations: 45.89 kB / 0.5072 GB, free: 42.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.3482, allocations: 0.9645 MB / 0.5081 GB, free: 42.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.005441/0.3537, allocations: 7.093 MB / 0.515 GB, free: 36.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004956/0.3542, allocations: 314 kB / 0.5153 GB, free: 36.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.3545, allocations: 170 kB / 0.5155 GB, free: 36.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001924/0.3564, allocations: 2.815 MB / 0.5182 GB, free: 33.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.3564, allocations: 46.19 kB / 0.5183 GB, free: 33.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.834e-06/0.3564, allocations: 0 / 0.5183 GB, free: 33.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002133/0.3586, allocations: 1.117 MB / 0.5194 GB, free: 32.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.3586, allocations: 56.34 kB / 0.5194 GB, free: 32.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.3596, allocations: 0.8732 MB / 0.5203 GB, free: 32.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.3597, allocations: 32.45 kB / 0.5203 GB, free: 32.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/0.36, allocations: 0.5682 MB / 0.5209 GB, free: 31.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.144e-05/0.36, allocations: 142.6 kB / 0.521 GB, free: 31.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/0.3603, allocations: 239 kB / 0.5212 GB, free: 31.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3604, allocations: 394.8 kB / 0.5216 GB, free: 31.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003893/0.3608, allocations: 246.5 kB / 0.5218 GB, free: 31.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007765/0.3616, allocations: 0.9637 MB / 0.5228 GB, free: 30.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.3628, allocations: 1.32 MB / 0.5241 GB, free: 28.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.3628, allocations: 6.844 kB / 0.5241 GB, free: 28.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001917/0.3647, allocations: 1.216 MB / 0.5253 GB, free: 28.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.3648, allocations: 19.88 kB / 0.5253 GB, free: 28.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-05/0.3648, allocations: 25.53 kB / 0.5253 GB, free: 28.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.898e-05/0.3649, allocations: 35.61 kB / 0.5253 GB, free: 28.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008198/0.3657, allocations: 278.5 kB / 0.5256 GB, free: 28.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.245e-05/0.3658, allocations: 51 kB / 0.5257 GB, free: 28.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006897/0.3664, allocations: 50.94 kB / 0.5257 GB, free: 28.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.938e-05/0.3665, allocations: 76.66 kB / 0.5258 GB, free: 28.24 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003479/0.3669, allocations: 330 kB / 0.5261 GB, free: 28.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.3671, allocations: 91.56 kB / 0.5262 GB, free: 27.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008221/0.3679, allocations: 482.3 kB / 0.5266 GB, free: 27.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.3679, allocations: 3.281 kB / 0.5266 GB, free: 27.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3679, allocations: 2.141 kB / 0.5266 GB, free: 27.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3679, allocations: 2.094 kB / 0.5266 GB, free: 27.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.3696, allocations: 1.248 MB / 0.5279 GB, free: 26.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.3696, allocations: 4.938 kB / 0.5279 GB, free: 26.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.3699, allocations: 71.09 kB / 0.5279 GB, free: 26.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.3699, allocations: 2.406 kB / 0.5279 GB, free: 26.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.37, allocations: 10.38 kB / 0.5279 GB, free: 26.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.37, allocations: 3.594 kB / 0.528 GB, free: 26.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.37, allocations: 10.66 kB / 0.528 GB, free: 26.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.371, allocations: 0.6399 MB / 0.5286 GB, free: 26.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000242/0.3713, allocations: 208.9 kB / 0.5288 GB, free: 26.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.3714, allocations: 11 kB / 0.5288 GB, free: 26.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003862/0.3718, allocations: 14.41 kB / 0.5288 GB, free: 26.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.3718, allocations: 32.31 kB / 0.5288 GB, free: 26.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-05/0.3719, allocations: 26.52 kB / 0.5289 GB, free: 26.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007942/0.3727, allocations: 0.5934 MB / 0.5294 GB, free: 26.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3727, allocations: 0 / 0.5294 GB, free: 26.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001295/0.374, allocations: 303.1 kB / 0.5297 GB, free: 26.05 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001481/0.3755, allocations: 1.411 MB / 0.5311 GB, free: 25.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.3766, allocations: 0.6658 MB / 0.5318 GB, free: 24.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.3766, allocations: 1.094 kB / 0.5318 GB, free: 24.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.3768, allocations: 150.6 kB / 0.5319 GB, free: 24.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/0.3788, allocations: 432.2 kB / 0.5323 GB, free: 24.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008756/0.3876, allocations: 8.439 MB / 0.5406 GB, free: 18.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.3879, allocations: 0.9902 MB / 0.5415 GB, free: 17.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009864/0.3889, allocations: 316 kB / 0.5418 GB, free: 16.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.3892, allocations: 303.3 kB / 0.5421 GB, free: 16.61 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3892, allocations: 0 / 0.5421 GB, free: 16.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05122/0.4404, allocations: 24.46 MB / 0.566 GB, free: 8.383 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.605/9.045, allocations: 23.02 kB / 0.566 GB, free: 8.363 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1)