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.009025/0.009025, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.00149/0.001491, allocations: 199.9 kB / 16.68 MB, free: 5.93 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.556/1.556, allocations: 205.1 MB / 222.5 MB, free: 4.363 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.554/1.554, allocations: 251.7 MB / 0.5094 GB, free: 3.016 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.001446/0.001446, allocations: 73.94 kB / 0.7258 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2473, allocations: 104.7 MB / 0.8281 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.9414/1.189, allocations: 242.8 MB / 1.065 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02975/1.219, allocations: 15.94 MB / 1.081 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004367/1.223, allocations: 75.56 kB / 1.081 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004934/1.228, allocations: 1.231 MB / 1.082 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01474/1.243, allocations: 3.975 MB / 1.086 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006893/1.25, allocations: 1.888 MB / 1.088 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01051/1.26, allocations: 5.468 MB / 1.093 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003391/1.264, allocations: 1.719 MB / 1.095 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008459/1.272, allocations: 2.763 MB / 1.097 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005653/1.278, allocations: 1.767 MB / 1.099 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0008072/1.279, allocations: 184 kB / 1.099 GB, free: 6.684 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008405/1.287, allocations: 2.713 MB / 1.102 GB, free: 3.965 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001754/1.289, allocations: 0.8025 MB / 1.103 GB, free: 3.16 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003132/1.292, allocations: 1.182 MB / 1.104 GB, free: 1.973 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.008257/1.3, allocations: 3.653 MB / 1.108 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.3, allocations: 4 kB / 1.108 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.554e-06/1.3, allocations: 3.938 kB / 1.108 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001074/1.3, allocations: 0 / 1.108 GB, free: 14.3 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.005534/1.306, allocations: 2.538 MB / 1.11 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.306, allocations: 8.031 kB / 1.11 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003049/1.309, allocations: 0.5047 MB / 1.11 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002796/1.312, allocations: 1.37 MB / 1.112 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/1.312, allocations: 186.3 kB / 1.112 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002319/1.312, allocations: 152 kB / 1.112 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003074/1.315, allocations: 1.741 MB / 1.114 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.116e-05/1.316, allocations: 11.84 kB / 1.114 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/1.316, allocations: 68 kB / 1.114 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.95e-05/1.316, allocations: 58.78 kB / 1.114 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002479/1.318, allocations: 1.401 MB / 1.115 GB, free: 6.082 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.01028/1.329, allocations: 7.657 MB / 1.123 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/1.33, allocations: 0.9563 MB / 1.124 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008421/1.331, allocations: 0.5537 MB / 1.124 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006308/1.332, allocations: 324.2 kB / 1.125 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/1.332, allocations: 47.55 kB / 1.125 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=105): time 3.065e-06/1.332, allocations: 0 / 1.125 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of matching and sorting (n=111): time 0.007825/1.339, allocations: 3.23 MB / 1.128 GB, free: 8.562 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/1.34, allocations: 60.41 kB / 1.128 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002085/1.342, allocations: 1.258 MB / 1.129 GB, free: 7.223 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001507/1.342, allocations: 53.7 kB / 1.129 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006737/1.343, allocations: 0.7941 MB / 1.13 GB, free: 6.363 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004209/1.343, allocations: 398.2 kB / 1.13 GB, free: 5.969 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004011/1.343, allocations: 246.7 kB / 1.131 GB, free: 5.723 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.343, allocations: 349.9 kB / 1.131 GB, free: 5.375 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008625/1.344, allocations: 465.8 kB / 1.131 GB, free: 4.918 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/1.346, allocations: 0.8101 MB / 1.132 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002079/1.348, allocations: 1.251 MB / 1.133 GB, free: 2.602 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/1.348, allocations: 7.938 kB / 1.133 GB, free: 2.594 MB / 0.8731 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002959/1.351, allocations: 1.417 MB / 1.135 GB, free: 1.168 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/1.351, allocations: 11.94 kB / 1.135 GB, free: 1.156 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/1.351, allocations: 8 kB / 1.135 GB, free: 1.148 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.815e-05/1.351, allocations: 16.81 kB / 1.135 GB, free: 1.133 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/1.352, allocations: 287.6 kB / 1.135 GB, free: 0.8516 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.611e-05/1.352, allocations: 19.92 kB / 1.135 GB, free: 0.832 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/1.354, allocations: 66.77 kB / 1.135 GB, free: 0.7695 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/1.354, allocations: 51.98 kB / 1.135 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001598/1.355, allocations: 0.7875 MB / 1.136 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00117/1.357, allocations: 0.8101 MB / 1.137 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001998/1.359, allocations: 1.239 MB / 1.138 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.194e-06/1.359, allocations: 0 / 1.138 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.002871/1.362, allocations: 1.41 MB / 1.139 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/1.362, allocations: 12.03 kB / 1.139 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/1.362, allocations: 8 kB / 1.139 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/1.362, allocations: 16.81 kB / 1.139 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/1.363, allocations: 275.6 kB / 1.14 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-05/1.363, allocations: 23.92 kB / 1.14 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/1.365, allocations: 75.94 kB / 1.14 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/1.365, allocations: 48 kB / 1.14 GB, free: 11.75 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.0004437/1.365, allocations: 271.8 kB / 1.14 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005641/1.366, allocations: 166 kB / 1.14 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002796/1.369, allocations: 1.208 MB / 1.141 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/1.369, allocations: 16 kB / 1.141 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/1.369, allocations: 0 / 1.141 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001904/1.371, allocations: 1.126 MB / 1.142 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006246/1.377, allocations: 2.882 MB / 1.145 GB, free: 5.949 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/1.377, allocations: 224 / 1.145 GB, free: 5.949 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/1.378, allocations: 271.7 kB / 1.146 GB, free: 5.684 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-05/1.378, allocations: 7.938 kB / 1.146 GB, free: 5.676 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/1.378, allocations: 31.98 kB / 1.146 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-05/1.378, allocations: 7.938 kB / 1.146 GB, free: 5.637 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/1.378, allocations: 4 kB / 1.146 GB, free: 5.633 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00362/1.382, allocations: 1.892 MB / 1.147 GB, free: 3.699 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/1.383, allocations: 355 kB / 1.148 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004403/1.383, allocations: 31.92 kB / 1.148 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/1.385, allocations: 74.22 kB / 1.148 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/1.385, allocations: 68.91 kB / 1.148 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/1.385, allocations: 43.98 kB / 1.148 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001626/1.387, allocations: 0.8423 MB / 1.149 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/1.387, allocations: 0 / 1.149 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002929/1.39, allocations: 0.789 MB / 1.15 GB, free: 1.496 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.0007583/1.391, allocations: 277.2 kB / 1.15 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003674/1.394, allocations: 1.79 MB / 1.152 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.394, allocations: 4 kB / 1.152 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009891/1.395, allocations: 0.5483 MB / 1.152 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004152/1.399, allocations: 0.9319 MB / 1.153 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007032/1.407, allocations: 3.648 MB / 1.157 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/1.408, allocations: 1.461 MB / 1.158 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002462/1.41, allocations: 0.5563 MB / 1.159 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006739/1.411, allocations: 131.4 kB / 1.159 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of SimCode: time 1.753e-06/1.411, allocations: 0 / 1.159 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of Templates: time 0.05964/1.471, allocations: 32.29 MB / 1.19 GB, free: 8.277 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)