Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0009421/0.0009423, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 184.2 kB / 16.92 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.011/1.011, allocations: 143.2 MB / 435.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003637, allocations: 12 kB / 0.517 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1822, allocations: 83.41 MB / 0.5985 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.069/1.251, allocations: 308 MB / 0.8992 GB, free: 1.812 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0274/1.278, allocations: 18.53 MB / 0.9173 GB, free: 1.527 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005478/1.284, allocations: 71.06 kB / 0.9174 GB, free: 1.527 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.007366/1.291, allocations: 1.884 MB / 0.9192 GB, free: 1.473 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02281/1.314, allocations: 6.894 MB / 0.926 GB, free: 1.113 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0106/1.325, allocations: 2.941 MB / 0.9288 GB, free: 1.012 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01983/1.345, allocations: 13.13 MB / 0.9417 GB, free: 0.9844 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005663/1.35, allocations: 2.575 MB / 0.9442 GB, free: 16.16 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008759/1.359, allocations: 2.81 MB / 0.9469 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009407/1.369, allocations: 3.266 MB / 0.9501 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001171/1.37, allocations: 197.5 kB / 0.9503 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02074/1.391, allocations: 8.102 MB / 0.9582 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003774/1.394, allocations: 1.472 MB / 0.9597 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.008755/1.403, allocations: 2.079 MB / 0.9617 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01558/1.419, allocations: 6.17 MB / 0.9677 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/1.419, allocations: 0 / 0.9677 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.946e-06/1.419, allocations: 0 / 0.9677 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002856/1.419, allocations: 3.312 kB / 0.9677 GB, free: 9.781 MB / 0.6856 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.01502/1.434, allocations: 4.325 MB / 0.9719 GB, free: 7.262 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/1.434, allocations: 9.969 kB / 0.9719 GB, free: 7.262 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007793/1.442, allocations: 1.016 MB / 0.9729 GB, free: 6.848 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00575/1.448, allocations: 2.171 MB / 0.9751 GB, free: 5.625 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003007/1.448, allocations: 246.2 kB / 0.9753 GB, free: 5.488 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00121/1.449, allocations: 325.4 kB / 0.9756 GB, free: 5.277 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009501/1.459, allocations: 4.234 MB / 0.9797 GB, free: 2.293 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.619e-05/1.459, allocations: 11.89 kB / 0.9798 GB, free: 2.281 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003586/1.459, allocations: 135.7 kB / 0.9799 GB, free: 2.254 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001933/1.46, allocations: 174.3 kB / 0.98 GB, free: 2.098 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008352/1.468, allocations: 4.78 MB / 0.9847 GB, free: 14.72 MB / 0.7012 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.02169/1.49, allocations: 14.42 MB / 0.9988 GB, free: 304 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006165/1.496, allocations: 4.564 MB / 1.003 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003576/1.5, allocations: 2.444 MB / 1.006 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001637/1.501, allocations: 1.614 MB / 1.007 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.291e-05/1.501, allocations: 83.88 kB / 1.007 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=392): time 5.079e-06/1.501, allocations: 0 / 1.007 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=392): time 0.009352/1.511, allocations: 5.531 MB / 1.013 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/1.511, allocations: 97.11 kB / 1.013 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002526/1.513, allocations: 1.678 MB / 1.014 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003251/1.514, allocations: 93.7 kB / 1.015 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008001/1.514, allocations: 1.143 MB / 1.016 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001168/1.516, allocations: 1.318 MB / 1.017 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003665/1.516, allocations: 276.8 kB / 1.017 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.304e-05/1.516, allocations: 301.1 kB / 1.017 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002474/1.519, allocations: 1.564 MB / 1.019 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002686/1.521, allocations: 1.916 MB / 1.021 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005497/1.527, allocations: 3.766 MB / 1.025 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/1.527, allocations: 4 kB / 1.025 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007558/1.534, allocations: 4.175 MB / 1.029 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.239e-05/1.534, allocations: 8 kB / 1.029 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/1.535, allocations: 4 kB / 1.029 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.745e-05/1.535, allocations: 20 kB / 1.029 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003043/1.538, allocations: 0.7023 MB / 1.029 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.434e-05/1.538, allocations: 23.62 kB / 1.029 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003945/1.542, allocations: 472.9 kB / 1.03 GB, free: 64 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003169/1.542, allocations: 116 kB / 1.03 GB, free: 15.95 MB / 0.7481 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.001955/1.544, allocations: 0.797 MB / 1.031 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008623/1.545, allocations: 288.5 kB / 1.031 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007883/1.553, allocations: 4.439 MB / 1.035 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.016e-05/1.553, allocations: 46.84 kB / 1.035 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/1.553, allocations: 0 / 1.035 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006183/1.559, allocations: 3.791 MB / 1.039 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01895/1.578, allocations: 8.647 MB / 1.048 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/1.578, allocations: 4 kB / 1.048 GB, free: 13.83 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003456/1.582, allocations: 0.7218 MB / 1.048 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.842e-05/1.582, allocations: 23.94 kB / 1.048 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003574/1.582, allocations: 83.98 kB / 1.048 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.742e-05/1.582, allocations: 19.98 kB / 1.048 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.582, allocations: 6.719 kB / 1.048 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/1.594, allocations: 6.561 MB / 1.055 GB, free: 6.363 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002461/1.596, allocations: 0.8011 MB / 1.056 GB, free: 5.539 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008823/1.597, allocations: 75.98 kB / 1.056 GB, free: 5.465 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003438/1.601, allocations: 266 kB / 1.056 GB, free: 5.211 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000535/1.601, allocations: 241.1 kB / 1.056 GB, free: 4.977 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002984/1.601, allocations: 116 kB / 1.056 GB, free: 4.863 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002474/1.604, allocations: 1.149 MB / 1.057 GB, free: 3.691 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.11e-07/1.604, allocations: 0 / 1.057 GB, free: 3.691 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004023/1.608, allocations: 1.232 MB / 1.059 GB, free: 2.457 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,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.001238/1.609, allocations: 485 kB / 1.059 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.007087/1.616, allocations: 3.924 MB / 1.063 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/1.616, allocations: 8 kB / 1.063 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003456/1.62, allocations: 2.148 MB / 1.065 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009427/1.629, allocations: 1.539 MB / 1.066 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01644/1.646, allocations: 9.659 MB / 1.076 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002683/1.648, allocations: 2.205 MB / 1.078 GB, free: 14.61 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002108/1.651, allocations: 307.4 kB / 1.078 GB, free: 14.31 MB / 0.795 GB Notification: Performance of SimCode: time 1.132e-06/1.651, allocations: 0 / 1.078 GB, free: 14.31 MB / 0.795 GB Notification: Performance of Templates: time 0.09234/1.743, allocations: 54.16 MB / 1.131 GB, free: 8.441 MB / 0.8419 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)