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.0008686/0.0008686, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001227, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.7 MB / 246.8 MB, free: 9.555 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1874/0.1874, allocations: 46.18 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002542/0.0002542, allocations: 4 kB / 419.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1067, allocations: 63.56 MB / 483.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.0188/0.1255, allocations: 17.68 MB / 0.4891 GB, free: 2.285 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009509/0.1351, allocations: 7.036 MB / 0.496 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009622/0.1361, allocations: 23.81 kB / 0.496 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.1372, allocations: 338.2 kB / 0.4963 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00176/0.139, allocations: 0.6531 MB / 0.497 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003268/0.1423, allocations: 1.202 MB / 0.4981 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003814/0.1461, allocations: 3.594 MB / 0.5017 GB, free: 5.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.1473, allocations: 0.5956 MB / 0.5022 GB, free: 4.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002087/0.1494, allocations: 0.9147 MB / 0.5031 GB, free: 3.898 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.1508, allocations: 0.7862 MB / 0.5039 GB, free: 3.109 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002662/0.1511, allocations: 48 kB / 0.5039 GB, free: 3.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.1528, allocations: 0.5458 MB / 0.5045 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004817/0.1533, allocations: 327.1 kB / 0.5048 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009456/0.1542, allocations: 0.5033 MB / 0.5053 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002595/0.1568, allocations: 1.484 MB / 0.5067 GB, free: 200 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1568, allocations: 0 / 0.5067 GB, free: 200 kB / 382.1 MB Notification: Performance of FrontEnd: time 3.918e-06/0.1568, allocations: 3.938 kB / 0.5067 GB, free: 196 kB / 382.1 MB Notification: Performance of Transformations before backend: time 4.162e-05/0.1569, allocations: 3.938 kB / 0.5067 GB, free: 192 kB / 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.215/0.3719, allocations: 1.092 MB / 0.5078 GB, free: 42.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.372, allocations: 9.438 kB / 0.5078 GB, free: 42.72 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004671/0.3725, allocations: 143.6 kB / 0.5079 GB, free: 42.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006956/0.3732, allocations: 123.1 kB / 0.5081 GB, free: 42.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.3744, allocations: 0.5794 MB / 0.5086 GB, free: 42.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/0.3746, allocations: 249.2 kB / 0.5089 GB, free: 42.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/0.3748, allocations: 84.33 kB / 0.509 GB, free: 42.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/0.3772, allocations: 1.305 MB / 0.5102 GB, free: 41.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.936e-05/0.3772, allocations: 6.594 kB / 0.5102 GB, free: 41.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/0.3774, allocations: 45.11 kB / 0.5103 GB, free: 41.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.683e-05/0.3775, allocations: 42.88 kB / 0.5103 GB, free: 41.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.3793, allocations: 0.9672 MB / 0.5113 GB, free: 41.53 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.00656/0.3859, allocations: 7.085 MB / 0.5182 GB, free: 35.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006013/0.3865, allocations: 313.6 kB / 0.5185 GB, free: 35.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.3868, allocations: 170.6 kB / 0.5186 GB, free: 35.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002404/0.3892, allocations: 2.823 MB / 0.5214 GB, free: 32.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.3893, allocations: 44.59 kB / 0.5214 GB, free: 32.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.723e-06/0.3893, allocations: 1.531 kB / 0.5214 GB, free: 32.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.00255/0.3919, allocations: 1.123 MB / 0.5225 GB, free: 31.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.3919, allocations: 55.59 kB / 0.5226 GB, free: 31.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.3932, allocations: 0.866 MB / 0.5234 GB, free: 31.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.081e-05/0.3933, allocations: 33.98 kB / 0.5235 GB, free: 31.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003776/0.3937, allocations: 0.5664 MB / 0.524 GB, free: 30.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.3938, allocations: 146.6 kB / 0.5242 GB, free: 30.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.3939, allocations: 105.5 kB / 0.5243 GB, free: 30.78 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3941, allocations: 399.1 kB / 0.5246 GB, free: 30.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004954/0.3946, allocations: 246.8 kB / 0.5249 GB, free: 30.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008385/0.3954, allocations: 0.9669 MB / 0.5258 GB, free: 29.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.3968, allocations: 1.316 MB / 0.5271 GB, free: 28.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.854e-05/0.3969, allocations: 13.31 kB / 0.5271 GB, free: 28.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00231/0.3992, allocations: 1.211 MB / 0.5283 GB, free: 27.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/0.3992, allocations: 15.88 kB / 0.5283 GB, free: 27.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.827e-05/0.3993, allocations: 26.53 kB / 0.5283 GB, free: 27.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.818e-05/0.3994, allocations: 33.97 kB / 0.5284 GB, free: 27.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008993/0.4003, allocations: 273.4 kB / 0.5286 GB, free: 27.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.756e-05/0.4004, allocations: 52.28 kB / 0.5287 GB, free: 27.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009608/0.4013, allocations: 74.34 kB / 0.5288 GB, free: 27.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.4015, allocations: 77.09 kB / 0.5288 GB, free: 27.43 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.0004796/0.402, allocations: 334.7 kB / 0.5292 GB, free: 27.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.4022, allocations: 91.94 kB / 0.5292 GB, free: 27.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009477/0.4031, allocations: 482.9 kB / 0.5297 GB, free: 26.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.4032, allocations: 5.141 kB / 0.5297 GB, free: 26.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.507e-06/0.4032, allocations: 0 / 0.5297 GB, free: 26.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.4032, allocations: 2.766 kB / 0.5297 GB, free: 26.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/0.4052, allocations: 1.245 MB / 0.5309 GB, free: 26.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.4052, allocations: 3.172 kB / 0.5309 GB, free: 26.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000308/0.4055, allocations: 70.19 kB / 0.531 GB, free: 26.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.4055, allocations: 10.34 kB / 0.531 GB, free: 26.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.4056, allocations: 10.92 kB / 0.531 GB, free: 26.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.4056, allocations: 3.031 kB / 0.531 GB, free: 26.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.4056, allocations: 2.062 kB / 0.531 GB, free: 26.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009219/0.4065, allocations: 0.6456 MB / 0.5316 GB, free: 25.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003512/0.4069, allocations: 209.9 kB / 0.5318 GB, free: 25.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.407, allocations: 12.44 kB / 0.5319 GB, free: 25.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.4075, allocations: 28.2 kB / 0.5319 GB, free: 25.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.4076, allocations: 26.92 kB / 0.5319 GB, free: 25.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.453e-05/0.4076, allocations: 26.66 kB / 0.5319 GB, free: 25.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007978/0.4084, allocations: 0.5956 MB / 0.5325 GB, free: 25.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4084, allocations: 1.375 kB / 0.5325 GB, free: 25.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001308/0.4098, allocations: 295.4 kB / 0.5328 GB, free: 25.23 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.001658/0.4114, allocations: 1.414 MB / 0.5342 GB, free: 24.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.4125, allocations: 0.6405 MB / 0.5348 GB, free: 23.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4125, allocations: 0.875 kB / 0.5348 GB, free: 23.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.4128, allocations: 149.8 kB / 0.535 GB, free: 23.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/0.4149, allocations: 399.4 kB / 0.5353 GB, free: 23.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00941/0.4244, allocations: 8.775 MB / 0.5439 GB, free: 16.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.4248, allocations: 0.9972 MB / 0.5449 GB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001035/0.4258, allocations: 319.5 kB / 0.5452 GB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/0.4261, allocations: 303.3 kB / 0.5455 GB, free: 14.66 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4261, allocations: 0 / 0.5455 GB, free: 14.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03674/0.4629, allocations: 23.53 MB / 0.5684 GB, free: 7.367 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/0.4631, allocations: 261.7 kB / 0.5687 GB, free: 7.109 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.367/2.831, allocations: 0 / 0.5687 GB, free: 7.109 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)