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.001222/0.001226, allocations: 114 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001325/0.001325, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2119/0.2119, allocations: 46.11 MB / 343.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 80.97 kB / 417.2 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1202, allocations: 62.44 MB / 479.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02028/0.1405, allocations: 18.22 MB / 497.8 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00927/0.1498, allocations: 7.077 MB / 0.4931 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009635/0.1508, allocations: 31.75 kB / 0.4931 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.152, allocations: 326.2 kB / 0.4934 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001657/0.1537, allocations: 0.6376 MB / 0.494 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003273/0.157, allocations: 1.229 MB / 0.4952 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002769/0.1598, allocations: 2.529 MB / 0.4977 GB, free: 7.395 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.161, allocations: 0.6778 MB / 0.4984 GB, free: 6.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002686/0.1637, allocations: 1.036 MB / 0.4994 GB, free: 5.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.1651, allocations: 0.8058 MB / 0.5002 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002787/0.1654, allocations: 91.94 kB / 0.5002 GB, free: 4.766 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.1669, allocations: 0.5343 MB / 0.5008 GB, free: 4.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000449/0.1673, allocations: 379 kB / 0.5011 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001124/0.1684, allocations: 0.5173 MB / 0.5016 GB, free: 3.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002811/0.1713, allocations: 1.543 MB / 0.5031 GB, free: 1.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1713, allocations: 0 / 0.5031 GB, free: 1.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1713, allocations: 0 / 0.5031 GB, free: 1.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.677e-05/0.1714, allocations: 4 kB / 0.5031 GB, free: 1.789 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.003368/0.1747, allocations: 1.289 MB / 0.5044 GB, free: 464 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/0.1748, allocations: 12.03 kB / 0.5044 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003721/0.1752, allocations: 139.2 kB / 0.5046 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007154/0.1759, allocations: 115.9 kB / 0.5047 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2074/0.3833, allocations: 0.5833 MB / 0.5052 GB, free: 43.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.3835, allocations: 249.5 kB / 0.5055 GB, free: 43.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.3837, allocations: 86.94 kB / 0.5056 GB, free: 43.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/0.3857, allocations: 1.304 MB / 0.5068 GB, free: 42.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.3858, allocations: 6.812 kB / 0.5068 GB, free: 42.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.3859, allocations: 40.84 kB / 0.5069 GB, free: 42.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-05/0.3859, allocations: 48.77 kB / 0.5069 GB, free: 42.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.3875, allocations: 0.9616 MB / 0.5079 GB, free: 42.63 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.005798/0.3933, allocations: 7.076 MB / 0.5148 GB, free: 36.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005326/0.3938, allocations: 313.4 kB / 0.5151 GB, free: 36.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.3941, allocations: 170.3 kB / 0.5152 GB, free: 36.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00198/0.3961, allocations: 2.815 MB / 0.518 GB, free: 33.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.3961, allocations: 44.7 kB / 0.518 GB, free: 33.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.803e-06/0.3961, allocations: 0 / 0.518 GB, free: 33.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002139/0.3983, allocations: 1.119 MB / 0.5191 GB, free: 32.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.3983, allocations: 58.77 kB / 0.5192 GB, free: 32.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009439/0.3993, allocations: 0.8705 MB / 0.52 GB, free: 32.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.3993, allocations: 32.45 kB / 0.52 GB, free: 32.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002932/0.3996, allocations: 0.5724 MB / 0.5206 GB, free: 32.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.721e-05/0.3997, allocations: 140.4 kB / 0.5207 GB, free: 31.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/0.4, allocations: 236.6 kB / 0.521 GB, free: 31.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.4001, allocations: 395.3 kB / 0.5213 GB, free: 31.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004057/0.4005, allocations: 250.2 kB / 0.5216 GB, free: 31.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006573/0.4012, allocations: 0.9663 MB / 0.5225 GB, free: 30.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.4022, allocations: 1.314 MB / 0.5238 GB, free: 29.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.4023, allocations: 7.188 kB / 0.5238 GB, free: 29.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001943/0.4042, allocations: 1.215 MB / 0.525 GB, free: 28.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.4042, allocations: 15.69 kB / 0.525 GB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.355e-05/0.4043, allocations: 26.25 kB / 0.525 GB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.74e-05/0.4043, allocations: 36 kB / 0.5251 GB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007677/0.4051, allocations: 281.5 kB / 0.5253 GB, free: 28.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-05/0.4052, allocations: 52.19 kB / 0.5254 GB, free: 28.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000745/0.4059, allocations: 66.41 kB / 0.5255 GB, free: 28.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.683e-05/0.406, allocations: 77.8 kB / 0.5255 GB, free: 28.5 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.0004241/0.4065, allocations: 329.5 kB / 0.5258 GB, free: 28.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.4066, allocations: 93.23 kB / 0.5259 GB, free: 28.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008705/0.4075, allocations: 482.6 kB / 0.5264 GB, free: 28.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.4075, allocations: 3.344 kB / 0.5264 GB, free: 28.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4075, allocations: 1.406 kB / 0.5264 GB, free: 28.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.4075, allocations: 2.016 kB / 0.5264 GB, free: 28.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.4091, allocations: 1.256 MB / 0.5276 GB, free: 27.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4092, allocations: 1.156 kB / 0.5276 GB, free: 27.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.4095, allocations: 67.11 kB / 0.5277 GB, free: 27.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.4095, allocations: 3.406 kB / 0.5277 GB, free: 27.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.4095, allocations: 9.891 kB / 0.5277 GB, free: 27.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.4095, allocations: 2.344 kB / 0.5277 GB, free: 27.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.4095, allocations: 6.828 kB / 0.5277 GB, free: 27.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008292/0.4104, allocations: 0.646 MB / 0.5283 GB, free: 26.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/0.4106, allocations: 200.3 kB / 0.5285 GB, free: 26.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.4107, allocations: 11 kB / 0.5285 GB, free: 26.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/0.4112, allocations: 27.36 kB / 0.5286 GB, free: 26.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.4112, allocations: 31.28 kB / 0.5286 GB, free: 26.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.942e-05/0.4113, allocations: 25.16 kB / 0.5286 GB, free: 26.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007363/0.412, allocations: 0.596 MB / 0.5292 GB, free: 26.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.412, allocations: 1.562 kB / 0.5292 GB, free: 26.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001156/0.4132, allocations: 301.9 kB / 0.5295 GB, free: 26.3 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.001437/0.4146, allocations: 1.416 MB / 0.5309 GB, free: 25.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.4159, allocations: 0.6608 MB / 0.5315 GB, free: 25.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.4159, allocations: 9 kB / 0.5315 GB, free: 25.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.4161, allocations: 145.4 kB / 0.5317 GB, free: 25.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/0.4182, allocations: 432 kB / 0.5321 GB, free: 24.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00976/0.4279, allocations: 8.676 MB / 0.5406 GB, free: 18.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.4284, allocations: 0.9933 MB / 0.5415 GB, free: 17.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001066/0.4294, allocations: 319 kB / 0.5418 GB, free: 16.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003224/0.4298, allocations: 299.3 kB / 0.5421 GB, free: 16.52 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4298, allocations: 0 / 0.5421 GB, free: 16.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03985/0.4696, allocations: 24.28 MB / 0.5658 GB, free: 8.492 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002541/0.4699, allocations: 255.2 kB / 0.5661 GB, free: 8.238 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.603/3.073, allocations: 0 / 0.5661 GB, free: 8.238 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)