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.001292/0.001292, 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.00145/0.00145, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1952/0.1952, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 78.91 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1041, allocations: 62.44 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02878/0.1329, allocations: 17.74 MB / 497.9 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01361/0.1466, allocations: 7.008 MB / 0.493 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009557/0.1476, allocations: 23.88 kB / 0.4931 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.1492, allocations: 385.6 kB / 0.4934 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002181/0.1514, allocations: 0.6761 MB / 0.4941 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004876/0.1563, allocations: 1.315 MB / 0.4954 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004083/0.1604, allocations: 2.51 MB / 0.4978 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/0.1619, allocations: 0.6779 MB / 0.4985 GB, free: 6.762 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002609/0.1645, allocations: 1.04 MB / 0.4995 GB, free: 5.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001625/0.1662, allocations: 0.7589 MB / 0.5002 GB, free: 4.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000294/0.1665, allocations: 92 kB / 0.5003 GB, free: 4.867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001764/0.1683, allocations: 0.5382 MB / 0.5009 GB, free: 4.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000541/0.1688, allocations: 371 kB / 0.5012 GB, free: 3.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006578/0.1695, allocations: 0.5173 MB / 0.5017 GB, free: 3.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.1712, allocations: 1.511 MB / 0.5032 GB, free: 1.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1712, allocations: 0 / 0.5032 GB, free: 1.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1712, allocations: 0 / 0.5032 GB, free: 1.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.048e-05/0.1712, allocations: 0 / 0.5032 GB, free: 1.93 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.002236/0.1734, allocations: 1.298 MB / 0.5045 GB, free: 0.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.1735, allocations: 8.031 kB / 0.5045 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001706/0.1737, allocations: 147.2 kB / 0.5046 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000427/0.1741, allocations: 115.8 kB / 0.5047 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1693/0.3434, allocations: 0.581 MB / 0.5053 GB, free: 43.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.3436, allocations: 250.4 kB / 0.5055 GB, free: 43.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.3437, allocations: 81.47 kB / 0.5056 GB, free: 43.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.3454, allocations: 1.307 MB / 0.5069 GB, free: 43.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.602e-05/0.3455, allocations: 6.719 kB / 0.5069 GB, free: 43.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.892e-05/0.3456, allocations: 43.62 kB / 0.5069 GB, free: 42.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.154e-05/0.3456, allocations: 45.42 kB / 0.507 GB, free: 42.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.3471, allocations: 0.9671 MB / 0.5079 GB, free: 42.65 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.005051/0.3521, allocations: 7.088 MB / 0.5148 GB, free: 36.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004996/0.3526, allocations: 309.9 kB / 0.5151 GB, free: 36.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.3529, allocations: 171.7 kB / 0.5153 GB, free: 36.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001741/0.3546, allocations: 2.826 MB / 0.5181 GB, free: 33.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.3547, allocations: 38.61 kB / 0.5181 GB, free: 33.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.753e-06/0.3547, allocations: 0 / 0.5181 GB, free: 33.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.001947/0.3566, allocations: 1.117 MB / 0.5192 GB, free: 33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.3567, allocations: 55.28 kB / 0.5192 GB, free: 32.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000943/0.3576, allocations: 0.87 MB / 0.5201 GB, free: 32.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.3577, allocations: 37.58 kB / 0.5201 GB, free: 32.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.3579, allocations: 0.5687 MB / 0.5207 GB, free: 32.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.501e-05/0.358, allocations: 138.9 kB / 0.5208 GB, free: 31.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/0.3582, allocations: 234.1 kB / 0.521 GB, free: 31.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.3583, allocations: 395.7 kB / 0.5214 GB, free: 31.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000371/0.3587, allocations: 241.5 kB / 0.5216 GB, free: 31.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005799/0.3593, allocations: 0.9651 MB / 0.5226 GB, free: 30.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009976/0.3603, allocations: 1.321 MB / 0.5239 GB, free: 29.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.3603, allocations: 8 kB / 0.5239 GB, free: 29.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001719/0.3621, allocations: 1.215 MB / 0.5251 GB, free: 28.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.3621, allocations: 18.5 kB / 0.5251 GB, free: 28.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.516e-05/0.3621, allocations: 28.41 kB / 0.5251 GB, free: 28.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.497e-05/0.3622, allocations: 33.78 kB / 0.5251 GB, free: 28.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007327/0.3629, allocations: 277.1 kB / 0.5254 GB, free: 28.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.896e-05/0.363, allocations: 52.33 kB / 0.5255 GB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00062/0.3636, allocations: 59.97 kB / 0.5255 GB, free: 28.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.736e-05/0.3637, allocations: 71.55 kB / 0.5256 GB, free: 28.55 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.0003201/0.364, allocations: 333.7 kB / 0.5259 GB, free: 28.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.3641, allocations: 94.97 kB / 0.526 GB, free: 28.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007804/0.3649, allocations: 477.7 kB / 0.5265 GB, free: 28.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/0.3649, allocations: 4.531 kB / 0.5265 GB, free: 28.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.365, allocations: 0.7969 kB / 0.5265 GB, free: 28.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.365, allocations: 1.172 kB / 0.5265 GB, free: 28.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.3664, allocations: 1.252 MB / 0.5277 GB, free: 27.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3664, allocations: 3.047 kB / 0.5277 GB, free: 27.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.3667, allocations: 70.47 kB / 0.5278 GB, free: 27.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3667, allocations: 10.72 kB / 0.5278 GB, free: 27.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.3667, allocations: 13.05 kB / 0.5278 GB, free: 27.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3667, allocations: 3.406 kB / 0.5278 GB, free: 27.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.3667, allocations: 7.391 kB / 0.5278 GB, free: 27.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007442/0.3675, allocations: 0.6435 MB / 0.5284 GB, free: 26.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.3677, allocations: 194.4 kB / 0.5286 GB, free: 26.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.3678, allocations: 7.625 kB / 0.5286 GB, free: 26.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.3682, allocations: 19.94 kB / 0.5286 GB, free: 26.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.3683, allocations: 23.22 kB / 0.5286 GB, free: 26.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.62e-05/0.3683, allocations: 30.8 kB / 0.5287 GB, free: 26.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006404/0.369, allocations: 0.5971 MB / 0.5293 GB, free: 26.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.369, allocations: 0 / 0.5293 GB, free: 26.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009863/0.37, allocations: 303 kB / 0.5295 GB, free: 26.36 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.001315/0.3713, allocations: 1.413 MB / 0.5309 GB, free: 25.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009004/0.3722, allocations: 0.6754 MB / 0.5316 GB, free: 25.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.3722, allocations: 1.406 kB / 0.5316 GB, free: 25.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.3724, allocations: 143.4 kB / 0.5317 GB, free: 25.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/0.3742, allocations: 429.4 kB / 0.5321 GB, free: 25.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00691/0.3811, allocations: 8.449 MB / 0.5404 GB, free: 18.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.3814, allocations: 1.001 MB / 0.5414 GB, free: 17.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008668/0.3823, allocations: 316 kB / 0.5417 GB, free: 17.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.3826, allocations: 299.3 kB / 0.542 GB, free: 16.88 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3826, allocations: 0 / 0.542 GB, free: 16.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08473/0.4673, allocations: 24.43 MB / 0.5658 GB, free: 8.652 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.989/8.457, allocations: 7.938 kB / 0.5658 GB, free: 8.645 MB / 398.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/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)