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.001379/0.001379, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001999/0.001999, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.571/1.571, allocations: 205.1 MB / 222 MB, free: 4.988 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.519/1.519, allocations: 251.6 MB / 0.5088 GB, free: 3.359 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.002384/0.002384, allocations: 71.91 kB / 0.6216 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5606/0.563, allocations: 104.7 MB / 0.7238 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.8673/1.43, allocations: 240.9 MB / 0.959 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02679/1.457, allocations: 16.14 MB / 0.9748 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006242/1.464, allocations: 72.44 kB / 0.9749 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005765/1.469, allocations: 1.029 MB / 0.9759 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0168/1.486, allocations: 3.616 MB / 0.9794 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008387/1.495, allocations: 1.673 MB / 0.981 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01463/1.509, allocations: 7.646 MB / 0.9885 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004312/1.514, allocations: 1.468 MB / 0.9899 GB, free: 464 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01043/1.524, allocations: 2.4 MB / 0.9923 GB, free: 236 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006969/1.531, allocations: 1.814 MB / 0.994 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0009732/1.532, allocations: 106.9 kB / 0.9941 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01127/1.543, allocations: 3.147 MB / 0.9972 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002339/1.546, allocations: 0.7231 MB / 0.9979 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.004204/1.55, allocations: 1.094 MB / 0.999 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01173/1.562, allocations: 3.729 MB / 1.003 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/1.562, allocations: 3.984 kB / 1.003 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.964e-06/1.562, allocations: 4 kB / 1.003 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001252/1.562, allocations: 0 / 1.003 GB, free: 12.58 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.008032/1.57, allocations: 2.541 MB / 1.005 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/1.57, allocations: 8.188 kB / 1.005 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003971/1.574, allocations: 0.5054 MB / 1.006 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003681/1.578, allocations: 1.285 MB / 1.007 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002223/1.578, allocations: 176.5 kB / 1.007 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004867/1.579, allocations: 170.5 kB / 1.007 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005551/1.584, allocations: 1.732 MB / 1.009 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.1e-05/1.584, allocations: 5.359 kB / 1.009 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002101/1.585, allocations: 62.39 kB / 1.009 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/1.585, allocations: 61.33 kB / 1.009 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003504/1.588, allocations: 1.407 MB / 1.01 GB, free: 7.734 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.0129/1.601, allocations: 7.636 MB / 1.018 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/1.603, allocations: 0.9651 MB / 1.019 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008713/1.604, allocations: 0.5544 MB / 1.019 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000713/1.604, allocations: 325.7 kB / 1.02 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.348e-05/1.604, allocations: 51.5 kB / 1.02 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=105): time 3.997e-06/1.604, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=111): time 0.008965/1.613, allocations: 3.227 MB / 1.023 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/1.614, allocations: 60.41 kB / 1.023 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/1.616, allocations: 1.254 MB / 1.024 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002112/1.616, allocations: 49.7 kB / 1.024 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000682/1.617, allocations: 0.7994 MB / 1.025 GB, free: 9.477 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004701/1.617, allocations: 393.6 kB / 1.025 GB, free: 9.094 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003942/1.618, allocations: 234.8 kB / 1.026 GB, free: 8.859 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002057/1.618, allocations: 361.9 kB / 1.026 GB, free: 8.5 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009135/1.619, allocations: 464.9 kB / 1.026 GB, free: 8.047 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/1.62, allocations: 0.8168 MB / 1.027 GB, free: 7.078 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001943/1.622, allocations: 1.242 MB / 1.028 GB, free: 5.758 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.622, allocations: 0 / 1.028 GB, free: 5.758 MB / 0.7481 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002815/1.625, allocations: 1.429 MB / 1.03 GB, free: 4.367 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/1.625, allocations: 8 kB / 1.03 GB, free: 4.359 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/1.625, allocations: 8 kB / 1.03 GB, free: 4.352 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.138e-05/1.625, allocations: 12 kB / 1.03 GB, free: 4.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/1.626, allocations: 290.8 kB / 1.03 GB, free: 4.074 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.081e-05/1.626, allocations: 14.81 kB / 1.03 GB, free: 4.062 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/1.628, allocations: 167.5 kB / 1.03 GB, free: 3.898 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.836e-05/1.628, allocations: 56 kB / 1.03 GB, free: 3.844 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001518/1.63, allocations: 0.7914 MB / 1.031 GB, free: 3.051 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001034/1.631, allocations: 0.8043 MB / 1.032 GB, free: 2.105 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001808/1.633, allocations: 1.235 MB / 1.033 GB, free: 0.7891 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.58e-06/1.633, allocations: 0 / 1.033 GB, free: 0.7891 MB / 0.7481 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002608/1.635, allocations: 1.409 MB / 1.034 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/1.635, allocations: 8 kB / 1.034 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/1.635, allocations: 9.25 kB / 1.034 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/1.635, allocations: 16 kB / 1.034 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/1.636, allocations: 282 kB / 1.035 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.127e-05/1.636, allocations: 19.28 kB / 1.035 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/1.639, allocations: 173.6 kB / 1.035 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/1.639, allocations: 52 kB / 1.035 GB, free: 14.89 MB / 0.7637 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.000421/1.639, allocations: 271.2 kB / 1.035 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003535/1.639, allocations: 170 kB / 1.035 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002491/1.642, allocations: 1.216 MB / 1.037 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/1.642, allocations: 12 kB / 1.037 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.642, allocations: 0 / 1.037 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001736/1.644, allocations: 1.125 MB / 1.038 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005628/1.649, allocations: 2.883 MB / 1.04 GB, free: 9.141 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/1.649, allocations: 3.938 kB / 1.04 GB, free: 9.137 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/1.651, allocations: 266.6 kB / 1.041 GB, free: 8.887 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.465e-05/1.651, allocations: 14.61 kB / 1.041 GB, free: 8.875 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.626e-05/1.651, allocations: 27.98 kB / 1.041 GB, free: 8.848 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.759e-06/1.651, allocations: 8 kB / 1.041 GB, free: 8.84 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.651, allocations: 0 / 1.041 GB, free: 8.84 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003368/1.654, allocations: 1.901 MB / 1.043 GB, free: 6.902 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/1.655, allocations: 358.9 kB / 1.043 GB, free: 6.531 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/1.656, allocations: 24 kB / 1.043 GB, free: 6.508 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/1.657, allocations: 147.7 kB / 1.043 GB, free: 6.363 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/1.657, allocations: 71.53 kB / 1.043 GB, free: 6.297 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.289e-05/1.657, allocations: 39.97 kB / 1.043 GB, free: 6.258 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001269/1.659, allocations: 0.8423 MB / 1.044 GB, free: 5.418 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.41e-07/1.659, allocations: 0 / 1.044 GB, free: 5.418 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002334/1.661, allocations: 0.789 MB / 1.045 GB, free: 4.629 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.0006938/1.662, allocations: 282.6 kB / 1.045 GB, free: 4.375 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003212/1.665, allocations: 1.786 MB / 1.047 GB, free: 2.656 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.665, allocations: 4 kB / 1.047 GB, free: 2.652 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0009099/1.666, allocations: 0.5431 MB / 1.047 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004601/1.67, allocations: 0.9685 MB / 1.048 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006657/1.677, allocations: 4.397 MB / 1.053 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/1.678, allocations: 1.457 MB / 1.054 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002459/1.681, allocations: 0.5641 MB / 1.055 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003702/1.681, allocations: 127.4 kB / 1.055 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of SimCode: time 1.633e-06/1.681, allocations: 0 / 1.055 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of Templates: time 0.05558/1.737, allocations: 31.16 MB / 1.085 GB, free: 11.94 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)