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/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.505/1.505, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000933/0.000933, allocations: 172.1 kB / 326.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008542/0.0008543, allocations: 83.75 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.0002981, allocations: 7.969 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.177, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6366/0.8137, allocations: 240.5 MB / 1.132 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02297/0.8367, allocations: 16.15 MB / 1.147 GB, free: 424 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00392/0.8407, allocations: 68.12 kB / 1.147 GB, free: 424 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00417/0.8449, allocations: 1.028 MB / 1.148 GB, free: 396 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01194/0.8568, allocations: 3.611 MB / 1.152 GB, free: 196 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005869/0.8627, allocations: 1.682 MB / 1.154 GB, free: 140 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01174/0.8745, allocations: 7.729 MB / 1.161 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003387/0.8779, allocations: 1.412 MB / 1.163 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007625/0.8856, allocations: 2.408 MB / 1.165 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005214/0.8908, allocations: 1.772 MB / 1.167 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0008337/0.8917, allocations: 88.38 kB / 1.167 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007464/0.8992, allocations: 3.129 MB / 1.17 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001703/0.9009, allocations: 0.7047 MB / 1.17 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.003474/0.9044, allocations: 1.058 MB / 1.172 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005017/0.9094, allocations: 2.64 MB / 1.174 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.9095, allocations: 3.281 kB / 1.174 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9095, allocations: 0 / 1.174 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.247e-05/0.9096, allocations: 4 kB / 1.174 GB, free: 8.973 MB / 0.7136 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.004587/0.9142, allocations: 2.143 MB / 1.176 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.9142, allocations: 13.75 kB / 1.176 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003053/0.9173, allocations: 0.5042 MB / 1.177 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00271/0.92, allocations: 1.282 MB / 1.178 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002032/0.9202, allocations: 184.3 kB / 1.178 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000264/0.9205, allocations: 156.7 kB / 1.178 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003608/0.9241, allocations: 1.753 MB / 1.18 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.691e-05/0.9242, allocations: 7.031 kB / 1.18 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/0.9244, allocations: 61.09 kB / 1.18 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.948e-05/0.9245, allocations: 60.34 kB / 1.18 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003005/0.9275, allocations: 1.424 MB / 1.182 GB, free: 4.379 MB / 0.7136 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.009485/0.937, allocations: 7.66 MB / 1.189 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.9385, allocations: 0.9595 MB / 1.19 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008789/0.9394, allocations: 0.5693 MB / 1.19 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006926/0.9401, allocations: 331.6 kB / 1.191 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.726e-05/0.9402, allocations: 51.5 kB / 1.191 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=105): time 3.687e-06/0.9402, allocations: 0 / 1.191 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=111): time 0.007496/0.9477, allocations: 3.285 MB / 1.194 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.9478, allocations: 70.84 kB / 1.194 GB, free: 7.332 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.9494, allocations: 1.257 MB / 1.195 GB, free: 6.066 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001108/0.9495, allocations: 49.7 kB / 1.195 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005619/0.9501, allocations: 0.7938 MB / 1.196 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003209/0.9504, allocations: 395.2 kB / 1.197 GB, free: 4.832 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.9505, allocations: 105.7 kB / 1.197 GB, free: 4.723 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.9507, allocations: 361.8 kB / 1.197 GB, free: 4.363 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008184/0.9515, allocations: 466.4 kB / 1.197 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.9526, allocations: 0.8288 MB / 1.198 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001887/0.9545, allocations: 1.265 MB / 1.199 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.9545, allocations: 4 kB / 1.199 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002488/0.957, allocations: 1.436 MB / 1.201 GB, free: 192 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002067/0.9572, allocations: 328.9 kB / 1.201 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.9573, allocations: 8 kB / 1.201 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.9573, allocations: 12 kB / 1.201 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.9584, allocations: 290.8 kB / 1.201 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-05/0.9585, allocations: 20.12 kB / 1.202 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.9602, allocations: 175.5 kB / 1.202 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.744e-05/0.9603, allocations: 48 kB / 1.202 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.316e-06/0.9603, allocations: 4 kB / 1.202 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002015/0.9623, allocations: 1.256 MB / 1.203 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.9624, allocations: 11.98 kB / 1.203 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.9624, allocations: 16.06 kB / 1.203 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.9634, allocations: 286.6 kB / 1.203 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.876e-05/0.9635, allocations: 23.7 kB / 1.203 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.9651, allocations: 160.6 kB / 1.203 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.639e-05/0.9652, allocations: 52 kB / 1.203 GB, free: 13.51 MB / 0.7448 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.0008477/0.966, allocations: 0.528 MB / 1.204 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002826/0.9663, allocations: 165.9 kB / 1.204 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/0.9685, allocations: 1.236 MB / 1.205 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.9685, allocations: 11.98 kB / 1.205 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.9685, allocations: 3.938 kB / 1.205 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001674/0.9702, allocations: 1.138 MB / 1.206 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004859/0.9751, allocations: 2.914 MB / 1.209 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.9751, allocations: 0 / 1.209 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/0.9764, allocations: 267.7 kB / 1.21 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.461e-05/0.9764, allocations: 16.16 kB / 1.21 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.331e-05/0.9765, allocations: 31.98 kB / 1.21 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.303e-06/0.9765, allocations: 4 kB / 1.21 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.9765, allocations: 4 kB / 1.21 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003024/0.9795, allocations: 1.918 MB / 1.212 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008816/0.9804, allocations: 347 kB / 1.212 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/0.9806, allocations: 35.92 kB / 1.212 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.9819, allocations: 154.7 kB / 1.212 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.9821, allocations: 72.89 kB / 1.212 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-05/0.9822, allocations: 39.98 kB / 1.212 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001087/0.9833, allocations: 0.8462 MB / 1.213 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9833, allocations: 0 / 1.213 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001993/0.9853, allocations: 0.7812 MB / 1.214 GB, free: 2.84 MB / 0.7448 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.0005697/0.9859, allocations: 289.7 kB / 1.214 GB, free: 2.57 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003162/0.989, allocations: 1.817 MB / 1.216 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.9891, allocations: 0 / 1.216 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009293/0.99, allocations: 0.5572 MB / 1.216 GB, free: 208 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005574/0.9956, allocations: 0.965 MB / 1.217 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007596/1.003, allocations: 4.502 MB / 1.222 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/1.005, allocations: 1.453 MB / 1.223 GB, free: 9.207 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007411/1.005, allocations: 139.4 kB / 1.223 GB, free: 9.07 MB / 0.7605 GB Notification: Performance of SimCode: time 1.472e-06/1.005, allocations: 4 kB / 1.223 GB, free: 9.066 MB / 0.7605 GB Notification: Performance of Templates: time 0.04103/1.046, allocations: 27.07 MB / 1.25 GB, free: 14.16 MB / 0.7917 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)