Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.0008441/0.0008441, allocations: 83.86 kB / 16.01 MB, free: 92 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.00209/0.00209, allocations: 190.6 kB / 16.92 MB, free: 6.676 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.448/1.448, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6843/0.6843, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000298/0.0002981, allocations: 8 kB / 495.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1548, allocations: 77.53 MB / 0.5599 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.118/1.273, allocations: 307.7 MB / 0.8604 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02832/1.302, allocations: 18.5 MB / 0.8784 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005111/1.307, allocations: 70.38 kB / 0.8785 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.006589/1.313, allocations: 1.881 MB / 0.8803 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02291/1.336, allocations: 6.901 MB / 0.8871 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01212/1.348, allocations: 2.934 MB / 0.89 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01729/1.366, allocations: 13.12 MB / 0.9028 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00584/1.372, allocations: 2.58 MB / 0.9053 GB, free: 16.63 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008772/1.38, allocations: 2.811 MB / 0.908 GB, free: 16.45 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008405/1.389, allocations: 3.267 MB / 0.9112 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001567/1.39, allocations: 199.2 kB / 0.9114 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02241/1.413, allocations: 8.1 MB / 0.9193 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003858/1.417, allocations: 1.474 MB / 0.9208 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.007669/1.425, allocations: 2.073 MB / 0.9228 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02284/1.447, allocations: 8.386 MB / 0.931 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.447, allocations: 4 kB / 0.931 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.158e-06/1.447, allocations: 3.375 kB / 0.931 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003384/1.448, allocations: 0 / 0.931 GB, free: 9.82 MB / 0.6544 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.01541/1.463, allocations: 4.309 MB / 0.9352 GB, free: 7.309 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/1.463, allocations: 16.06 kB / 0.9352 GB, free: 7.305 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007964/1.471, allocations: 1.016 MB / 0.9362 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006525/1.478, allocations: 2.158 MB / 0.9383 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003517/1.478, allocations: 251.5 kB / 0.9385 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001478/1.48, allocations: 325.5 kB / 0.9389 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01267/1.492, allocations: 4.238 MB / 0.943 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000218/1.493, allocations: 6.5 kB / 0.943 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00111/1.494, allocations: 130.2 kB / 0.9431 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002573/1.494, allocations: 172.4 kB / 0.9433 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01186/1.506, allocations: 4.787 MB / 0.948 GB, free: 15.51 MB / 0.67 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.03002/1.536, allocations: 14.4 MB / 0.962 GB, free: 1.137 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008253/1.544, allocations: 4.558 MB / 0.9665 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004897/1.549, allocations: 2.444 MB / 0.9689 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001984/1.551, allocations: 1.616 MB / 0.9704 GB, free: 8.254 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.669e-05/1.551, allocations: 81.58 kB / 0.9705 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=392): time 6.582e-06/1.551, allocations: 0 / 0.9705 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of matching and sorting (n=392): time 0.01334/1.565, allocations: 5.542 MB / 0.9759 GB, free: 2.602 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/1.565, allocations: 90.48 kB / 0.976 GB, free: 2.5 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003447/1.568, allocations: 1.682 MB / 0.9777 GB, free: 0.7773 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0007147/1.569, allocations: 97.64 kB / 0.9778 GB, free: 0.6758 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/1.57, allocations: 1.134 MB / 0.9789 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001872/1.572, allocations: 1.323 MB / 0.9802 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008408/1.573, allocations: 272.8 kB / 0.9804 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.573, allocations: 301.1 kB / 0.9807 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003257/1.576, allocations: 1.568 MB / 0.9822 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003566/1.58, allocations: 1.915 MB / 0.9841 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007064/1.587, allocations: 3.766 MB / 0.9878 GB, free: 6.262 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.029e-05/1.587, allocations: 0 / 0.9878 GB, free: 6.262 MB / 0.7012 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009855/1.597, allocations: 4.183 MB / 0.9919 GB, free: 2.082 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/1.597, allocations: 8 kB / 0.9919 GB, free: 2.074 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/1.597, allocations: 4 kB / 0.9919 GB, free: 2.07 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.933e-05/1.597, allocations: 20 kB / 0.9919 GB, free: 2.051 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003503/1.601, allocations: 0.6907 MB / 0.9926 GB, free: 1.402 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.684e-05/1.601, allocations: 26.95 kB / 0.9926 GB, free: 1.379 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005169/1.606, allocations: 480.8 kB / 0.9931 GB, free: 0.9062 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007277/1.607, allocations: 116 kB / 0.9932 GB, free: 0.793 MB / 0.7012 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.002834/1.609, allocations: 0.8 MB / 0.9939 GB, free: 24 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001869/1.611, allocations: 292.6 kB / 0.9942 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/1.622, allocations: 4.435 MB / 0.9986 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.864e-05/1.622, allocations: 36 kB / 0.9986 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.037e-05/1.622, allocations: 0 / 0.9986 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006829/1.629, allocations: 3.792 MB / 1.002 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0208/1.65, allocations: 8.639 MB / 1.011 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.317e-05/1.65, allocations: 7.984 kB / 1.011 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003861/1.654, allocations: 0.7119 MB / 1.011 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.519e-05/1.654, allocations: 23.94 kB / 1.011 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006784/1.654, allocations: 87.97 kB / 1.012 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.214e-05/1.654, allocations: 14.06 kB / 1.012 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.654, allocations: 4 kB / 1.012 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01339/1.668, allocations: 6.566 MB / 1.018 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003828/1.672, allocations: 0.801 MB / 1.019 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001362/1.673, allocations: 68 kB / 1.019 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004283/1.677, allocations: 270.2 kB / 1.019 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007877/1.678, allocations: 236.8 kB / 1.019 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000479/1.679, allocations: 116 kB / 1.019 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002794/1.682, allocations: 1.153 MB / 1.021 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.31e-07/1.682, allocations: 0 / 1.021 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005814/1.687, allocations: 1.24 MB / 1.022 GB, free: 3.312 MB / 0.7325 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.002062/1.69, allocations: 486.1 kB / 1.022 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.008892/1.698, allocations: 3.923 MB / 1.026 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/1.699, allocations: 4 kB / 1.026 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004484/1.703, allocations: 2.152 MB / 1.028 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01197/1.715, allocations: 1.526 MB / 1.03 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0195/1.735, allocations: 9.486 MB / 1.039 GB, free: 1.906 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00338/1.738, allocations: 2.209 MB / 1.041 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.006417/1.744, allocations: 1.2 MB / 1.042 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001932/1.746, allocations: 267.4 kB / 1.042 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of SimCode: time 1.012e-06/1.746, allocations: 0 / 1.042 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of Templates: time 0.1068/1.853, allocations: 58.7 MB / 1.1 GB, free: 4.277 MB / 0.8106 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)