Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.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.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008138/0.008137, allocations: 98.52 kB / 15.73 MB, free: 5.602 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.001601/0.0016, allocations: 197 kB / 16.68 MB, free: 5.523 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.413/1.413, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.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.425/1.425, allocations: 251.7 MB / 0.5094 GB, free: 404 kB / 430.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.002066/0.002066, allocations: 71.91 kB / 0.7258 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6963/0.6984, allocations: 104.7 MB / 0.828 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.9461/1.645, allocations: 314.6 MB / 1.135 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02443/1.669, allocations: 18.44 MB / 1.153 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004715/1.674, allocations: 79.59 kB / 1.153 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.005618/1.679, allocations: 2.16 MB / 1.155 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01894/1.698, allocations: 7.271 MB / 1.163 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.009865/1.708, allocations: 3.366 MB / 1.166 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01259/1.721, allocations: 9.315 MB / 1.175 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005637/1.727, allocations: 3.164 MB / 1.178 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009519/1.736, allocations: 3.398 MB / 1.181 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007593/1.744, allocations: 3.258 MB / 1.185 GB, free: 16.74 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001732/1.746, allocations: 415.8 kB / 1.185 GB, free: 16.73 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01531/1.761, allocations: 7.004 MB / 1.192 GB, free: 16.67 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.00297/1.764, allocations: 1.718 MB / 1.193 GB, free: 16.5 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.005188/1.769, allocations: 2.339 MB / 1.196 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0173/1.786, allocations: 8.323 MB / 1.204 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.787, allocations: 0 / 1.204 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.094e-06/1.787, allocations: 0 / 1.204 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001898/1.787, allocations: 0 / 1.204 GB, free: 14.09 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.01573/1.802, allocations: 5.156 MB / 1.209 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/1.803, allocations: 14.31 kB / 1.209 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007355/1.81, allocations: 1.034 MB / 1.21 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006441/1.816, allocations: 2.253 MB / 1.212 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001627/1.817, allocations: 249.3 kB / 1.212 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005518/1.817, allocations: 329.3 kB / 1.213 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008259/1.825, allocations: 4.272 MB / 1.217 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-05/1.825, allocations: 7.984 kB / 1.217 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003661/1.826, allocations: 132.2 kB / 1.217 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001896/1.826, allocations: 177.7 kB / 1.217 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008627/1.835, allocations: 4.785 MB / 1.222 GB, free: 2.688 MB / 0.9044 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.0247/1.859, allocations: 14.5 MB / 1.236 GB, free: 3.527 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007411/1.867, allocations: 4.555 MB / 1.24 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004552/1.871, allocations: 2.45 MB / 1.243 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001998/1.874, allocations: 1.61 MB / 1.244 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.498e-05/1.874, allocations: 73.64 kB / 1.244 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=392): time 5.56e-06/1.874, allocations: 0 / 1.244 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of matching and sorting (n=392): time 0.01317/1.887, allocations: 5.536 MB / 1.25 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.791e-05/1.887, allocations: 94.48 kB / 1.25 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003582/1.891, allocations: 1.688 MB / 1.252 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0006381/1.891, allocations: 101.6 kB / 1.252 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001025/1.892, allocations: 1.152 MB / 1.253 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.001887/1.894, allocations: 1.384 MB / 1.254 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001849/1.896, allocations: 0.5625 MB / 1.255 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001085/1.896, allocations: 301.1 kB / 1.255 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003117/1.899, allocations: 1.56 MB / 1.257 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003473/1.903, allocations: 1.927 MB / 1.258 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006666/1.909, allocations: 3.751 MB / 1.262 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.69e-05/1.909, allocations: 4 kB / 1.262 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00884/1.918, allocations: 4.164 MB / 1.266 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/1.918, allocations: 11.94 kB / 1.266 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/1.918, allocations: 4 kB / 1.266 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.98e-05/1.918, allocations: 20 kB / 1.266 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003256/1.922, allocations: 0.6942 MB / 1.267 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.372e-05/1.922, allocations: 24.06 kB / 1.267 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003271/1.925, allocations: 270.1 kB / 1.267 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004619/1.926, allocations: 119.9 kB / 1.267 GB, free: 3.031 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (430): * Single equations (assignments): 430 * 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.002082/1.928, allocations: 0.8096 MB / 1.268 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/1.929, allocations: 306.1 kB / 1.268 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00874/1.938, allocations: 4.413 MB / 1.273 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.301e-05/1.938, allocations: 36 kB / 1.273 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/1.938, allocations: 0 / 1.273 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006211/1.944, allocations: 3.77 MB / 1.276 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01697/1.961, allocations: 8.622 MB / 1.285 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/1.961, allocations: 4 kB / 1.285 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003436/1.964, allocations: 0.7314 MB / 1.286 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.924e-05/1.964, allocations: 16 kB / 1.286 GB, free: 264 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003598/1.965, allocations: 87.97 kB / 1.286 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.029e-05/1.965, allocations: 27 kB / 1.286 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.965, allocations: 0 / 1.286 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01118/1.976, allocations: 6.819 MB / 1.292 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00239/1.979, allocations: 0.8185 MB / 1.293 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009079/1.979, allocations: 68 kB / 1.293 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002732/1.982, allocations: 106.4 kB / 1.293 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005861/1.983, allocations: 233.8 kB / 1.293 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003917/1.983, allocations: 112 kB / 1.294 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00228/1.986, allocations: 1.165 MB / 1.295 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/1.986, allocations: 0 / 1.295 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003749/1.989, allocations: 1.248 MB / 1.296 GB, free: 5.461 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.U,volBotEas.dynBal.m,volBotEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.U,volBotWes.dynBal.m,volBotWes.dynBal.mXi[1],oriEasTop.mExc,volTopEas.dynBal.U,volTopEas.dynBal.m,volTopEas.dynBal.mXi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,volTopWes.dynBal.mXi[1],dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.001236/1.991, allocations: 470.2 kB / 1.296 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00723/1.998, allocations: 3.938 MB / 1.3 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/1.998, allocations: 4 kB / 1.3 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003687/2.002, allocations: 2.148 MB / 1.302 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009082/2.011, allocations: 1.603 MB / 1.304 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/2.025, allocations: 7.767 MB / 1.312 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002715/2.028, allocations: 2.217 MB / 1.314 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005178/2.033, allocations: 1.2 MB / 1.315 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001606/2.035, allocations: 267.4 kB / 1.315 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of SimCode: time 9.22e-07/2.035, allocations: 8 kB / 1.315 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of Templates: time 0.1052/2.14, allocations: 63.47 MB / 1.377 GB, free: 3.438 MB / 1.061 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)