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.00169/0.00169, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002048/0.002048, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2285/0.2285, allocations: 46.11 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.00225/0.002251, allocations: 82.94 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.124, allocations: 62.44 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02084/0.1449, allocations: 17.74 MB / 498 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009448/0.1543, allocations: 7.004 MB / 0.4931 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007566/0.1551, allocations: 23.81 kB / 0.4931 GB, free: 12.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.1563, allocations: 385.6 kB / 0.4935 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.158, allocations: 0.6683 MB / 0.4942 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00355/0.1616, allocations: 1.32 MB / 0.4955 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003351/0.1649, allocations: 2.517 MB / 0.4979 GB, free: 7.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.1662, allocations: 0.6779 MB / 0.4986 GB, free: 6.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002225/0.1684, allocations: 1.047 MB / 0.4996 GB, free: 5.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001369/0.1698, allocations: 0.7473 MB / 0.5003 GB, free: 4.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002331/0.1701, allocations: 92 kB / 0.5004 GB, free: 4.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.1716, allocations: 0.5694 MB / 0.501 GB, free: 4.227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004386/0.1721, allocations: 375.1 kB / 0.5013 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007617/0.1729, allocations: 0.5134 MB / 0.5018 GB, free: 3.344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002323/0.1752, allocations: 1.585 MB / 0.5034 GB, free: 1.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/0.1752, allocations: 4 kB / 0.5034 GB, free: 1.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1752, allocations: 0 / 0.5034 GB, free: 1.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.1752, allocations: 0 / 0.5034 GB, free: 1.75 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.002563/0.1778, allocations: 1.294 MB / 0.5046 GB, free: 416 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.1779, allocations: 8.031 kB / 0.5047 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002129/0.1781, allocations: 143.2 kB / 0.5048 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005709/0.1787, allocations: 119.8 kB / 0.5049 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1951/0.3738, allocations: 0.5832 MB / 0.5055 GB, free: 43.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/0.3739, allocations: 248.2 kB / 0.5057 GB, free: 43.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.3741, allocations: 84.44 kB / 0.5058 GB, free: 43.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.376, allocations: 1.303 MB / 0.5071 GB, free: 42.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/0.376, allocations: 6.812 kB / 0.5071 GB, free: 42.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.3762, allocations: 43.7 kB / 0.5071 GB, free: 42.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.695e-05/0.3762, allocations: 41.58 kB / 0.5071 GB, free: 42.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.378, allocations: 0.967 MB / 0.5081 GB, free: 42.46 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.006058/0.384, allocations: 7.094 MB / 0.515 GB, free: 36.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005262/0.3846, allocations: 311.8 kB / 0.5153 GB, free: 36.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.3848, allocations: 169.8 kB / 0.5155 GB, free: 36.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001901/0.3867, allocations: 2.822 MB / 0.5182 GB, free: 33.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.3868, allocations: 38.73 kB / 0.5183 GB, free: 33.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.853e-06/0.3868, allocations: 0 / 0.5183 GB, free: 33.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002083/0.3889, allocations: 1.122 MB / 0.5194 GB, free: 32.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.3889, allocations: 56.33 kB / 0.5194 GB, free: 32.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009088/0.3898, allocations: 0.8736 MB / 0.5203 GB, free: 32.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.3899, allocations: 32.08 kB / 0.5203 GB, free: 32.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.3902, allocations: 0.5713 MB / 0.5209 GB, free: 31.87 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.263e-05/0.3902, allocations: 137.8 kB / 0.521 GB, free: 31.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/0.3905, allocations: 237.9 kB / 0.5212 GB, free: 31.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3906, allocations: 396.6 kB / 0.5216 GB, free: 31.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003914/0.391, allocations: 246 kB / 0.5218 GB, free: 31.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000625/0.3917, allocations: 0.9651 MB / 0.5228 GB, free: 30.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.3927, allocations: 1.316 MB / 0.5241 GB, free: 28.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/0.3928, allocations: 6.938 kB / 0.5241 GB, free: 28.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001862/0.3946, allocations: 1.216 MB / 0.5253 GB, free: 28.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.3947, allocations: 15.88 kB / 0.5253 GB, free: 28.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/0.3947, allocations: 30.12 kB / 0.5253 GB, free: 28.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.227e-05/0.3948, allocations: 35.16 kB / 0.5253 GB, free: 28.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007625/0.3955, allocations: 278 kB / 0.5256 GB, free: 28.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.423e-05/0.3956, allocations: 56.05 kB / 0.5257 GB, free: 28.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007144/0.3963, allocations: 50.73 kB / 0.5257 GB, free: 28.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.03e-05/0.3964, allocations: 76.56 kB / 0.5258 GB, free: 28.34 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.000389/0.3968, allocations: 330.6 kB / 0.5261 GB, free: 28.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.397, allocations: 91.33 kB / 0.5262 GB, free: 28.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008357/0.3978, allocations: 478 kB / 0.5266 GB, free: 27.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.3978, allocations: 5.578 kB / 0.5266 GB, free: 27.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3978, allocations: 0 / 0.5266 GB, free: 27.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3978, allocations: 2.156 kB / 0.5266 GB, free: 27.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.3994, allocations: 1.252 MB / 0.5279 GB, free: 27.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3995, allocations: 1.219 kB / 0.5279 GB, free: 27.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.3998, allocations: 71.02 kB / 0.5279 GB, free: 27.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.3998, allocations: 7.188 kB / 0.5279 GB, free: 27.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.3998, allocations: 9.297 kB / 0.5279 GB, free: 27.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.3998, allocations: 3.625 kB / 0.528 GB, free: 27.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3998, allocations: 10.88 kB / 0.528 GB, free: 27.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008206/0.4006, allocations: 0.644 MB / 0.5286 GB, free: 26.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002344/0.4009, allocations: 202.1 kB / 0.5288 GB, free: 26.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.401, allocations: 7.344 kB / 0.5288 GB, free: 26.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000413/0.4014, allocations: 15.25 kB / 0.5288 GB, free: 26.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.4015, allocations: 35.22 kB / 0.5288 GB, free: 26.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/0.4015, allocations: 25.78 kB / 0.5289 GB, free: 26.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007219/0.4023, allocations: 0.5937 MB / 0.5294 GB, free: 26.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4023, allocations: 1.375 kB / 0.5294 GB, free: 26.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001314/0.4036, allocations: 300.9 kB / 0.5297 GB, free: 26.14 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.001628/0.4052, allocations: 1.408 MB / 0.5311 GB, free: 25.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.4064, allocations: 0.6674 MB / 0.5318 GB, free: 24.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.4064, allocations: 1.562 kB / 0.5318 GB, free: 24.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.4067, allocations: 152.5 kB / 0.5319 GB, free: 24.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.4086, allocations: 435.5 kB / 0.5323 GB, free: 24.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008656/0.4173, allocations: 8.433 MB / 0.5406 GB, free: 18.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.4177, allocations: 1.003 MB / 0.5415 GB, free: 17.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001019/0.4187, allocations: 313.3 kB / 0.5418 GB, free: 17.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/0.419, allocations: 303.3 kB / 0.5421 GB, free: 16.76 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.419, allocations: 0 / 0.5421 GB, free: 16.76 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05027/0.4693, allocations: 24.46 MB / 0.566 GB, free: 8.523 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.768/9.237, allocations: 19.03 kB / 0.566 GB, free: 8.508 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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)