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.001433/0.001433, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001571/0.001571, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 246.3 MB, free: 9.055 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2186/0.2186, allocations: 46.11 MB / 343.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 77.05 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1089, allocations: 62.43 MB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01917/0.1281, allocations: 18.26 MB / 497.6 MB, free: 3.305 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009586/0.1377, allocations: 7.148 MB / 0.493 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009192/0.1387, allocations: 27.81 kB / 0.493 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.1398, allocations: 330.2 kB / 0.4933 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.1414, allocations: 0.657 MB / 0.4939 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003078/0.1445, allocations: 1.206 MB / 0.4951 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003234/0.1478, allocations: 3.59 MB / 0.4986 GB, free: 6.332 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008434/0.1486, allocations: 0.5994 MB / 0.4992 GB, free: 5.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001629/0.1503, allocations: 0.9147 MB / 0.5001 GB, free: 4.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.1513, allocations: 0.7901 MB / 0.5009 GB, free: 4.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.1515, allocations: 48 kB / 0.5009 GB, free: 3.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.1528, allocations: 0.5498 MB / 0.5015 GB, free: 3.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003708/0.1532, allocations: 327 kB / 0.5018 GB, free: 3.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005601/0.1538, allocations: 0.4899 MB / 0.5022 GB, free: 2.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001715/0.1555, allocations: 1.496 MB / 0.5037 GB, free: 1.098 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1555, allocations: 0 / 0.5037 GB, free: 1.098 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1555, allocations: 0 / 0.5037 GB, free: 1.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.1556, allocations: 3.938 kB / 0.5037 GB, free: 1.094 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.1891/0.3447, allocations: 1.285 MB / 0.505 GB, free: 44.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.3447, allocations: 10.06 kB / 0.505 GB, free: 44.04 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002549/0.345, allocations: 144.5 kB / 0.5051 GB, free: 44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005791/0.3456, allocations: 122.1 kB / 0.5052 GB, free: 43.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000945/0.3465, allocations: 0.5843 MB / 0.5058 GB, free: 43.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.3467, allocations: 247.9 kB / 0.506 GB, free: 43.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.3468, allocations: 88.31 kB / 0.5061 GB, free: 43.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.3491, allocations: 1.308 MB / 0.5074 GB, free: 42.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.3491, allocations: 7.031 kB / 0.5074 GB, free: 42.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.3493, allocations: 42.36 kB / 0.5074 GB, free: 42.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.676e-05/0.3493, allocations: 37.02 kB / 0.5075 GB, free: 42.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/0.351, allocations: 0.9654 MB / 0.5084 GB, free: 42.49 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.006156/0.3572, allocations: 7.08 MB / 0.5153 GB, free: 36.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005842/0.3578, allocations: 320.5 kB / 0.5156 GB, free: 36.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/0.3581, allocations: 173.5 kB / 0.5158 GB, free: 36.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002389/0.3605, allocations: 2.82 MB / 0.5186 GB, free: 33.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.3606, allocations: 42.11 kB / 0.5186 GB, free: 33.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.084e-06/0.3606, allocations: 1.031 kB / 0.5186 GB, free: 33.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.00233/0.3629, allocations: 1.106 MB / 0.5197 GB, free: 32.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.363, allocations: 57.25 kB / 0.5197 GB, free: 32.76 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.3641, allocations: 0.8738 MB / 0.5206 GB, free: 32.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.3642, allocations: 32.77 kB / 0.5206 GB, free: 32.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003423/0.3645, allocations: 0.5679 MB / 0.5212 GB, free: 31.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.891e-05/0.3646, allocations: 142.1 kB / 0.5213 GB, free: 31.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/0.3649, allocations: 237.1 kB / 0.5215 GB, free: 31.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.365, allocations: 400.2 kB / 0.5219 GB, free: 31.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/0.3655, allocations: 246.8 kB / 0.5222 GB, free: 31.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006243/0.3661, allocations: 0.9637 MB / 0.5231 GB, free: 30.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.3672, allocations: 1.318 MB / 0.5244 GB, free: 28.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.3673, allocations: 6.875 kB / 0.5244 GB, free: 28.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001988/0.3693, allocations: 1.216 MB / 0.5256 GB, free: 28.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/0.3693, allocations: 16.38 kB / 0.5256 GB, free: 28.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.341e-05/0.3693, allocations: 29.41 kB / 0.5256 GB, free: 28.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.575e-05/0.3694, allocations: 35.58 kB / 0.5257 GB, free: 28.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007835/0.3702, allocations: 278.6 kB / 0.5259 GB, free: 28.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.66e-05/0.3702, allocations: 54.39 kB / 0.526 GB, free: 28.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000782/0.371, allocations: 66.3 kB / 0.526 GB, free: 28.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-05/0.3711, allocations: 76.45 kB / 0.5261 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.0004099/0.3715, allocations: 335.4 kB / 0.5264 GB, free: 28.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.3717, allocations: 91.39 kB / 0.5265 GB, free: 28.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008809/0.3726, allocations: 480.1 kB / 0.527 GB, free: 27.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.3726, allocations: 4.141 kB / 0.527 GB, free: 27.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3726, allocations: 1.156 kB / 0.527 GB, free: 27.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/0.3726, allocations: 2.25 kB / 0.527 GB, free: 27.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.3744, allocations: 1.25 MB / 0.5282 GB, free: 27.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.3744, allocations: 3.578 kB / 0.5282 GB, free: 27.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002963/0.3747, allocations: 72.38 kB / 0.5283 GB, free: 27.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.341e-06/0.3747, allocations: 11.56 kB / 0.5283 GB, free: 27.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.3747, allocations: 9.438 kB / 0.5283 GB, free: 27.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.3748, allocations: 3.469 kB / 0.5283 GB, free: 27.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3748, allocations: 2.281 kB / 0.5283 GB, free: 27.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008339/0.3756, allocations: 0.6475 MB / 0.5289 GB, free: 26.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.3759, allocations: 192.6 kB / 0.5291 GB, free: 26.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.376, allocations: 18.17 kB / 0.5291 GB, free: 26.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004358/0.3764, allocations: 26.61 kB / 0.5292 GB, free: 26.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.3765, allocations: 31.44 kB / 0.5292 GB, free: 26.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.296e-05/0.3765, allocations: 25.3 kB / 0.5292 GB, free: 26.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000732/0.3773, allocations: 0.5973 MB / 0.5298 GB, free: 26.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3773, allocations: 0 / 0.5298 GB, free: 26.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001212/0.3785, allocations: 295.8 kB / 0.5301 GB, free: 26.15 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.001523/0.38, allocations: 1.408 MB / 0.5315 GB, free: 25.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.3811, allocations: 0.6397 MB / 0.5321 GB, free: 24.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3811, allocations: 1.312 kB / 0.5321 GB, free: 24.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.3814, allocations: 144.8 kB / 0.5322 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.001876/0.3832, allocations: 413.6 kB / 0.5326 GB, free: 24.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008535/0.3918, allocations: 8.688 MB / 0.5411 GB, free: 17.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.3922, allocations: 0.9973 MB / 0.5421 GB, free: 16.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001048/0.3932, allocations: 318.5 kB / 0.5424 GB, free: 16.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/0.3935, allocations: 299.3 kB / 0.5427 GB, free: 16.01 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3935, allocations: 4 kB / 0.5427 GB, free: 16.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03732/0.4309, allocations: 23.72 MB / 0.5658 GB, free: 8.5 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/0.4311, allocations: 250.8 kB / 0.5661 GB, free: 8.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.468/2.899, allocations: 3.75 kB / 0.5661 GB, free: 8.25 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)