Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",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.001558/0.001558, allocations: 101.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.001786/0.001787, allocations: 195.6 kB / 16.64 MB, free: 6.438 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.3/1.3, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.651/1.651, allocations: 292.3 MB / 0.549 GB, free: 12.79 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.00139/0.00139, allocations: 72.72 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2188, allocations: 114.5 MB / 0.7836 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6728/0.8916, allocations: 242.4 MB / 1.02 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02235/0.914, allocations: 15.79 MB / 1.036 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003451/0.9175, allocations: 75.19 kB / 1.036 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003637/0.9213, allocations: 1.181 MB / 1.037 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01061/0.9319, allocations: 3.809 MB / 1.041 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004868/0.9368, allocations: 1.809 MB / 1.042 GB, free: 9.48 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.007006/0.9438, allocations: 5.218 MB / 1.048 GB, free: 6.508 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002535/0.9464, allocations: 1.671 MB / 1.049 GB, free: 5.449 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00609/0.9525, allocations: 2.598 MB / 1.052 GB, free: 3.887 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003497/0.956, allocations: 1.709 MB / 1.053 GB, free: 2.898 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0003133/0.9563, allocations: 173.3 kB / 1.054 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005728/0.962, allocations: 2.712 MB / 1.056 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0008914/0.963, allocations: 0.7635 MB / 1.057 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001595/0.9646, allocations: 1.147 MB / 1.058 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.006115/0.9707, allocations: 3.56 MB / 1.062 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.9707, allocations: 4 kB / 1.062 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9707, allocations: 0 / 1.062 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.148e-05/0.9708, allocations: 0 / 1.062 GB, free: 10.59 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.00451/0.9753, allocations: 2.491 MB / 1.064 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 8.499e-05/0.9754, allocations: 12.03 kB / 1.064 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002441/0.9756, allocations: 223 kB / 1.064 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003223/0.9789, allocations: 0.5009 MB / 1.065 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/0.9812, allocations: 1.339 MB / 1.066 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.9814, allocations: 178.2 kB / 1.066 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.9816, allocations: 150.1 kB / 1.066 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002884/0.9845, allocations: 1.745 MB / 1.068 GB, free: 3.754 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.368e-05/0.9846, allocations: 3.984 kB / 1.068 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.9847, allocations: 64 kB / 1.068 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.195e-05/0.9848, allocations: 54.7 kB / 1.068 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00248/0.9873, allocations: 1.369 MB / 1.07 GB, free: 2.254 MB / 0.7794 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.009567/0.9968, allocations: 8.187 MB / 1.077 GB, free: 9.367 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.9983, allocations: 0.901 MB / 1.078 GB, free: 8.457 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000844/0.9992, allocations: 0.5302 MB / 1.079 GB, free: 7.926 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006482/0.9999, allocations: 324.5 kB / 1.079 GB, free: 7.555 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.9999, allocations: 51.48 kB / 1.079 GB, free: 7.496 MB / 0.795 GB Notification: Performance of pre-optimization done (n=96): time 4.187e-06/0.9999, allocations: 3.984 kB / 1.079 GB, free: 7.492 MB / 0.795 GB Notification: Performance of matching and sorting (n=102): time 0.00686/1.007, allocations: 3.108 MB / 1.082 GB, free: 4.328 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/1.007, allocations: 60.41 kB / 1.082 GB, free: 4.258 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/1.009, allocations: 1.257 MB / 1.084 GB, free: 2.992 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.044e-05/1.009, allocations: 49.7 kB / 1.084 GB, free: 2.938 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006094/1.009, allocations: 0.8015 MB / 1.084 GB, free: 2.129 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000285/1.01, allocations: 366.7 kB / 1.085 GB, free: 1.766 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003187/1.01, allocations: 226.8 kB / 1.085 GB, free: 1.539 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.00017/1.01, allocations: 361.9 kB / 1.085 GB, free: 1.18 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007845/1.011, allocations: 441.8 kB / 1.086 GB, free: 0.7461 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/1.012, allocations: 0.8313 MB / 1.087 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001867/1.014, allocations: 1.248 MB / 1.088 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.014, allocations: 0 / 1.088 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002361/1.016, allocations: 1.397 MB / 1.089 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/1.016, allocations: 16.09 kB / 1.089 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/1.016, allocations: 13.69 kB / 1.089 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/1.016, allocations: 16 kB / 1.089 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/1.018, allocations: 283.5 kB / 1.089 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.227e-05/1.018, allocations: 23.92 kB / 1.089 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/1.019, allocations: 67.89 kB / 1.09 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.758e-05/1.019, allocations: 51.98 kB / 1.09 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001306/1.02, allocations: 0.7729 MB / 1.09 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001023/1.021, allocations: 0.8235 MB / 1.091 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001736/1.023, allocations: 1.233 MB / 1.092 GB, free: 9.383 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.065e-06/1.023, allocations: 7.938 kB / 1.092 GB, free: 9.375 MB / 0.8106 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.00225/1.025, allocations: 1.386 MB / 1.094 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/1.025, allocations: 12 kB / 1.094 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.025, allocations: 8 kB / 1.094 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/1.025, allocations: 16 kB / 1.094 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/1.026, allocations: 268.1 kB / 1.094 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/1.026, allocations: 19.92 kB / 1.094 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/1.028, allocations: 75.94 kB / 1.094 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.805e-05/1.028, allocations: 54 kB / 1.094 GB, free: 7.539 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0003443/1.028, allocations: 263.8 kB / 1.094 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/1.028, allocations: 162 kB / 1.095 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/1.031, allocations: 1.148 MB / 1.096 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/1.031, allocations: 12 kB / 1.096 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.031, allocations: 0 / 1.096 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00167/1.032, allocations: 1.079 MB / 1.097 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004424/1.037, allocations: 2.78 MB / 1.099 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.037, allocations: 0 / 1.099 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/1.038, allocations: 247.7 kB / 1.1 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/1.038, allocations: 8.562 kB / 1.1 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.741e-05/1.038, allocations: 27.98 kB / 1.1 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/1.038, allocations: 16.16 kB / 1.1 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.038, allocations: 0 / 1.1 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003037/1.041, allocations: 1.803 MB / 1.101 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006199/1.042, allocations: 342.9 kB / 1.102 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/1.042, allocations: 27.98 kB / 1.102 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009938/1.043, allocations: 61.14 kB / 1.102 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/1.043, allocations: 64.91 kB / 1.102 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.701e-05/1.043, allocations: 37.3 kB / 1.102 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001109/1.044, allocations: 0.8383 MB / 1.103 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/1.044, allocations: 3.938 kB / 1.103 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00192/1.046, allocations: 0.7578 MB / 1.104 GB, free: 13.68 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.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 (102): * Single equations (assignments): 102 * 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.003692/1.05, allocations: 2.54 MB / 1.106 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003143/1.053, allocations: 1.732 MB / 1.108 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.053, allocations: 0 / 1.108 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0009041/1.054, allocations: 0.5131 MB / 1.108 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004367/1.058, allocations: 0.921 MB / 1.109 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01766/1.076, allocations: 11.93 MB / 1.121 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/1.077, allocations: 1.437 MB / 1.122 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001874/1.079, allocations: 0.5521 MB / 1.123 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009717/1.08, allocations: 0.6789 MB / 1.123 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of SimCode: time 1.463e-06/1.08, allocations: 3.938 kB / 1.123 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07438/1.154, allocations: 44.58 MB / 1.167 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.88, allocations: 15 kB / 1.167 GB, free: 12.82 MB / 0.8887 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-09 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)