Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.619/1.619, allocations: 292.3 MB / 308.1 MB, free: 4.273 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.001698/0.001698, allocations: 197.3 kB / 376.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205 MB / 0.6354 GB, free: 9.758 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009406/0.0009406, allocations: 105 kB / 0.748 GB, free: 61.22 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 51.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2604, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7421/1.003, allocations: 312 MB / 1.287 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.02928/1.032, allocations: 18.5 MB / 1.305 GB, free: 7.445 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00513/1.037, allocations: 73.62 kB / 1.305 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.006674/1.044, allocations: 1.881 MB / 1.307 GB, free: 6.441 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.02025/1.064, allocations: 6.832 MB / 1.313 GB, free: 340 kB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01024/1.074, allocations: 2.96 MB / 1.316 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.01576/1.09, allocations: 13.12 MB / 1.329 GB, free: 232 kB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004611/1.095, allocations: 2.654 MB / 1.332 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007006/1.102, allocations: 2.903 MB / 1.335 GB, free: 10.6 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006912/1.109, allocations: 3.35 MB / 1.338 GB, free: 7.246 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0008088/1.11, allocations: 228 kB / 1.338 GB, free: 7.023 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01704/1.127, allocations: 8.139 MB / 1.346 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.002871/1.13, allocations: 1.515 MB / 1.348 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.005581/1.135, allocations: 2.115 MB / 1.35 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0195/1.155, allocations: 8.495 MB / 1.358 GB, free: 2.699 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.192e-05/1.155, allocations: 3.984 kB / 1.358 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.483e-06/1.155, allocations: 0 / 1.358 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002689/1.155, allocations: 0 / 1.358 GB, free: 2.695 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01706/1.172, allocations: 4.975 MB / 1.363 GB, free: 13.66 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/1.172, allocations: 12.03 kB / 1.363 GB, free: 13.64 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007483/1.18, allocations: 1.002 MB / 1.364 GB, free: 12.64 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006944/1.187, allocations: 2.157 MB / 1.366 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002622/1.187, allocations: 246.4 kB / 1.366 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001152/1.188, allocations: 327.9 kB / 1.366 GB, free: 9.863 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01017/1.198, allocations: 4.228 MB / 1.371 GB, free: 5.551 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.752e-05/1.198, allocations: 15.91 kB / 1.371 GB, free: 5.535 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005556/1.199, allocations: 136 kB / 1.371 GB, free: 5.402 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001924/1.199, allocations: 162.4 kB / 1.371 GB, free: 5.242 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009562/1.209, allocations: 4.776 MB / 1.376 GB, free: 468 kB / 0.9323 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.4622/1.671, allocations: 14.34 MB / 1.39 GB, free: 274.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00628/1.677, allocations: 4.567 MB / 1.394 GB, free: 273.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003471/1.681, allocations: 2.449 MB / 1.396 GB, free: 272.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001386/1.682, allocations: 1.609 MB / 1.398 GB, free: 270.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.48e-05/1.682, allocations: 83.86 kB / 1.398 GB, free: 270.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=392): time 5.27e-06/1.682, allocations: 0 / 1.398 GB, free: 270.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=392): time 0.008648/1.691, allocations: 5.529 MB / 1.403 GB, free: 268.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/1.691, allocations: 92.58 kB / 1.403 GB, free: 268.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/1.693, allocations: 1.663 MB / 1.405 GB, free: 267.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000201/1.693, allocations: 99.55 kB / 1.405 GB, free: 267.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005979/1.694, allocations: 1.122 MB / 1.406 GB, free: 267 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008598/1.695, allocations: 1.32 MB / 1.408 GB, free: 266 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007722/1.696, allocations: 0.5561 MB / 1.408 GB, free: 265.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 4.318e-05/1.696, allocations: 305.1 kB / 1.408 GB, free: 265.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002061/1.698, allocations: 1.563 MB / 1.41 GB, free: 264.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002272/1.7, allocations: 1.936 MB / 1.412 GB, free: 264 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004613/1.705, allocations: 3.77 MB / 1.416 GB, free: 262.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/1.705, allocations: 0.5625 kB / 1.416 GB, free: 262.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005741/1.71, allocations: 4.163 MB / 1.42 GB, free: 260.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/1.71, allocations: 9.781 kB / 1.42 GB, free: 260.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/1.71, allocations: 5.906 kB / 1.42 GB, free: 260.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-05/1.71, allocations: 17.88 kB / 1.42 GB, free: 260.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002704/1.713, allocations: 0.7002 MB / 1.42 GB, free: 260.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.169e-05/1.713, allocations: 19.75 kB / 1.42 GB, free: 260.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003031/1.716, allocations: 432.6 kB / 1.421 GB, free: 260.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002189/1.716, allocations: 116.1 kB / 1.421 GB, free: 260.5 MB / 0.9323 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.001332/1.718, allocations: 0.8055 MB / 1.422 GB, free: 260.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005237/1.718, allocations: 289 kB / 1.422 GB, free: 259.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006487/1.725, allocations: 4.416 MB / 1.426 GB, free: 258.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/1.725, allocations: 38 kB / 1.426 GB, free: 258.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/1.725, allocations: 0 / 1.426 GB, free: 258.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004695/1.73, allocations: 3.79 MB / 1.43 GB, free: 256.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0136/1.743, allocations: 8.611 MB / 1.438 GB, free: 253 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/1.743, allocations: 3.125 kB / 1.438 GB, free: 253 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003104/1.746, allocations: 0.7337 MB / 1.439 GB, free: 253 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.61e-05/1.746, allocations: 20.05 kB / 1.439 GB, free: 253 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002202/1.747, allocations: 88.62 kB / 1.439 GB, free: 252.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.801e-05/1.747, allocations: 16.47 kB / 1.439 GB, free: 252.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.747, allocations: 5.438 kB / 1.439 GB, free: 252.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2356/1.982, allocations: 59.32 MB / 1.497 GB, free: 233 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002912/1.985, allocations: 0.7955 MB / 1.498 GB, free: 232.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001219/1.986, allocations: 75.72 kB / 1.498 GB, free: 232.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003419/1.99, allocations: 266.2 kB / 1.498 GB, free: 232.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000831/1.991, allocations: 235.2 kB / 1.498 GB, free: 232.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004996/1.991, allocations: 117 kB / 1.499 GB, free: 232.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001807/1.993, allocations: 1.139 MB / 1.5 GB, free: 231.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.31e-07/1.993, allocations: 0 / 1.5 GB, free: 231.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0102/2.003, allocations: 2.018 MB / 1.502 GB, free: 231.6 MB / 0.9323 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.001945/2.005, allocations: 0.5099 MB / 1.502 GB, free: 231.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.008849/2.014, allocations: 3.93 MB / 1.506 GB, free: 227.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.415e-05/2.014, allocations: 4 kB / 1.506 GB, free: 227.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003809/2.018, allocations: 2.155 MB / 1.508 GB, free: 225.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008912/2.027, allocations: 1.531 MB / 1.51 GB, free: 224.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0151/2.042, allocations: 11.19 MB / 1.521 GB, free: 214.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002114/2.044, allocations: 2.31 MB / 1.523 GB, free: 212.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.006609/2.051, allocations: 1.417 MB / 1.524 GB, free: 211.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00228/2.053, allocations: 326.7 kB / 1.524 GB, free: 211.4 MB / 0.9323 GB Notification: Performance of SimCode: time 1.773e-06/2.053, allocations: 0 / 1.524 GB, free: 211.4 MB / 0.9323 GB Notification: Performance of Templates: time 0.1232/2.176, allocations: 86.31 MB / 1.609 GB, free: 127.7 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)