Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00818/0.00818, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001654/0.001654, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.521/1.521, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.56/1.56, allocations: 251.7 MB / 0.5094 GB, free: 3.039 MB / 414.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.001513/0.001513, allocations: 67.89 kB / 0.7258 GB, free: 9.102 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2414, allocations: 104.7 MB / 0.828 GB, free: 296 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.9651/1.207, allocations: 242.8 MB / 1.065 GB, free: 9.805 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02782/1.234, allocations: 15.96 MB / 1.081 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004458/1.239, allocations: 71.56 kB / 1.081 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004591/1.244, allocations: 1.192 MB / 1.082 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01391/1.258, allocations: 3.821 MB / 1.086 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006965/1.265, allocations: 1.888 MB / 1.088 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01108/1.276, allocations: 5.455 MB / 1.093 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004488/1.28, allocations: 1.726 MB / 1.095 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009384/1.29, allocations: 2.681 MB / 1.097 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006066/1.296, allocations: 1.741 MB / 1.099 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001373/1.297, allocations: 187.9 kB / 1.099 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007895/1.305, allocations: 2.713 MB / 1.102 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001878/1.307, allocations: 0.8025 MB / 1.102 GB, free: 3.473 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003745/1.311, allocations: 1.178 MB / 1.104 GB, free: 2.289 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01109/1.322, allocations: 3.653 MB / 1.107 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/1.322, allocations: 0 / 1.107 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.255e-06/1.322, allocations: 0 / 1.107 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001708/1.322, allocations: 0 / 1.107 GB, free: 14.63 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.008887/1.331, allocations: 2.538 MB / 1.11 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/1.331, allocations: 12.03 kB / 1.11 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004155/1.335, allocations: 0.5086 MB / 1.11 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004744/1.34, allocations: 1.374 MB / 1.112 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002787/1.34, allocations: 186.3 kB / 1.112 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006344/1.341, allocations: 152 kB / 1.112 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004818/1.346, allocations: 1.741 MB / 1.114 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.093e-05/1.346, allocations: 7.844 kB / 1.114 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002561/1.346, allocations: 64 kB / 1.114 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-05/1.346, allocations: 58.78 kB / 1.114 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003455/1.35, allocations: 1.408 MB / 1.115 GB, free: 6.395 MB / 0.8575 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.01381/1.364, allocations: 7.645 MB / 1.123 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/1.365, allocations: 0.9563 MB / 1.123 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/1.367, allocations: 0.5576 MB / 1.124 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007352/1.367, allocations: 320.2 kB / 1.124 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.467e-05/1.367, allocations: 47.56 kB / 1.124 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=105): time 3.546e-06/1.367, allocations: 4 kB / 1.124 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=111): time 0.009257/1.377, allocations: 3.229 MB / 1.128 GB, free: 8.887 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/1.377, allocations: 64.41 kB / 1.128 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/1.379, allocations: 1.254 MB / 1.129 GB, free: 7.547 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001894/1.379, allocations: 57.7 kB / 1.129 GB, free: 7.484 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007303/1.38, allocations: 0.7901 MB / 1.13 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004608/1.38, allocations: 402.3 kB / 1.13 GB, free: 6.289 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004257/1.381, allocations: 234.7 kB / 1.13 GB, free: 6.055 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001613/1.381, allocations: 357.9 kB / 1.131 GB, free: 5.699 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000963/1.382, allocations: 457.8 kB / 1.131 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/1.383, allocations: 0.8143 MB / 1.132 GB, free: 4.285 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002151/1.385, allocations: 1.255 MB / 1.133 GB, free: 2.93 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.514e-05/1.386, allocations: 7.938 kB / 1.133 GB, free: 2.922 MB / 0.8731 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003104/1.389, allocations: 1.421 MB / 1.134 GB, free: 1.492 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/1.389, allocations: 12.22 kB / 1.134 GB, free: 1.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/1.389, allocations: 8 kB / 1.134 GB, free: 1.473 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.223e-05/1.389, allocations: 15.94 kB / 1.134 GB, free: 1.457 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/1.39, allocations: 283.6 kB / 1.135 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.309e-05/1.39, allocations: 27.86 kB / 1.135 GB, free: 1.152 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/1.392, allocations: 63.94 kB / 1.135 GB, free: 1.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/1.392, allocations: 55.98 kB / 1.135 GB, free: 1.035 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001651/1.394, allocations: 0.7931 MB / 1.136 GB, free: 248 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001361/1.395, allocations: 0.8023 MB / 1.136 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002187/1.397, allocations: 1.239 MB / 1.138 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.016e-05/1.397, allocations: 4 kB / 1.138 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003042/1.4, allocations: 1.411 MB / 1.139 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/1.4, allocations: 11.98 kB / 1.139 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/1.4, allocations: 8 kB / 1.139 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/1.4, allocations: 12 kB / 1.139 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/1.402, allocations: 279.6 kB / 1.139 GB, free: 12.22 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.844e-05/1.402, allocations: 20.36 kB / 1.139 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/1.404, allocations: 78.61 kB / 1.139 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/1.404, allocations: 52 kB / 1.139 GB, free: 12.07 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (156): * Single equations (assignments): 156 * 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.0004773/1.404, allocations: 267.8 kB / 1.14 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006099/1.405, allocations: 166 kB / 1.14 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002913/1.408, allocations: 1.214 MB / 1.141 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/1.408, allocations: 12 kB / 1.141 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/1.408, allocations: 0 / 1.141 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001807/1.41, allocations: 1.122 MB / 1.142 GB, free: 9.23 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006265/1.416, allocations: 2.886 MB / 1.145 GB, free: 6.266 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/1.416, allocations: 4 kB / 1.145 GB, free: 6.262 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/1.417, allocations: 263.7 kB / 1.145 GB, free: 6.004 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-05/1.417, allocations: 11.94 kB / 1.145 GB, free: 5.992 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/1.417, allocations: 28.86 kB / 1.145 GB, free: 5.965 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-05/1.417, allocations: 8.219 kB / 1.145 GB, free: 5.957 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/1.417, allocations: 7.938 kB / 1.145 GB, free: 5.949 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003667/1.421, allocations: 1.888 MB / 1.147 GB, free: 4.02 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/1.422, allocations: 351 kB / 1.147 GB, free: 3.656 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000611/1.423, allocations: 35.88 kB / 1.148 GB, free: 3.621 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001784/1.425, allocations: 70.67 kB / 1.148 GB, free: 3.555 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/1.425, allocations: 68.91 kB / 1.148 GB, free: 3.488 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/1.425, allocations: 43.98 kB / 1.148 GB, free: 3.445 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001648/1.427, allocations: 0.8423 MB / 1.149 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of sort global known variables: time 5.31e-07/1.427, allocations: 0 / 1.149 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003166/1.43, allocations: 0.7812 MB / 1.149 GB, free: 1.824 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,entFloRat.h_out,entFloRat1.h_out,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],entFloRat2.h_out) * 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 (111): * Single equations (assignments): 111 * 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.0008262/1.431, allocations: 286.2 kB / 1.15 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00365/1.434, allocations: 1.793 MB / 1.151 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/1.434, allocations: 0 / 1.151 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/1.435, allocations: 0.5495 MB / 1.152 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004819/1.44, allocations: 0.9169 MB / 1.153 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006178/1.447, allocations: 3.656 MB / 1.156 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/1.448, allocations: 1.461 MB / 1.158 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002032/1.45, allocations: 0.5641 MB / 1.158 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003614/1.45, allocations: 131.5 kB / 1.158 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of SimCode: time 1.863e-06/1.45, allocations: 3.938 kB / 1.158 GB, free: 8.398 MB / 0.9044 GB Notification: Performance of Templates: time 0.05685/1.507, allocations: 32.29 MB / 1.19 GB, free: 8.594 MB / 0.9356 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)