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.006896/0.006896, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.00113/0.00113, allocations: 201.5 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.147/2.147, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.638/1.638, allocations: 251.7 MB / 0.5094 GB, free: 3.039 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.001621/0.001621, allocations: 66.09 kB / 0.7258 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3402, allocations: 104.7 MB / 0.828 GB, free: 220 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.188/1.529, allocations: 314.6 MB / 1.135 GB, free: 1.723 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03252/1.561, allocations: 18.43 MB / 1.153 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004945/1.566, allocations: 83.56 kB / 1.153 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.006533/1.573, allocations: 2.16 MB / 1.155 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.02013/1.593, allocations: 7.271 MB / 1.163 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.009714/1.603, allocations: 3.356 MB / 1.166 GB, free: 2.34 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01464/1.617, allocations: 9.324 MB / 1.175 GB, free: 8.992 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005424/1.623, allocations: 3.169 MB / 1.178 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00721/1.63, allocations: 3.391 MB / 1.181 GB, free: 2.371 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006186/1.636, allocations: 3.265 MB / 1.185 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001004/1.637, allocations: 412 kB / 1.185 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01416/1.651, allocations: 7.007 MB / 1.192 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.002512/1.654, allocations: 1.714 MB / 1.193 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.004393/1.658, allocations: 2.338 MB / 1.196 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01865/1.677, allocations: 8.289 MB / 1.204 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/1.677, allocations: 8 kB / 1.204 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.904e-06/1.677, allocations: 0 / 1.204 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001686/1.677, allocations: 0 / 1.204 GB, free: 11.3 MB / 0.9512 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.01712/1.694, allocations: 5.028 MB / 1.209 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.227e-05/1.694, allocations: 12.03 kB / 1.209 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006953/1.701, allocations: 1.01 MB / 1.21 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004726/1.706, allocations: 2.236 MB / 1.212 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/1.706, allocations: 254.5 kB / 1.212 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005604/1.707, allocations: 331.9 kB / 1.212 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007068/1.714, allocations: 4.26 MB / 1.217 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.011e-05/1.714, allocations: 7.938 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003517/1.714, allocations: 136 kB / 1.217 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00016/1.715, allocations: 166.5 kB / 1.217 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007533/1.722, allocations: 4.795 MB / 1.222 GB, free: 8.863 MB / 0.9669 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.02214/1.744, allocations: 14.48 MB / 1.236 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006099/1.75, allocations: 4.552 MB / 1.24 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003689/1.754, allocations: 2.444 MB / 1.243 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001704/1.756, allocations: 1.612 MB / 1.244 GB, free: 472 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.098e-05/1.756, allocations: 77.64 kB / 1.244 GB, free: 384 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=392): time 5.541e-06/1.756, allocations: 0 / 1.244 GB, free: 384 kB / 0.9825 GB Notification: Performance of matching and sorting (n=392): time 0.009191/1.765, allocations: 5.512 MB / 1.25 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/1.765, allocations: 98.42 kB / 1.25 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/1.768, allocations: 1.688 MB / 1.251 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003026/1.768, allocations: 97.7 kB / 1.251 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007861/1.769, allocations: 1.128 MB / 1.253 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001272/1.77, allocations: 1.328 MB / 1.254 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008495/1.771, allocations: 0.5546 MB / 1.254 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.989e-05/1.771, allocations: 305.1 kB / 1.255 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002601/1.774, allocations: 1.553 MB / 1.256 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002953/1.777, allocations: 1.935 MB / 1.258 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005544/1.782, allocations: 3.746 MB / 1.262 GB, free: 14.14 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/1.782, allocations: 0 / 1.262 GB, free: 14.14 MB / 1.014 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006842/1.789, allocations: 4.15 MB / 1.266 GB, free: 9.969 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/1.789, allocations: 8.656 kB / 1.266 GB, free: 9.961 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/1.789, allocations: 4 kB / 1.266 GB, free: 9.957 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.584e-05/1.789, allocations: 24 kB / 1.266 GB, free: 9.934 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003006/1.792, allocations: 0.6943 MB / 1.267 GB, free: 9.238 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.758e-05/1.792, allocations: 27.88 kB / 1.267 GB, free: 9.211 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002858/1.795, allocations: 263.6 kB / 1.267 GB, free: 8.953 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002817/1.795, allocations: 112 kB / 1.267 GB, free: 8.844 MB / 1.014 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.002182/1.798, allocations: 0.8171 MB / 1.268 GB, free: 8.016 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/1.799, allocations: 292.5 kB / 1.268 GB, free: 7.727 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009584/1.809, allocations: 4.399 MB / 1.272 GB, free: 3.293 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.263e-05/1.809, allocations: 36 kB / 1.272 GB, free: 3.258 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/1.809, allocations: 3.938 kB / 1.272 GB, free: 3.254 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005838/1.815, allocations: 3.78 MB / 1.276 GB, free: 15.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/1.83, allocations: 8.617 MB / 1.284 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/1.83, allocations: 320 / 1.284 GB, free: 6.625 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003511/1.833, allocations: 0.7373 MB / 1.285 GB, free: 5.883 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-05/1.834, allocations: 12 kB / 1.285 GB, free: 5.871 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000296/1.834, allocations: 87.97 kB / 1.285 GB, free: 5.785 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.995e-05/1.834, allocations: 16 kB / 1.285 GB, free: 5.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.834, allocations: 11.94 kB / 1.285 GB, free: 5.758 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/1.844, allocations: 6.794 MB / 1.292 GB, free: 14.87 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002599/1.847, allocations: 0.8089 MB / 1.293 GB, free: 14.04 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000613/1.848, allocations: 71.94 kB / 1.293 GB, free: 13.96 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002354/1.85, allocations: 97.02 kB / 1.293 GB, free: 13.88 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004814/1.85, allocations: 242.6 kB / 1.293 GB, free: 13.64 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002321/1.851, allocations: 116 kB / 1.293 GB, free: 13.52 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001779/1.852, allocations: 1.161 MB / 1.294 GB, free: 12.34 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.21e-07/1.852, allocations: 0 / 1.294 GB, free: 12.34 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00357/1.856, allocations: 1.24 MB / 1.296 GB, free: 11.1 MB / 1.045 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.001058/1.857, allocations: 479.7 kB / 1.296 GB, free: 10.63 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.006479/1.864, allocations: 3.932 MB / 1.3 GB, free: 6.688 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/1.864, allocations: 4 kB / 1.3 GB, free: 6.684 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.003396/1.867, allocations: 2.15 MB / 1.302 GB, free: 4.535 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008138/1.875, allocations: 1.599 MB / 1.304 GB, free: 2.965 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4674/2.343, allocations: 7.662 MB / 1.311 GB, free: 392.8 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003329/2.346, allocations: 2.216 MB / 1.313 GB, free: 392 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.005762/2.352, allocations: 1.199 MB / 1.314 GB, free: 392 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00188/2.354, allocations: 270.4 kB / 1.315 GB, free: 392 MB / 1.045 GB Notification: Performance of SimCode: time 2.835e-06/2.354, allocations: 0.7188 kB / 1.315 GB, free: 392 MB / 1.045 GB Notification: Performance of Templates: time 0.1074/2.461, allocations: 63.48 MB / 1.377 GB, free: 358.3 MB / 1.045 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)