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.001164/0.001164, allocations: 102.3 kB / 15.98 MB, free: 6.297 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.001181/0.001181, allocations: 192.5 kB / 16.91 MB, free: 6.148 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.328/1.328, allocations: 222.9 MB / 240.6 MB, free: 13.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7622/0.7622, allocations: 122.9 MB / 413.6 MB, free: 48 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 67.89 kB / 0.4906 GB, free: 7.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3555, allocations: 77.91 MB / 0.5667 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6386/0.9941, allocations: 310.5 MB / 0.8699 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02841/1.023, allocations: 18.39 MB / 0.8879 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004423/1.027, allocations: 79.97 kB / 0.888 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.006083/1.033, allocations: 1.923 MB / 0.8899 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0204/1.054, allocations: 6.889 MB / 0.8966 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.009468/1.063, allocations: 2.967 MB / 0.8995 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01312/1.076, allocations: 9.1 MB / 0.9084 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006239/1.083, allocations: 3.047 MB / 0.9113 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008718/1.091, allocations: 3.352 MB / 0.9146 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008229/1.1, allocations: 3.442 MB / 0.918 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002022/1.102, allocations: 400 kB / 0.9184 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01872/1.12, allocations: 7.301 MB / 0.9255 GB, free: 7.621 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003578/1.124, allocations: 1.691 MB / 0.9271 GB, free: 5.926 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.005455/1.129, allocations: 2.307 MB / 0.9294 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01814/1.148, allocations: 8.628 MB / 0.9378 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.148, allocations: 0 / 0.9378 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.744e-06/1.148, allocations: 0 / 0.9378 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002256/1.148, allocations: 0 / 0.9378 GB, free: 10.96 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.016/1.164, allocations: 4.994 MB / 0.9427 GB, free: 5.895 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/1.164, allocations: 8.625 kB / 0.9427 GB, free: 5.887 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007644/1.172, allocations: 1.01 MB / 0.9437 GB, free: 4.871 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005292/1.177, allocations: 2.166 MB / 0.9458 GB, free: 2.652 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003006/1.177, allocations: 246.4 kB / 0.946 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001326/1.179, allocations: 331.9 kB / 0.9464 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/1.189, allocations: 4.239 MB / 0.9505 GB, free: 13.76 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001328/1.19, allocations: 4 kB / 0.9505 GB, free: 13.76 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007343/1.19, allocations: 132 kB / 0.9506 GB, free: 13.63 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002163/1.191, allocations: 174.3 kB / 0.9508 GB, free: 13.46 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01009/1.201, allocations: 4.783 MB / 0.9555 GB, free: 8.664 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.02338/1.224, allocations: 14.36 MB / 0.9695 GB, free: 9.328 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007605/1.232, allocations: 4.569 MB / 0.9739 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004285/1.236, allocations: 2.444 MB / 0.9763 GB, free: 2.305 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001846/1.238, allocations: 1.608 MB / 0.9779 GB, free: 372 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/1.238, allocations: 85.58 kB / 0.978 GB, free: 276 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=392): time 7.684e-06/1.238, allocations: 0 / 0.978 GB, free: 276 kB / 0.6856 GB Notification: Performance of matching and sorting (n=392): time 0.01136/1.249, allocations: 5.527 MB / 0.9834 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.714e-05/1.25, allocations: 94.48 kB / 0.9835 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003386/1.253, allocations: 1.682 MB / 0.9851 GB, free: 8.887 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0004939/1.254, allocations: 97.7 kB / 0.9852 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009174/1.254, allocations: 1.132 MB / 0.9863 GB, free: 7.641 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001401/1.256, allocations: 1.32 MB / 0.9876 GB, free: 6.305 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/1.257, allocations: 0.5507 MB / 0.9881 GB, free: 5.746 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001136/1.257, allocations: 309 kB / 0.9884 GB, free: 5.441 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002808/1.26, allocations: 1.568 MB / 0.99 GB, free: 3.871 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003158/1.263, allocations: 1.916 MB / 0.9918 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006117/1.269, allocations: 3.77 MB / 0.9955 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/1.269, allocations: 0 / 0.9955 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007713/1.277, allocations: 4.173 MB / 0.9996 GB, free: 9.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/1.277, allocations: 8 kB / 0.9996 GB, free: 9.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/1.277, allocations: 4.656 kB / 0.9996 GB, free: 9.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.672e-05/1.277, allocations: 20 kB / 0.9996 GB, free: 9.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003218/1.281, allocations: 0.6982 MB / 1 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.561e-05/1.281, allocations: 23.94 kB / 1 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003635/1.284, allocations: 480.7 kB / 1.001 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004925/1.285, allocations: 120.8 kB / 1.001 GB, free: 8.488 MB / 0.7169 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.002057/1.287, allocations: 0.7899 MB / 1.002 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009804/1.288, allocations: 296.5 kB / 1.002 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009038/1.297, allocations: 4.429 MB / 1.006 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.502e-05/1.297, allocations: 40 kB / 1.006 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.955e-05/1.297, allocations: 11.92 kB / 1.006 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00599/1.303, allocations: 3.788 MB / 1.01 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01647/1.319, allocations: 8.644 MB / 1.018 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/1.32, allocations: 7.938 kB / 1.018 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003601/1.323, allocations: 0.7181 MB / 1.019 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.778e-05/1.323, allocations: 19.98 kB / 1.019 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004124/1.324, allocations: 83.98 kB / 1.019 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.455e-05/1.324, allocations: 12 kB / 1.019 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.324, allocations: 4 kB / 1.019 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2743/1.598, allocations: 6.569 MB / 1.026 GB, free: 312.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002982/1.601, allocations: 0.7955 MB / 1.026 GB, free: 312.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006068/1.602, allocations: 72.83 kB / 1.027 GB, free: 312.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003024/1.605, allocations: 263.5 kB / 1.027 GB, free: 312.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006918/1.605, allocations: 241.4 kB / 1.027 GB, free: 312.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002709/1.606, allocations: 112.8 kB / 1.027 GB, free: 312.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002112/1.608, allocations: 1.156 MB / 1.028 GB, free: 312.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.608, allocations: 0 / 1.028 GB, free: 312.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004568/1.612, allocations: 1.226 MB / 1.029 GB, free: 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.001256/1.614, allocations: 464.2 kB / 1.03 GB, free: 311.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02326/1.637, allocations: 9.83 MB / 1.04 GB, free: 310.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/1.637, allocations: 3.031 kB / 1.04 GB, free: 310.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003933/1.641, allocations: 2.157 MB / 1.042 GB, free: 309.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008415/1.649, allocations: 1.604 MB / 1.043 GB, free: 309.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/1.662, allocations: 9.188 MB / 1.052 GB, free: 304.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001667/1.664, allocations: 2.205 MB / 1.054 GB, free: 303.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.004681/1.668, allocations: 1.206 MB / 1.055 GB, free: 303.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/1.67, allocations: 268.5 kB / 1.056 GB, free: 303.5 MB / 0.7325 GB Notification: Performance of SimCode: time 1.082e-06/1.67, allocations: 0 / 1.056 GB, free: 303.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.08435/1.754, allocations: 61.52 MB / 1.116 GB, free: 246.8 MB / 0.7325 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)