Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.341/1.341, allocations: 252 MB / 267.6 MB, free: 10.93 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.0009421/0.0009422, allocations: 176.7 kB / 327.3 MB, free: 2.207 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.479/1.479, allocations: 205.4 MB / 0.5783 GB, free: 20.17 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.0007632/0.0007631, allocations: 86.25 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002996, allocations: 12.41 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1611, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6228/0.7839, allocations: 270 MB / 1.165 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02131/0.8053, allocations: 15.94 MB / 1.18 GB, free: 11 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003459/0.8088, allocations: 60.31 kB / 1.18 GB, free: 11 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004003/0.8128, allocations: 1.24 MB / 1.181 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01396/0.8268, allocations: 4.668 MB / 1.186 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.007076/0.8339, allocations: 2.11 MB / 1.188 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0109/0.8448, allocations: 9.575 MB / 1.197 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003795/0.8486, allocations: 1.967 MB / 1.199 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005372/0.854, allocations: 2.468 MB / 1.202 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005026/0.859, allocations: 2.654 MB / 1.204 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0009647/0.86, allocations: 163.9 kB / 1.204 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009771/0.8698, allocations: 3.051 MB / 1.207 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.00226/0.8721, allocations: 1.184 MB / 1.209 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001992/0.8741, allocations: 0.6798 MB / 1.209 GB, free: 6.711 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.007798/0.882, allocations: 4.598 MB / 1.214 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.882, allocations: 0 / 1.214 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.924e-06/0.882, allocations: 3.938 kB / 1.214 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001668/0.8822, allocations: 4 kB / 1.214 GB, free: 2.098 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 677 * Number of variables: 677 Notification: Performance of Generate backend data structure: time 0.01011/0.8923, allocations: 3.605 MB / 1.217 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.8923, allocations: 16.03 kB / 1.217 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006217/0.8986, allocations: 0.9171 MB / 1.218 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004155/0.9027, allocations: 1.773 MB / 1.22 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001915/0.903, allocations: 193.2 kB / 1.22 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007324/0.9037, allocations: 271.9 kB / 1.22 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006849/0.9106, allocations: 3.345 MB / 1.224 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.519e-05/0.9107, allocations: 7.906 kB / 1.224 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003355/0.911, allocations: 111.9 kB / 1.224 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001509/0.9112, allocations: 141.1 kB / 1.224 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006411/0.9176, allocations: 3.486 MB / 1.227 GB, free: 4 MB / 0.7448 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.01755/0.9352, allocations: 12.13 MB / 1.239 GB, free: 6.969 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005005/0.9402, allocations: 3.47 MB / 1.242 GB, free: 3.414 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002911/0.9432, allocations: 1.799 MB / 1.244 GB, free: 1.602 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001552/0.9447, allocations: 1.505 MB / 1.246 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.711e-05/0.9448, allocations: 68.75 kB / 1.246 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=278): time 5.19e-06/0.9448, allocations: 0 / 1.246 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=278): time 0.006978/0.9518, allocations: 3.838 MB / 1.249 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.9519, allocations: 77.7 kB / 1.25 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/0.9541, allocations: 1.387 MB / 1.251 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002657/0.9544, allocations: 77.7 kB / 1.251 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007183/0.9551, allocations: 0.9803 MB / 1.252 GB, free: 9.258 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000896/0.956, allocations: 0.9393 MB / 1.253 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.9562, allocations: 48 kB / 1.253 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.9564, allocations: 402.9 kB / 1.253 GB, free: 7.859 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/0.9583, allocations: 1.075 MB / 1.254 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002052/0.9604, allocations: 1.364 MB / 1.256 GB, free: 5.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002135/0.9625, allocations: 1.27 MB / 1.257 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.198e-06/0.9625, allocations: 4 kB / 1.257 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005019/0.9675, allocations: 2.935 MB / 1.26 GB, free: 1.066 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.9676, allocations: 8 kB / 1.26 GB, free: 1.059 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.9676, allocations: 4 kB / 1.26 GB, free: 1.055 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.107e-05/0.9676, allocations: 12 kB / 1.26 GB, free: 1.043 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002196/0.9699, allocations: 0.511 MB / 1.26 GB, free: 0.5312 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.218e-05/0.9699, allocations: 19.95 kB / 1.26 GB, free: 0.5117 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002685/0.9726, allocations: 344.8 kB / 1.261 GB, free: 180 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001867/0.9728, allocations: 83.98 kB / 1.261 GB, free: 96 kB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 311 * 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.001321/0.9741, allocations: 0.6496 MB / 1.261 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00063/0.9748, allocations: 229.3 kB / 1.262 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005204/0.98, allocations: 3.081 MB / 1.265 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.387e-05/0.98, allocations: 31.98 kB / 1.265 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.98, allocations: 3.938 kB / 1.265 GB, free: 12.03 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003931/0.984, allocations: 2.618 MB / 1.267 GB, free: 9.344 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/0.9949, allocations: 6.187 MB / 1.273 GB, free: 3.055 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.995, allocations: 0 / 1.273 GB, free: 3.055 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002622/0.9976, allocations: 0.554 MB / 1.274 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.222e-05/0.9977, allocations: 12 kB / 1.274 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001897/0.9979, allocations: 55.98 kB / 1.274 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.375e-05/0.9979, allocations: 8 kB / 1.274 GB, free: 2.426 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.9979, allocations: 0 / 1.274 GB, free: 2.426 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007279/1.005, allocations: 4.76 MB / 1.278 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/1.007, allocations: 0.6304 MB / 1.279 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004619/1.007, allocations: 48 kB / 1.279 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002523/1.01, allocations: 238.3 kB / 1.279 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003005/1.01, allocations: 165.9 kB / 1.28 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002021/1.01, allocations: 87.97 kB / 1.28 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001506/1.012, allocations: 0.9344 MB / 1.281 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.7e-07/1.012, allocations: 7.875 kB / 1.281 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002482/1.014, allocations: 0.9978 MB / 1.282 GB, free: 10.46 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.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 (278): * Single equations (assignments): 278 * 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.0006962/1.015, allocations: 381.9 kB / 1.282 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.004427/1.019, allocations: 2.732 MB / 1.285 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.019, allocations: 4.312 kB / 1.285 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002177/1.022, allocations: 1.496 MB / 1.286 GB, free: 5.824 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006474/1.028, allocations: 1.293 MB / 1.287 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/1.039, allocations: 7.464 MB / 1.295 GB, free: 13.02 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001819/1.041, allocations: 1.903 MB / 1.296 GB, free: 11.08 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/1.042, allocations: 231.4 kB / 1.297 GB, free: 10.85 MB / 0.823 GB Notification: Performance of SimCode: time 1.122e-06/1.043, allocations: 0 / 1.297 GB, free: 10.85 MB / 0.823 GB Notification: Performance of Templates: time 0.0611/1.104, allocations: 42.85 MB / 1.338 GB, free: 172 kB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)