Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="BuildingSystems_BuildingSystems_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.005235/0.005236, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001494/0.001494, allocations: 202.5 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002405/0.002405, allocations: 278.9 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9615/0.9615, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004181/0.004181, allocations: 99.91 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1596, allocations: 86.98 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.4962/0.6559, allocations: 209.9 MB / 0.9709 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01359/0.6695, allocations: 9.87 MB / 0.9805 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.6705, allocations: 63.62 kB / 0.9806 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.6722, allocations: 0.7648 MB / 0.9813 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00576/0.678, allocations: 2.804 MB / 0.9841 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003073/0.6811, allocations: 1.388 MB / 0.9854 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004626/0.6857, allocations: 4.061 MB / 0.9894 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00176/0.6875, allocations: 1.325 MB / 0.9907 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.6896, allocations: 1.372 MB / 0.992 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002435/0.692, allocations: 1.233 MB / 0.9932 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002561/0.6923, allocations: 144 kB / 0.9934 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004567/0.6969, allocations: 2.381 MB / 0.9957 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0006578/0.6976, allocations: 0.6039 MB / 0.9963 GB, free: 7.055 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.6986, allocations: 0.8595 MB / 0.9971 GB, free: 6.191 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004191/0.7028, allocations: 3.025 MB / 1 GB, free: 3.156 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.7028, allocations: 3.938 kB / 1 GB, free: 3.152 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7028, allocations: 0 / 1 GB, free: 3.152 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.747e-05/0.7028, allocations: 0 / 1 GB, free: 3.152 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.002847/0.7057, allocations: 1.949 MB / 1.002 GB, free: 1.145 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.7057, allocations: 12.03 kB / 1.002 GB, free: 1.133 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002076/0.7059, allocations: 165.6 kB / 1.002 GB, free: 0.9609 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002937/0.7089, allocations: 498.5 kB / 1.003 GB, free: 484 kB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.7107, allocations: 1.14 MB / 1.004 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.958e-05/0.7107, allocations: 82.14 kB / 1.004 GB, free: 15.21 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.7109, allocations: 112 kB / 1.004 GB, free: 15.1 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.7128, allocations: 1.153 MB / 1.005 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.7128, allocations: 3.938 kB / 1.005 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.7129, allocations: 51.92 kB / 1.005 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.672e-05/0.713, allocations: 38.14 kB / 1.005 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.7147, allocations: 1.075 MB / 1.006 GB, free: 12.74 MB / 0.7637 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.005479/0.7202, allocations: 4.199 MB / 1.01 GB, free: 8.258 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.7214, allocations: 0.7895 MB / 1.011 GB, free: 7.461 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006748/0.7221, allocations: 486.2 kB / 1.012 GB, free: 6.984 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003934/0.7225, allocations: 296.3 kB / 1.012 GB, free: 6.641 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.7225, allocations: 47.56 kB / 1.012 GB, free: 6.586 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=83): time 1.983e-06/0.7225, allocations: 0 / 1.012 GB, free: 6.586 MB / 0.7637 GB Notification: Performance of matching and sorting (n=89): time 0.005167/0.7277, allocations: 2.866 MB / 1.015 GB, free: 3.633 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.7278, allocations: 68.34 kB / 1.015 GB, free: 3.555 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.7289, allocations: 0.9716 MB / 1.016 GB, free: 2.566 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.725e-05/0.729, allocations: 45.7 kB / 1.016 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004484/0.7295, allocations: 0.552 MB / 1.016 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002893/0.7298, allocations: 325.2 kB / 1.017 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/0.73, allocations: 162.5 kB / 1.017 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.7302, allocations: 345.9 kB / 1.017 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005327/0.7307, allocations: 337.8 kB / 1.017 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006492/0.7314, allocations: 481.9 kB / 1.018 GB, free: 296 kB / 0.7637 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005917/0.7373, allocations: 3.047 MB / 1.021 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7373, allocations: 4 kB / 1.021 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001539/0.7388, allocations: 1.02 MB / 1.022 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.7389, allocations: 8 kB / 1.022 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.7389, allocations: 0 / 1.022 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.7389, allocations: 8 kB / 1.022 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007095/0.7396, allocations: 180.2 kB / 1.022 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.7397, allocations: 15.94 kB / 1.022 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008352/0.7405, allocations: 31.94 kB / 1.022 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.467e-05/0.7406, allocations: 28 kB / 1.022 GB, free: 11.86 MB / 0.7794 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.0005328/0.7411, allocations: 382.2 kB / 1.022 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.7413, allocations: 135.1 kB / 1.023 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002946/0.7416, allocations: 148.3 kB / 1.023 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.7416, allocations: 8 kB / 1.023 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.7416, allocations: 4 kB / 1.023 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001509/0.7431, allocations: 1.094 MB / 1.024 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004492/0.7476, allocations: 3.047 MB / 1.027 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.7477, allocations: 12 kB / 1.027 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006692/0.7483, allocations: 159.7 kB / 1.027 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003182/0.7487, allocations: 102.4 kB / 1.027 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.046e-05/0.7487, allocations: 32 kB / 1.027 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002582/0.7513, allocations: 3.09 MB / 1.03 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.919e-06/0.7514, allocations: 11.94 kB / 1.03 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002433/0.7538, allocations: 1.749 MB / 1.032 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005173/0.7543, allocations: 304.2 kB / 1.032 GB, free: 0.9062 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.7545, allocations: 31.94 kB / 1.032 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008398/0.7553, allocations: 45.59 kB / 1.032 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.7555, allocations: 88.25 kB / 1.032 GB, free: 0.7461 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.472e-05/0.7555, allocations: 43.97 kB / 1.032 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0008958/0.7564, allocations: 0.6956 MB / 1.033 GB, free: 0 / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7565, allocations: 0 / 1.033 GB, free: 0 / 0.7794 GB Notification: Performance of remove unused functions: time 0.001035/0.7575, allocations: 376 kB / 1.033 GB, free: 15.63 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U) * 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 (85): * Single equations (assignments): 83 * 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.003012/0.7605, allocations: 2.434 MB / 1.036 GB, free: 13.06 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00135/0.7619, allocations: 0.8434 MB / 1.037 GB, free: 12.21 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.7619, allocations: 4.75 kB / 1.037 GB, free: 12.21 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0009219/0.7628, allocations: 0.6691 MB / 1.037 GB, free: 11.52 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003676/0.7665, allocations: 0.9223 MB / 1.038 GB, free: 10.61 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/0.7793, allocations: 9.722 MB / 1.048 GB, free: 464 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009532/0.7803, allocations: 1.249 MB / 1.049 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00119/0.7815, allocations: 343 kB / 1.049 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006477/0.7821, allocations: 467.3 kB / 1.05 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of SimCode: time 6.91e-07/0.7821, allocations: 0 / 1.05 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07583/0.858, allocations: 38.44 MB / 1.087 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/12.02, allocations: 14.28 kB / 1.087 GB, free: 8.547 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)