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.001161/0.001161, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001399/0.001399, allocations: 196.2 kB / 16.25 MB, free: 6.621 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.495/1.495, allocations: 205.1 MB / 222.1 MB, free: 4.668 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.548/1.548, allocations: 251.7 MB / 0.5089 GB, free: 3.293 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.00136/0.00136, allocations: 67.89 kB / 0.6217 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5634/0.5648, allocations: 104.7 MB / 0.724 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7993/1.364, allocations: 240.2 MB / 0.9585 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02639/1.391, allocations: 15.91 MB / 0.974 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005494/1.396, allocations: 70.97 kB / 0.9741 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004653/1.401, allocations: 1.052 MB / 0.9751 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01183/1.413, allocations: 3.601 MB / 0.9787 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00583/1.419, allocations: 1.717 MB / 0.9803 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009614/1.428, allocations: 5.466 MB / 0.9857 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004892/1.433, allocations: 1.68 MB / 0.9873 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008297/1.442, allocations: 2.682 MB / 0.9899 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005143/1.447, allocations: 1.853 MB / 0.9917 GB, free: 388 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008036/1.448, allocations: 186.1 kB / 0.9919 GB, free: 388 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007723/1.455, allocations: 2.838 MB / 0.9947 GB, free: 360 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001756/1.457, allocations: 0.8038 MB / 0.9955 GB, free: 56 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003105/1.46, allocations: 1.183 MB / 0.9966 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0107/1.471, allocations: 3.806 MB / 1 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/1.471, allocations: 0 / 1 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.086e-06/1.471, allocations: 0 / 1 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001458/1.471, allocations: 6 kB / 1 GB, free: 14.3 MB / 0.7325 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.007483/1.479, allocations: 2.54 MB / 1.003 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/1.479, allocations: 8.156 kB / 1.003 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003611/1.482, allocations: 0.5031 MB / 1.003 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003835/1.486, allocations: 1.283 MB / 1.005 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000249/1.487, allocations: 182.9 kB / 1.005 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002925/1.487, allocations: 158 kB / 1.005 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003474/1.49, allocations: 1.741 MB / 1.007 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.986e-05/1.49, allocations: 6.312 kB / 1.007 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/1.491, allocations: 59.94 kB / 1.007 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.836e-05/1.491, allocations: 65.03 kB / 1.007 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002541/1.493, allocations: 1.398 MB / 1.008 GB, free: 9.727 MB / 0.7325 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.01103/1.504, allocations: 7.642 MB / 1.016 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/1.506, allocations: 0.9632 MB / 1.017 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000851/1.507, allocations: 0.5537 MB / 1.017 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006428/1.507, allocations: 330.3 kB / 1.017 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.007e-05/1.507, allocations: 48.72 kB / 1.017 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=105): time 3.106e-06/1.507, allocations: 0 / 1.017 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of matching and sorting (n=111): time 0.009002/1.516, allocations: 3.23 MB / 1.021 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/1.517, allocations: 63.31 kB / 1.021 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/1.518, allocations: 1.257 MB / 1.022 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001754/1.519, allocations: 49.7 kB / 1.022 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006232/1.519, allocations: 0.7969 MB / 1.023 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003828/1.52, allocations: 398.6 kB / 1.023 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003718/1.52, allocations: 234.8 kB / 1.023 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001623/1.52, allocations: 361.9 kB / 1.024 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008473/1.521, allocations: 457.8 kB / 1.024 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/1.522, allocations: 0.812 MB / 1.025 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001944/1.524, allocations: 1.246 MB / 1.026 GB, free: 9.309 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.524, allocations: 0 / 1.026 GB, free: 9.309 MB / 0.7481 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002683/1.527, allocations: 1.422 MB / 1.027 GB, free: 7.918 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/1.527, allocations: 15.92 kB / 1.027 GB, free: 7.902 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/1.527, allocations: 8 kB / 1.027 GB, free: 7.895 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.488e-05/1.527, allocations: 15.09 kB / 1.027 GB, free: 7.883 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/1.528, allocations: 283.7 kB / 1.028 GB, free: 7.621 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.76e-05/1.528, allocations: 25.72 kB / 1.028 GB, free: 7.602 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002186/1.53, allocations: 162.9 kB / 1.028 GB, free: 7.445 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/1.53, allocations: 55.98 kB / 1.028 GB, free: 7.391 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001759/1.532, allocations: 0.7914 MB / 1.029 GB, free: 6.598 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001184/1.533, allocations: 0.8054 MB / 1.03 GB, free: 5.648 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001868/1.535, allocations: 1.235 MB / 1.031 GB, free: 4.336 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.04e-06/1.535, allocations: 4 kB / 1.031 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002637/1.538, allocations: 1.407 MB / 1.032 GB, free: 2.961 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/1.538, allocations: 11.19 kB / 1.032 GB, free: 2.953 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.538, allocations: 8 kB / 1.032 GB, free: 2.945 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/1.538, allocations: 12 kB / 1.032 GB, free: 2.934 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/1.539, allocations: 276.2 kB / 1.032 GB, free: 2.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.98e-05/1.539, allocations: 18.61 kB / 1.032 GB, free: 2.664 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002238/1.541, allocations: 175.8 kB / 1.033 GB, free: 2.492 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/1.542, allocations: 51.98 kB / 1.033 GB, free: 2.441 MB / 0.7481 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.0005404/1.542, allocations: 266.4 kB / 1.033 GB, free: 2.191 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003676/1.542, allocations: 170 kB / 1.033 GB, free: 2.023 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00265/1.545, allocations: 1.217 MB / 1.034 GB, free: 0.7969 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/1.545, allocations: 12 kB / 1.034 GB, free: 0.7852 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/1.545, allocations: 0 / 1.034 GB, free: 0.7852 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001756/1.547, allocations: 1.121 MB / 1.035 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00596/1.553, allocations: 2.881 MB / 1.038 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/1.553, allocations: 15.86 kB / 1.038 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/1.554, allocations: 267 kB / 1.038 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.55e-05/1.554, allocations: 12 kB / 1.038 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/1.554, allocations: 27.98 kB / 1.039 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.329e-05/1.554, allocations: 8 kB / 1.039 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/1.555, allocations: 0 / 1.039 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003646/1.558, allocations: 1.894 MB / 1.04 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/1.559, allocations: 354.9 kB / 1.041 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000547/1.56, allocations: 28 kB / 1.041 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001944/1.562, allocations: 148.9 kB / 1.041 GB, free: 9.918 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/1.562, allocations: 74.77 kB / 1.041 GB, free: 9.848 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/1.562, allocations: 39.98 kB / 1.041 GB, free: 9.809 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001613/1.564, allocations: 0.8423 MB / 1.042 GB, free: 8.969 MB / 0.7637 GB Notification: Performance of sort global known variables: time 4.31e-07/1.564, allocations: 4 kB / 1.042 GB, free: 8.965 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00374/1.568, allocations: 0.7773 MB / 1.043 GB, free: 8.188 MB / 0.7637 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.0009408/1.569, allocations: 276.2 kB / 1.043 GB, free: 7.938 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004948/1.574, allocations: 2.084 MB / 1.045 GB, free: 5.93 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/1.574, allocations: 0 / 1.045 GB, free: 5.93 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0009766/1.575, allocations: 0.5461 MB / 1.045 GB, free: 5.41 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005604/1.58, allocations: 0.9339 MB / 1.046 GB, free: 4.5 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007578/1.588, allocations: 4.396 MB / 1.051 GB, free: 76 kB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001167/1.589, allocations: 1.461 MB / 1.052 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002524/1.592, allocations: 0.5641 MB / 1.053 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003942/1.592, allocations: 131.4 kB / 1.053 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of SimCode: time 3.697e-06/1.592, allocations: 112 / 1.053 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of Templates: time 0.06039/1.652, allocations: 31.75 MB / 1.084 GB, free: 14.72 MB / 0.8106 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)