Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001189, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 193.4 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.18/1.18, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.542/1.542, allocations: 292.3 MB / 0.5486 GB, free: 13.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 68.23 kB / 0.6711 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1673, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4785/0.6458, allocations: 168.5 MB / 0.9475 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004248/0.6501, allocations: 3.336 MB / 0.9507 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004669/0.6506, allocations: 18.75 kB / 0.9508 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007767/0.6513, allocations: 284.7 kB / 0.951 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001942/0.6533, allocations: 0.9438 MB / 0.952 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.6547, allocations: 0.6124 MB / 0.9526 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001495/0.6562, allocations: 1.512 MB / 0.954 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006058/0.6568, allocations: 463.1 kB / 0.9545 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007929/0.6576, allocations: 0.5624 MB / 0.955 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009502/0.6586, allocations: 0.4906 MB / 0.9555 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.935e-05/0.6587, allocations: 55.69 kB / 0.9556 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.66, allocations: 0.8665 MB / 0.9564 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.6603, allocations: 239 kB / 0.9566 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000347/0.6606, allocations: 333.7 kB / 0.9569 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.6622, allocations: 1.177 MB / 0.9581 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.6622, allocations: 0.5312 kB / 0.9581 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6622, allocations: 0 / 0.9581 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.749e-06/0.6622, allocations: 0.5 kB / 0.9581 GB, free: 5.59 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001552/0.6637, allocations: 0.9125 MB / 0.959 GB, free: 21.02 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.6638, allocations: 10.66 kB / 0.959 GB, free: 21.02 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001125/0.6639, allocations: 85.38 kB / 0.9591 GB, free: 20.98 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.6651, allocations: 181.5 kB / 0.9593 GB, free: 20.95 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005948/0.6657, allocations: 498.2 kB / 0.9597 GB, free: 20.69 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.6657, allocations: 32.66 kB / 0.9598 GB, free: 20.69 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.805e-05/0.6658, allocations: 43.16 kB / 0.9598 GB, free: 20.69 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007088/0.6665, allocations: 478.2 kB / 0.9603 GB, free: 20.64 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.6666, allocations: 1.031 kB / 0.9603 GB, free: 20.64 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.881e-05/0.6666, allocations: 24.31 kB / 0.9603 GB, free: 20.64 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.6666, allocations: 14.88 kB / 0.9603 GB, free: 20.64 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005857/0.6672, allocations: 409.8 kB / 0.9607 GB, free: 20.63 MB / 0.7481 GB 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.002398/0.6696, allocations: 1.866 MB / 0.9625 GB, free: 19.82 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.6699, allocations: 233.2 kB / 0.9627 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.6701, allocations: 151.3 kB / 0.9629 GB, free: 19.78 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001613/0.6703, allocations: 97.33 kB / 0.963 GB, free: 19.69 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.6703, allocations: 40.67 kB / 0.963 GB, free: 19.64 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=23): time 1.453e-06/0.6703, allocations: 1.094 kB / 0.963 GB, free: 19.64 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23): time 0.0007204/0.6711, allocations: 388.4 kB / 0.9634 GB, free: 19.59 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.6711, allocations: 65.81 kB / 0.9634 GB, free: 19.52 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004673/0.6716, allocations: 496.8 kB / 0.9639 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.6716, allocations: 32.92 kB / 0.9639 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.6718, allocations: 268.5 kB / 0.9642 GB, free: 19.22 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.654e-05/0.6719, allocations: 84.8 kB / 0.9643 GB, free: 19.17 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.672, allocations: 72.09 kB / 0.9644 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.6721, allocations: 356.9 kB / 0.9647 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.6723, allocations: 121.4 kB / 0.9648 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.6725, allocations: 203.4 kB / 0.965 GB, free: 18.74 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003506/0.6728, allocations: 326.1 kB / 0.9653 GB, free: 18.65 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6728, allocations: 1.375 kB / 0.9653 GB, free: 18.65 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005238/0.6734, allocations: 406.6 kB / 0.9657 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.6734, allocations: 5.469 kB / 0.9657 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.6734, allocations: 2.312 kB / 0.9657 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.6734, allocations: 6.031 kB / 0.9657 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.6737, allocations: 65.09 kB / 0.9658 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.6737, allocations: 11.53 kB / 0.9658 GB, free: 18.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004911/0.6742, allocations: 54.72 kB / 0.9658 GB, free: 18.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.6743, allocations: 13.41 kB / 0.9659 GB, free: 18.55 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0002046/0.6745, allocations: 203.6 kB / 0.966 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-05/0.6746, allocations: 52.06 kB / 0.9661 GB, free: 18.42 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.209e-05/0.6747, allocations: 53.92 kB / 0.9662 GB, free: 18.41 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.6747, allocations: 6.594 kB / 0.9662 GB, free: 18.4 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.6747, allocations: 3.938 kB / 0.9662 GB, free: 18.4 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000354/0.675, allocations: 340.7 kB / 0.9665 GB, free: 18.24 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.6762, allocations: 0.9595 MB / 0.9674 GB, free: 17.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6762, allocations: 6.656 kB / 0.9674 GB, free: 17.88 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002852/0.6765, allocations: 56.39 kB / 0.9675 GB, free: 17.88 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.6765, allocations: 3.5 kB / 0.9675 GB, free: 17.88 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.6765, allocations: 6.5 kB / 0.9675 GB, free: 17.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.6765, allocations: 2.594 kB / 0.9675 GB, free: 17.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.6765, allocations: 6.844 kB / 0.9675 GB, free: 17.88 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005844/0.6771, allocations: 0.5555 MB / 0.968 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.6773, allocations: 171.2 kB / 0.9682 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.37e-05/0.6774, allocations: 7.984 kB / 0.9682 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004173/0.6778, allocations: 25.44 kB / 0.9682 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.6778, allocations: 18.33 kB / 0.9683 GB, free: 17.54 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.6779, allocations: 21.38 kB / 0.9683 GB, free: 17.53 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003369/0.6782, allocations: 354.4 kB / 0.9686 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6782, allocations: 1.125 kB / 0.9686 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005102/0.6787, allocations: 151 kB / 0.9688 GB, free: 17.43 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * 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 (23): * Single equations (assignments): 23 * 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 Backend phase and start with SimCode phase: time 0.001018/0.6798, allocations: 1.177 MB / 0.9699 GB, free: 16.68 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004238/0.6802, allocations: 291.9 kB / 0.9702 GB, free: 16.68 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.6802, allocations: 2.406 kB / 0.9702 GB, free: 16.68 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.6804, allocations: 120.8 kB / 0.9703 GB, free: 16.68 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.6818, allocations: 346.9 kB / 0.9706 GB, free: 16.62 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004668/0.6865, allocations: 4.404 MB / 0.9749 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.6869, allocations: 0.8738 MB / 0.9758 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004316/0.6873, allocations: 133 kB / 0.9759 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.6875, allocations: 162.7 kB / 0.9761 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.6875, allocations: 0 / 0.9761 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.71/2.398, allocations: 14.55 MB / 0.9903 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002768/2.398, allocations: 258.2 kB / 0.9905 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.058/4.456, allocations: 7.312 kB / 0.9905 GB, free: 11.1 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)