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.001172/0.001172, allocations: 93.05 kB / 16.66 MB, free: 5.742 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.001522/0.001522, allocations: 181.7 kB / 17.58 MB, free: 5.477 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.502/1.502, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.72/0.72, allocations: 115.5 MB / 408.2 MB, free: 7.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003551, allocations: 11.98 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3804, allocations: 77.51 MB / 0.5606 GB, free: 36.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6718/1.052, allocations: 307.7 MB / 0.861 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03069/1.083, allocations: 18.49 MB / 0.8791 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005167/1.088, allocations: 75.97 kB / 0.8792 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.006189/1.095, allocations: 1.871 MB / 0.881 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01941/1.114, allocations: 6.909 MB / 0.8878 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009294/1.123, allocations: 2.923 MB / 0.8906 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01602/1.139, allocations: 13.14 MB / 0.9034 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005603/1.145, allocations: 2.582 MB / 0.906 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007441/1.152, allocations: 2.805 MB / 0.9087 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007789/1.16, allocations: 3.259 MB / 0.9119 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001567/1.162, allocations: 196 kB / 0.9121 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01744/1.179, allocations: 8.103 MB / 0.92 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003137/1.183, allocations: 1.474 MB / 0.9214 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.005738/1.188, allocations: 2.081 MB / 0.9234 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01232/1.201, allocations: 5.917 MB / 0.9292 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/1.201, allocations: 0 / 0.9292 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.516e-06/1.201, allocations: 0 / 0.9292 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002704/1.201, allocations: 0 / 0.9292 GB, free: 13.36 MB / 0.6387 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.01455/1.216, allocations: 4.324 MB / 0.9335 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/1.216, allocations: 15.97 kB / 0.9335 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007563/1.223, allocations: 1.005 MB / 0.9344 GB, free: 7.977 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00564/1.229, allocations: 2.172 MB / 0.9366 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002978/1.229, allocations: 245.6 kB / 0.9368 GB, free: 5.555 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001141/1.23, allocations: 335.1 kB / 0.9371 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009838/1.24, allocations: 4.242 MB / 0.9413 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.834e-05/1.24, allocations: 7.922 kB / 0.9413 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003955/1.241, allocations: 135 kB / 0.9414 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001942/1.241, allocations: 162.4 kB / 0.9416 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009756/1.251, allocations: 4.784 MB / 0.9462 GB, free: 11.83 MB / 0.6544 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.02587/1.277, allocations: 14.39 MB / 0.9603 GB, free: 12.63 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008051/1.285, allocations: 4.55 MB / 0.9647 GB, free: 8.086 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00475/1.29, allocations: 2.448 MB / 0.9671 GB, free: 5.633 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001998/1.292, allocations: 1.622 MB / 0.9687 GB, free: 3.691 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/1.292, allocations: 77.58 kB / 0.9688 GB, free: 3.605 MB / 0.67 GB Notification: Performance of pre-optimization done (n=392): time 1.152e-05/1.292, allocations: 4 kB / 0.9688 GB, free: 3.602 MB / 0.67 GB Notification: Performance of matching and sorting (n=392): time 0.01202/1.304, allocations: 5.531 MB / 0.9742 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/1.304, allocations: 90.48 kB / 0.9743 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003106/1.307, allocations: 1.686 MB / 0.9759 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0005824/1.308, allocations: 93.7 kB / 0.976 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009694/1.309, allocations: 1.143 MB / 0.9771 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001734/1.31, allocations: 1.325 MB / 0.9784 GB, free: 9.652 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006827/1.311, allocations: 264.8 kB / 0.9787 GB, free: 9.387 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.311, allocations: 305.1 kB / 0.979 GB, free: 9.086 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003144/1.314, allocations: 1.568 MB / 0.9805 GB, free: 7.516 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003488/1.318, allocations: 1.916 MB / 0.9824 GB, free: 5.531 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007202/1.325, allocations: 3.762 MB / 0.986 GB, free: 1.684 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.776e-05/1.325, allocations: 0 / 0.986 GB, free: 1.684 MB / 0.6856 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009415/1.335, allocations: 4.185 MB / 0.9901 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.028e-05/1.335, allocations: 8 kB / 0.9901 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/1.335, allocations: 4.656 kB / 0.9901 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.939e-05/1.335, allocations: 20 kB / 0.9901 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003487/1.338, allocations: 0.7021 MB / 0.9908 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.301e-05/1.338, allocations: 20 kB / 0.9909 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004257/1.343, allocations: 472.9 kB / 0.9913 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007636/1.343, allocations: 120 kB / 0.9914 GB, free: 12.14 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.002681/1.346, allocations: 0.7937 MB / 0.9922 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001167/1.347, allocations: 296.5 kB / 0.9925 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009521/1.357, allocations: 4.421 MB / 0.9968 GB, free: 6.582 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.03e-05/1.357, allocations: 36 kB / 0.9968 GB, free: 6.547 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.085e-05/1.357, allocations: 11.94 kB / 0.9968 GB, free: 6.535 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006925/1.364, allocations: 3.788 MB / 1.001 GB, free: 2.68 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01868/1.383, allocations: 8.644 MB / 1.009 GB, free: 9.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.699e-05/1.383, allocations: 4 kB / 1.009 GB, free: 9.965 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003701/1.386, allocations: 0.7182 MB / 1.01 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.496e-05/1.386, allocations: 19.94 kB / 1.01 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005839/1.387, allocations: 83.98 kB / 1.01 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.677e-05/1.387, allocations: 23.92 kB / 1.01 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.387, allocations: 0 / 1.01 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/1.4, allocations: 6.562 MB / 1.016 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002776/1.403, allocations: 0.8049 MB / 1.017 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001088/1.404, allocations: 68 kB / 1.017 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003504/1.407, allocations: 276.4 kB / 1.017 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007629/1.408, allocations: 230.7 kB / 1.018 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004594/1.409, allocations: 119.8 kB / 1.018 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.299/1.708, allocations: 1.15 MB / 1.019 GB, free: 301.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.503e-06/1.708, allocations: 0 / 1.019 GB, free: 301.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004876/1.713, allocations: 1.233 MB / 1.02 GB, free: 301.8 MB / 0.7169 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.001493/1.714, allocations: 475.2 kB / 1.02 GB, free: 301.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007916/1.722, allocations: 3.925 MB / 1.024 GB, free: 300.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.722, allocations: 1.5 kB / 1.024 GB, free: 300.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003845/1.726, allocations: 2.153 MB / 1.026 GB, free: 299.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01001/1.736, allocations: 1.524 MB / 1.028 GB, free: 299.6 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/1.752, allocations: 9.664 MB / 1.037 GB, free: 294.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002359/1.754, allocations: 2.201 MB / 1.039 GB, free: 293.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001821/1.756, allocations: 305.5 kB / 1.04 GB, free: 293.7 MB / 0.7169 GB Notification: Performance of SimCode: time 7.82e-07/1.756, allocations: 0 / 1.04 GB, free: 293.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.07851/1.834, allocations: 53.86 MB / 1.092 GB, free: 255.9 MB / 0.7169 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)