Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.627/2.627, allocations: 287.5 MB / 302.4 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001387/0.001387, allocations: 184.8 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.208/2.208, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009606/0.0009595, allocations: 92.59 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005149/0.0005154, allocations: 13.55 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2135, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 1.04/1.254, allocations: 221.3 MB / 1.194 GB, free: 6.887 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.03343/1.287, allocations: 14.83 MB / 1.209 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00324/1.291, allocations: 67 kB / 1.209 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004159/1.295, allocations: 0.7915 MB / 1.21 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01228/1.307, allocations: 2.832 MB / 1.213 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.006647/1.314, allocations: 1.36 MB / 1.214 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01143/1.325, allocations: 6.212 MB / 1.22 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00334/1.329, allocations: 1.27 MB / 1.221 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008267/1.337, allocations: 2.152 MB / 1.223 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005236/1.342, allocations: 1.646 MB / 1.225 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0007608/1.343, allocations: 84 kB / 1.225 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007166/1.35, allocations: 1.512 MB / 1.226 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001909/1.352, allocations: 0.6698 MB / 1.227 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001636/1.354, allocations: 448.6 kB / 1.228 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.006416/1.361, allocations: 2.431 MB / 1.23 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/1.361, allocations: 0 / 1.23 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.845e-06/1.361, allocations: 0 / 1.23 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.000115/1.361, allocations: 4 kB / 1.23 GB, free: 10.36 MB / 0.7605 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.007058/1.368, allocations: 2.121 MB / 1.232 GB, free: 8.188 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/1.368, allocations: 12.03 kB / 1.232 GB, free: 8.176 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004801/1.373, allocations: 0.5009 MB / 1.233 GB, free: 7.672 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003879/1.377, allocations: 1.207 MB / 1.234 GB, free: 6.41 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002829/1.377, allocations: 188.2 kB / 1.234 GB, free: 6.215 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004522/1.377, allocations: 152 kB / 1.234 GB, free: 6.066 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005225/1.383, allocations: 1.73 MB / 1.236 GB, free: 4.262 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-05/1.383, allocations: 11.92 kB / 1.236 GB, free: 4.25 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000245/1.383, allocations: 63.98 kB / 1.236 GB, free: 4.188 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001171/1.383, allocations: 62.69 kB / 1.236 GB, free: 4.125 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00495/1.388, allocations: 1.377 MB / 1.237 GB, free: 2.742 MB / 0.7605 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.01705/1.405, allocations: 8.183 MB / 1.245 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002763/1.408, allocations: 0.9126 MB / 1.246 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/1.41, allocations: 0.5459 MB / 1.247 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/1.411, allocations: 340.5 kB / 1.247 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.368e-05/1.411, allocations: 43.56 kB / 1.247 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=96): time 3.657e-06/1.411, allocations: 0 / 1.247 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of matching and sorting (n=102): time 0.01234/1.423, allocations: 3.144 MB / 1.25 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.137e-05/1.423, allocations: 68.34 kB / 1.25 GB, free: 4.68 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/1.426, allocations: 1.238 MB / 1.251 GB, free: 3.434 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002651/1.426, allocations: 53.64 kB / 1.251 GB, free: 3.375 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000956/1.427, allocations: 0.8093 MB / 1.252 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006229/1.428, allocations: 370.6 kB / 1.252 GB, free: 2.191 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.832e-05/1.428, allocations: 20 kB / 1.253 GB, free: 2.172 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002126/1.428, allocations: 353.9 kB / 1.253 GB, free: 1.82 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/1.43, allocations: 442.4 kB / 1.253 GB, free: 1.391 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001858/1.431, allocations: 0.8235 MB / 1.254 GB, free: 408 kB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/1.433, allocations: 0.5573 MB / 1.255 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/1.433, allocations: 8 kB / 1.255 GB, free: 15.83 MB / 0.7917 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004349/1.438, allocations: 1.397 MB / 1.256 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003369/1.438, allocations: 362 kB / 1.256 GB, free: 13.95 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/1.438, allocations: 12 kB / 1.256 GB, free: 13.94 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.146e-05/1.438, allocations: 16 kB / 1.256 GB, free: 13.92 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002321/1.441, allocations: 283.5 kB / 1.257 GB, free: 13.65 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.98e-05/1.441, allocations: 19.94 kB / 1.257 GB, free: 13.63 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002942/1.444, allocations: 168.9 kB / 1.257 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002112/1.444, allocations: 48 kB / 1.257 GB, free: 13.42 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/1.444, allocations: 7.953 kB / 1.257 GB, free: 13.41 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003955/1.448, allocations: 1.234 MB / 1.258 GB, free: 12.17 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/1.448, allocations: 8 kB / 1.258 GB, free: 12.16 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.348e-05/1.448, allocations: 19.98 kB / 1.258 GB, free: 12.14 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002252/1.45, allocations: 280.1 kB / 1.258 GB, free: 11.87 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.875e-05/1.45, allocations: 27.92 kB / 1.258 GB, free: 11.84 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003/1.453, allocations: 167.5 kB / 1.259 GB, free: 11.68 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002875/1.454, allocations: 52 kB / 1.259 GB, free: 11.63 MB / 0.7917 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001494/1.455, allocations: 0.5007 MB / 1.259 GB, free: 11.12 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005907/1.456, allocations: 166 kB / 1.259 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004018/1.46, allocations: 1.162 MB / 1.26 GB, free: 9.777 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.137e-05/1.46, allocations: 12 kB / 1.26 GB, free: 9.766 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/1.46, allocations: 0 / 1.26 GB, free: 9.766 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00316/1.463, allocations: 1.087 MB / 1.261 GB, free: 8.633 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008599/1.472, allocations: 2.801 MB / 1.264 GB, free: 5.746 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/1.472, allocations: 4 kB / 1.264 GB, free: 5.742 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002474/1.474, allocations: 255.9 kB / 1.264 GB, free: 5.492 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.447e-05/1.474, allocations: 8 kB / 1.264 GB, free: 5.484 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001544/1.474, allocations: 23.98 kB / 1.264 GB, free: 5.461 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-05/1.474, allocations: 4 kB / 1.264 GB, free: 5.457 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.474, allocations: 4 kB / 1.264 GB, free: 5.453 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005408/1.48, allocations: 1.84 MB / 1.266 GB, free: 3.574 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/1.481, allocations: 331.1 kB / 1.267 GB, free: 3.23 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004174/1.482, allocations: 24.5 kB / 1.267 GB, free: 3.207 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002606/1.484, allocations: 147.5 kB / 1.267 GB, free: 3.062 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002579/1.485, allocations: 64.88 kB / 1.267 GB, free: 3 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/1.485, allocations: 40.84 kB / 1.267 GB, free: 2.961 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.00188/1.487, allocations: 0.8266 MB / 1.268 GB, free: 2.137 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.062e-06/1.487, allocations: 3.938 kB / 1.268 GB, free: 2.133 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003672/1.49, allocations: 0.7618 MB / 1.268 GB, free: 1.371 MB / 0.7917 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009687/1.491, allocations: 281 kB / 1.269 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.005709/1.497, allocations: 1.74 MB / 1.27 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/1.497, allocations: 0 / 1.27 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001729/1.499, allocations: 0.5214 MB / 1.271 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009322/1.508, allocations: 0.9642 MB / 1.272 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/1.519, allocations: 4.189 MB / 1.276 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001682/1.52, allocations: 1.441 MB / 1.277 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.003699/1.524, allocations: 0.5485 MB / 1.278 GB, free: 7.609 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006479/1.525, allocations: 131.4 kB / 1.278 GB, free: 7.48 MB / 0.8073 GB Notification: Performance of SimCode: time 1.123e-06/1.525, allocations: 0 / 1.278 GB, free: 7.48 MB / 0.8073 GB Notification: Performance of Templates: time 0.08461/1.609, allocations: 29.35 MB / 1.307 GB, free: 10.43 MB / 0.8386 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)