Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.001544/0.001544, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 195.3 kB / 16.64 MB, free: 6.48 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.394/1.394, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.716/1.716, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001376/0.001376, allocations: 68.45 kB / 0.6718 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2375, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.6563/0.8938, allocations: 209.9 MB / 0.9886 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01354/0.9074, allocations: 9.781 MB / 0.9981 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002448/0.9099, allocations: 58.88 kB / 0.9982 GB, free: 9.516 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002076/0.912, allocations: 0.765 MB / 0.9989 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007635/0.9197, allocations: 2.786 MB / 1.002 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003471/0.9232, allocations: 1.379 MB / 1.003 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004919/0.9281, allocations: 4.015 MB / 1.007 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001744/0.9299, allocations: 1.319 MB / 1.008 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003033/0.9329, allocations: 1.365 MB / 1.01 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00242/0.9353, allocations: 1.216 MB / 1.011 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002011/0.9356, allocations: 140.8 kB / 1.011 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00461/0.9402, allocations: 2.376 MB / 1.013 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006151/0.9408, allocations: 0.6077 MB / 1.014 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000996/0.9418, allocations: 0.8546 MB / 1.015 GB, free: 100 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004548/0.9464, allocations: 2.991 MB / 1.018 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.9464, allocations: 3.938 kB / 1.018 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9464, allocations: 4 kB / 1.018 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.329e-05/0.9464, allocations: 0 / 1.018 GB, free: 14.33 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002848/0.9493, allocations: 1.885 MB / 1.019 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.9493, allocations: 10.31 kB / 1.019 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002114/0.9495, allocations: 175.1 kB / 1.02 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002928/0.9525, allocations: 475.9 kB / 1.02 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/0.9542, allocations: 1.113 MB / 1.021 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/0.9543, allocations: 86.14 kB / 1.021 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.9544, allocations: 109.2 kB / 1.021 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.9561, allocations: 1.151 MB / 1.022 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.9562, allocations: 2.562 kB / 1.022 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.79e-05/0.9563, allocations: 46.44 kB / 1.022 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-05/0.9563, allocations: 41.36 kB / 1.022 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.9578, allocations: 1.071 MB / 1.024 GB, free: 10.48 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.006129/0.964, allocations: 4.497 MB / 1.028 GB, free: 6.977 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008676/0.9649, allocations: 0.6445 MB / 1.029 GB, free: 6.633 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004988/0.9654, allocations: 422.6 kB / 1.029 GB, free: 6.43 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004048/0.9658, allocations: 295.4 kB / 1.029 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.9658, allocations: 41.81 kB / 1.029 GB, free: 6.082 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=65): time 2.856e-06/0.9658, allocations: 0 / 1.029 GB, free: 6.082 MB / 0.7481 GB Notification: Performance of matching and sorting (n=65): time 0.00266/0.9685, allocations: 1.334 MB / 1.031 GB, free: 5.297 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.9686, allocations: 59.44 kB / 1.031 GB, free: 5.234 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.9697, allocations: 1.046 MB / 1.032 GB, free: 4.656 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.599e-05/0.9698, allocations: 43.77 kB / 1.032 GB, free: 4.613 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.00044/0.9703, allocations: 0.5844 MB / 1.032 GB, free: 4.094 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.9705, allocations: 235.3 kB / 1.033 GB, free: 3.895 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/0.9707, allocations: 161 kB / 1.033 GB, free: 3.801 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.9708, allocations: 337.5 kB / 1.033 GB, free: 3.473 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004355/0.9713, allocations: 309 kB / 1.033 GB, free: 3.316 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/0.9719, allocations: 0.5094 MB / 1.034 GB, free: 2.918 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009985/0.9729, allocations: 0.8349 MB / 1.035 GB, free: 2.355 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.9729, allocations: 2.75 kB / 1.035 GB, free: 2.355 MB / 0.7481 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001347/0.9743, allocations: 0.9661 MB / 1.036 GB, free: 1.734 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.9743, allocations: 11.12 kB / 1.036 GB, free: 1.727 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.9743, allocations: 4 kB / 1.036 GB, free: 1.723 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.9743, allocations: 8 kB / 1.036 GB, free: 1.715 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006217/0.975, allocations: 171.7 kB / 1.036 GB, free: 1.547 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.975, allocations: 16.44 kB / 1.036 GB, free: 1.531 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.976, allocations: 104.1 kB / 1.036 GB, free: 1.434 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-05/0.9761, allocations: 36 kB / 1.036 GB, free: 1.398 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (99): * Single equations (assignments): 99 * 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.000471/0.9766, allocations: 360.6 kB / 1.036 GB, free: 1.039 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.9767, allocations: 130.5 kB / 1.036 GB, free: 0.9102 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.977, allocations: 131.1 kB / 1.036 GB, free: 0.7734 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.977, allocations: 8 kB / 1.036 GB, free: 0.7656 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.977, allocations: 3.938 kB / 1.036 GB, free: 0.7617 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001219/0.9782, allocations: 0.9507 MB / 1.037 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003373/0.9816, allocations: 2.314 MB / 1.04 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.9816, allocations: 4 kB / 1.04 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005713/0.9822, allocations: 123.8 kB / 1.04 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003642/0.9826, allocations: 93.64 kB / 1.04 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.827e-05/0.9826, allocations: 20 kB / 1.04 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002514/0.9852, allocations: 3.09 MB / 1.043 GB, free: 9.719 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.9852, allocations: 4 kB / 1.043 GB, free: 9.715 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.9872, allocations: 1.422 MB / 1.044 GB, free: 8.234 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000511/0.9877, allocations: 299.5 kB / 1.045 GB, free: 7.922 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.9878, allocations: 20 kB / 1.045 GB, free: 7.902 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007846/0.9886, allocations: 27.89 kB / 1.045 GB, free: 7.875 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.323e-05/0.9887, allocations: 56.25 kB / 1.045 GB, free: 7.82 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.686e-05/0.9888, allocations: 35.98 kB / 1.045 GB, free: 7.785 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0009342/0.9898, allocations: 0.7396 MB / 1.045 GB, free: 7.039 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9898, allocations: 0 / 1.045 GB, free: 7.039 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001076/0.9908, allocations: 399.4 kB / 1.046 GB, free: 6.648 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.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 (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002463/0.9933, allocations: 2.084 MB / 1.048 GB, free: 4.496 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001132/0.9945, allocations: 0.7331 MB / 1.049 GB, free: 3.766 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.9945, allocations: 4 kB / 1.049 GB, free: 3.762 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0007763/0.9953, allocations: 0.5802 MB / 1.049 GB, free: 3.156 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003593/0.9989, allocations: 0.8749 MB / 1.05 GB, free: 2.297 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/1.01, allocations: 9.16 MB / 1.059 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008218/1.011, allocations: 1.233 MB / 1.06 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001148/1.012, allocations: 326.6 kB / 1.06 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005684/1.013, allocations: 467.3 kB / 1.061 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of SimCode: time 7.11e-07/1.013, allocations: 3.938 kB / 1.061 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06839/1.081, allocations: 36.61 MB / 1.097 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/12.04, allocations: 0 / 1.097 GB, free: 2.688 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)