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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 105.1 kB / 16.36 MB, free: 5.961 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.001452/0.001452, allocations: 191.1 kB / 17.3 MB, free: 5.57 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.413/1.413, allocations: 205.1 MB / 223.2 MB, free: 4.074 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.767/1.767, allocations: 292.3 MB / 0.5496 GB, free: 12.8 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.002303/0.002303, allocations: 73.36 kB / 0.6729 GB, free: 25.6 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2585, allocations: 114.5 MB / 0.7848 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6411/0.8996, allocations: 242.4 MB / 1.021 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02402/0.9236, allocations: 15.79 MB / 1.037 GB, free: 14.46 MB / 0.7638 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003998/0.9277, allocations: 75.62 kB / 1.037 GB, free: 14.44 MB / 0.7638 GB Notification: Performance of NFTyping.typeComponents: time 0.003788/0.9315, allocations: 1.181 MB / 1.038 GB, free: 13.46 MB / 0.7638 GB Notification: Performance of NFTyping.typeBindings: time 0.01152/0.9431, allocations: 3.805 MB / 1.042 GB, free: 10.52 MB / 0.7638 GB Notification: Performance of NFTyping.typeClassSections: time 0.005013/0.9481, allocations: 1.803 MB / 1.044 GB, free: 9.156 MB / 0.7638 GB Notification: Performance of NFFlatten.flatten: time 0.007459/0.9556, allocations: 5.232 MB / 1.049 GB, free: 6.168 MB / 0.7638 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002724/0.9583, allocations: 1.668 MB / 1.05 GB, free: 5.113 MB / 0.7638 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006002/0.9644, allocations: 2.6 MB / 1.053 GB, free: 3.547 MB / 0.7638 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003581/0.968, allocations: 1.696 MB / 1.055 GB, free: 2.57 MB / 0.7638 GB Notification: Performance of NFPackage.collectConstants: time 0.0004025/0.9684, allocations: 175.7 kB / 1.055 GB, free: 2.512 MB / 0.7638 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007158/0.9755, allocations: 2.709 MB / 1.057 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001269/0.9769, allocations: 0.7713 MB / 1.058 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.001879/0.9787, allocations: 1.143 MB / 1.059 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.006198/0.9849, allocations: 3.56 MB / 1.063 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.985, allocations: 0 / 1.063 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.733e-06/0.985, allocations: 4 kB / 1.063 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.05e-05/0.985, allocations: 0 / 1.063 GB, free: 10.3 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.004559/0.9896, allocations: 2.495 MB / 1.065 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.9897, allocations: 12.03 kB / 1.065 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003187/0.9928, allocations: 0.497 MB / 1.066 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00253/0.9954, allocations: 1.261 MB / 1.067 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/0.9956, allocations: 174.2 kB / 1.067 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/0.9958, allocations: 148 kB / 1.067 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002986/0.9988, allocations: 1.745 MB / 1.069 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.298e-05/0.9989, allocations: 7.922 kB / 1.069 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/0.999, allocations: 64 kB / 1.069 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.112e-05/0.9991, allocations: 54.7 kB / 1.069 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002668/1.002, allocations: 1.377 MB / 1.07 GB, free: 2.262 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.01062/1.012, allocations: 8.185 MB / 1.078 GB, free: 9.379 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/1.014, allocations: 0.9045 MB / 1.079 GB, free: 8.465 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008903/1.015, allocations: 0.5381 MB / 1.08 GB, free: 7.926 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006555/1.016, allocations: 316.5 kB / 1.08 GB, free: 7.562 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/1.016, allocations: 55.48 kB / 1.08 GB, free: 7.5 MB / 0.795 GB Notification: Performance of pre-optimization done (n=96): time 3.266e-06/1.016, allocations: 0 / 1.08 GB, free: 7.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=102): time 0.007043/1.023, allocations: 3.107 MB / 1.083 GB, free: 4.34 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/1.023, allocations: 64.41 kB / 1.083 GB, free: 4.266 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/1.024, allocations: 1.254 MB / 1.084 GB, free: 3.004 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/1.025, allocations: 49.7 kB / 1.084 GB, free: 2.949 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006534/1.025, allocations: 0.8093 MB / 1.085 GB, free: 2.133 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000314/1.026, allocations: 370.6 kB / 1.086 GB, free: 1.766 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003304/1.026, allocations: 222.8 kB / 1.086 GB, free: 1.543 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.026, allocations: 353.9 kB / 1.086 GB, free: 1.191 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008364/1.027, allocations: 441.8 kB / 1.087 GB, free: 0.7578 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/1.028, allocations: 0.8313 MB / 1.087 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002087/1.03, allocations: 1.252 MB / 1.089 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/1.03, allocations: 4 kB / 1.089 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002757/1.033, allocations: 1.402 MB / 1.09 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/1.033, allocations: 10.81 kB / 1.09 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/1.033, allocations: 8 kB / 1.09 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/1.033, allocations: 16 kB / 1.09 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/1.034, allocations: 277.6 kB / 1.09 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.957e-05/1.034, allocations: 23.92 kB / 1.09 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/1.036, allocations: 75.95 kB / 1.09 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.927e-05/1.036, allocations: 55.92 kB / 1.09 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001474/1.037, allocations: 0.7686 MB / 1.091 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001115/1.039, allocations: 0.8246 MB / 1.092 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001938/1.04, allocations: 1.229 MB / 1.093 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.608e-06/1.041, allocations: 0 / 1.093 GB, free: 9.395 MB / 0.8106 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002574/1.043, allocations: 1.389 MB / 1.095 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/1.043, allocations: 12.91 kB / 1.095 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.043, allocations: 8 kB / 1.095 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/1.043, allocations: 20 kB / 1.095 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/1.044, allocations: 267.6 kB / 1.095 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.298e-05/1.044, allocations: 23.92 kB / 1.095 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/1.046, allocations: 75.84 kB / 1.095 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.084e-05/1.046, allocations: 48 kB / 1.095 GB, free: 7.551 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.0003409/1.046, allocations: 267.8 kB / 1.095 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/1.046, allocations: 162 kB / 1.095 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/1.049, allocations: 1.146 MB / 1.097 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/1.049, allocations: 12 kB / 1.097 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/1.049, allocations: 0 / 1.097 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001686/1.05, allocations: 1.083 MB / 1.098 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004716/1.055, allocations: 2.773 MB / 1.1 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/1.055, allocations: 4 kB / 1.1 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/1.056, allocations: 251.9 kB / 1.101 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/1.056, allocations: 7.938 kB / 1.101 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.009e-05/1.057, allocations: 31.98 kB / 1.101 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/1.057, allocations: 8.812 kB / 1.101 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.057, allocations: 11.88 kB / 1.101 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002974/1.06, allocations: 1.803 MB / 1.102 GB, free: 15.82 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008136/1.06, allocations: 339 kB / 1.103 GB, free: 15.47 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/1.061, allocations: 31.92 kB / 1.103 GB, free: 15.44 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000986/1.062, allocations: 54.27 kB / 1.103 GB, free: 15.39 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/1.062, allocations: 68.91 kB / 1.103 GB, free: 15.32 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.577e-05/1.062, allocations: 39.98 kB / 1.103 GB, free: 15.28 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.001169/1.063, allocations: 0.8383 MB / 1.104 GB, free: 14.45 MB / 0.8263 GB Notification: Performance of sort global known variables: time 2.11e-07/1.063, allocations: 0 / 1.104 GB, free: 14.45 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.001988/1.065, allocations: 0.7617 MB / 1.104 GB, free: 13.68 MB / 0.8263 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.0005607/1.066, allocations: 270.1 kB / 1.105 GB, free: 13.42 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.003407/1.069, allocations: 1.728 MB / 1.106 GB, free: 11.7 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/1.069, allocations: 4.125 kB / 1.106 GB, free: 11.69 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.0009688/1.07, allocations: 0.517 MB / 1.107 GB, free: 11.18 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004092/1.074, allocations: 0.9147 MB / 1.108 GB, free: 10.28 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005445/1.08, allocations: 3.431 MB / 1.111 GB, free: 6.793 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/1.081, allocations: 1.449 MB / 1.113 GB, free: 5.312 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 0.001904/1.083, allocations: 0.5521 MB / 1.113 GB, free: 4.754 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003597/1.083, allocations: 127.4 kB / 1.113 GB, free: 4.629 MB / 0.8263 GB Notification: Performance of SimCode: time 1.092e-06/1.083, allocations: 0 / 1.113 GB, free: 4.629 MB / 0.8263 GB Notification: Performance of Templates: time 0.05408/1.137, allocations: 31.25 MB / 1.144 GB, free: 5.855 MB / 0.8575 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.makefile (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 & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)