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.000947/0.0009472, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.007376/0.007376, allocations: 170 kB / 16.27 MB, free: 6.652 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.248/1.248, allocations: 205.4 MB / 222.5 MB, free: 5.547 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.655/1.655, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004821/0.0004822, allocations: 18.41 kB / 0.6744 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1744, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4944/0.6688, allocations: 166.3 MB / 0.9504 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004522/0.6734, allocations: 3.36 MB / 0.9537 GB, free: 332 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004799/0.6739, allocations: 21.16 kB / 0.9537 GB, free: 320 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000719/0.6746, allocations: 274.8 kB / 0.954 GB, free: 244 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.6766, allocations: 0.9449 MB / 0.9549 GB, free: 40 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.678, allocations: 0.6062 MB / 0.9555 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001921/0.6799, allocations: 2.087 MB / 0.9575 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005013/0.6804, allocations: 391.5 kB / 0.9579 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007047/0.6812, allocations: 480 kB / 0.9584 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008736/0.682, allocations: 466.8 kB / 0.9588 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.345e-05/0.6821, allocations: 21.59 kB / 0.9588 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.6836, allocations: 0.9426 MB / 0.9598 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.6838, allocations: 202.6 kB / 0.9599 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.6841, allocations: 322.6 kB / 0.9603 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.6852, allocations: 1.135 MB / 0.9614 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6852, allocations: 1.031 kB / 0.9614 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6853, allocations: 1.859 kB / 0.9614 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.6853, allocations: 0 / 0.9614 GB, free: 15.41 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.001125/0.6864, allocations: 0.7879 MB / 0.9621 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.6864, allocations: 10.22 kB / 0.9621 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.726e-05/0.6865, allocations: 88.72 kB / 0.9622 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.6877, allocations: 169.8 kB / 0.9624 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006417/0.6884, allocations: 0.5013 MB / 0.9629 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.6884, allocations: 32.66 kB / 0.9629 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-05/0.6885, allocations: 41.98 kB / 0.963 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007187/0.6892, allocations: 477.8 kB / 0.9634 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.6892, allocations: 3.984 kB / 0.9634 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.795e-05/0.6893, allocations: 15.84 kB / 0.9634 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.6893, allocations: 18.53 kB / 0.9634 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006224/0.6899, allocations: 408.4 kB / 0.9638 GB, free: 14.45 MB / 0.7325 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.002482/0.6924, allocations: 1.871 MB / 0.9657 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003274/0.6928, allocations: 229.6 kB / 0.9659 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.693, allocations: 147.7 kB / 0.966 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/0.6931, allocations: 99.66 kB / 0.9661 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.6932, allocations: 41.33 kB / 0.9662 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 1.433e-06/0.6932, allocations: 0 / 0.9662 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.0007421/0.6939, allocations: 392 kB / 0.9665 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.694, allocations: 57.41 kB / 0.9666 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005109/0.6945, allocations: 0.4916 MB / 0.9671 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.6945, allocations: 35.33 kB / 0.9671 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.6947, allocations: 271.3 kB / 0.9674 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.725e-05/0.6948, allocations: 81.95 kB / 0.9674 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-05/0.6948, allocations: 36.11 kB / 0.9675 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.695, allocations: 358.4 kB / 0.9678 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.6951, allocations: 115.4 kB / 0.9679 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.6954, allocations: 210.2 kB / 0.9681 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/0.6958, allocations: 325.7 kB / 0.9684 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.6958, allocations: 1.094 kB / 0.9684 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005548/0.6963, allocations: 410.3 kB / 0.9688 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.6964, allocations: 9.156 kB / 0.9688 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.6964, allocations: 2.812 kB / 0.9688 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.6964, allocations: 3.875 kB / 0.9688 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.6967, allocations: 64.64 kB / 0.9689 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.6967, allocations: 8.031 kB / 0.9689 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005035/0.6972, allocations: 55.19 kB / 0.969 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.6972, allocations: 16.8 kB / 0.969 GB, free: 12.32 MB / 0.7325 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.0002013/0.6975, allocations: 201.2 kB / 0.9692 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.251e-05/0.6975, allocations: 48.19 kB / 0.9692 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.6977, allocations: 54.91 kB / 0.9693 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.6977, allocations: 7.797 kB / 0.9693 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.6977, allocations: 5.812 kB / 0.9693 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003601/0.698, allocations: 335.8 kB / 0.9696 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.6992, allocations: 0.9596 MB / 0.9705 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.6992, allocations: 5.219 kB / 0.9705 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.6995, allocations: 60.66 kB / 0.9706 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.6996, allocations: 2.594 kB / 0.9706 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.6996, allocations: 11.88 kB / 0.9706 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.6996, allocations: 2.531 kB / 0.9706 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6996, allocations: 2.781 kB / 0.9706 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006189/0.7002, allocations: 0.5583 MB / 0.9712 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001938/0.7004, allocations: 171.1 kB / 0.9713 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.657e-05/0.7005, allocations: 7.812 kB / 0.9713 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004259/0.7009, allocations: 29.33 kB / 0.9714 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.701, allocations: 23.27 kB / 0.9714 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/0.701, allocations: 17.58 kB / 0.9714 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003679/0.7014, allocations: 356.7 kB / 0.9717 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7014, allocations: 0 / 0.9717 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005312/0.7019, allocations: 145.6 kB / 0.9719 GB, free: 10.85 MB / 0.7325 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.001064/0.703, allocations: 1.162 MB / 0.973 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004109/0.7034, allocations: 276.6 kB / 0.9733 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.7034, allocations: 1.156 kB / 0.9733 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.7036, allocations: 120.1 kB / 0.9734 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.7053, allocations: 333.7 kB / 0.9737 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004746/0.7101, allocations: 4.475 MB / 0.9781 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.7105, allocations: 0.8805 MB / 0.9789 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004438/0.7109, allocations: 128.3 kB / 0.9791 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.7111, allocations: 160.5 kB / 0.9792 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.7111, allocations: 0 / 0.9792 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.806/3.517, allocations: 14.01 MB / 0.9929 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002364/3.517, allocations: 257.9 kB / 0.9931 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.303/7.82, allocations: 0 / 0.9931 GB, free: 15.52 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)