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.0008602/0.0008602, allocations: 92.95 kB / 16.02 MB, free: 84 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.0009747/0.0009747, allocations: 177.1 kB / 16.91 MB, free: 6.645 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.354/1.354, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7312/0.7312, allocations: 123 MB / 415.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003484, allocations: 8.938 kB / 0.4933 GB, free: 14.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4671/0.4675, allocations: 79.29 MB / 0.5707 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6702/1.138, allocations: 307.7 MB / 0.8712 GB, free: 2.082 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0238/1.162, allocations: 18.49 MB / 0.8893 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00415/1.166, allocations: 71.72 kB / 0.8893 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005332/1.171, allocations: 1.872 MB / 0.8912 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.017/1.188, allocations: 6.913 MB / 0.8979 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.008331/1.197, allocations: 2.934 MB / 0.9008 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01339/1.21, allocations: 13.16 MB / 0.9136 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004998/1.215, allocations: 2.581 MB / 0.9161 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007292/1.222, allocations: 2.809 MB / 0.9189 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007273/1.23, allocations: 3.267 MB / 0.9221 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001233/1.231, allocations: 200.8 kB / 0.9223 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0157/1.247, allocations: 8.1 MB / 0.9302 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002567/1.249, allocations: 1.477 MB / 0.9316 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004161/1.253, allocations: 2.076 MB / 0.9336 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01672/1.27, allocations: 8.377 MB / 0.9418 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.27, allocations: 0 / 0.9418 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.564e-06/1.27, allocations: 0 / 0.9418 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001773/1.27, allocations: 4 kB / 0.9418 GB, free: 5.055 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.01288/1.283, allocations: 4.328 MB / 0.9461 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/1.283, allocations: 8.031 kB / 0.9461 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007319/1.291, allocations: 1.015 MB / 0.9471 GB, free: 20 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004314/1.295, allocations: 2.159 MB / 0.9492 GB, free: 14.4 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/1.295, allocations: 245.6 kB / 0.9494 GB, free: 14.26 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005632/1.296, allocations: 327.6 kB / 0.9497 GB, free: 14.05 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007478/1.303, allocations: 4.236 MB / 0.9538 GB, free: 9.75 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.966e-05/1.303, allocations: 7.094 kB / 0.9539 GB, free: 9.746 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003209/1.304, allocations: 135.8 kB / 0.954 GB, free: 9.617 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001737/1.304, allocations: 170.4 kB / 0.9541 GB, free: 9.449 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008164/1.312, allocations: 4.782 MB / 0.9588 GB, free: 4.672 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.01969/1.332, allocations: 14.4 MB / 0.9729 GB, free: 5.594 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006284/1.338, allocations: 4.555 MB / 0.9773 GB, free: 1.059 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003681/1.342, allocations: 2.45 MB / 0.9797 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00168/1.343, allocations: 1.616 MB / 0.9813 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.352e-05/1.343, allocations: 73.64 kB / 0.9814 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=392): time 6.372e-06/1.344, allocations: 0 / 0.9814 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of matching and sorting (n=392): time 0.009723/1.353, allocations: 5.542 MB / 0.9868 GB, free: 7.031 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/1.353, allocations: 90.48 kB / 0.9869 GB, free: 6.93 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002594/1.356, allocations: 1.678 MB / 0.9885 GB, free: 5.211 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000282/1.356, allocations: 93.7 kB / 0.9886 GB, free: 5.113 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009351/1.357, allocations: 1.132 MB / 0.9897 GB, free: 3.969 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001407/1.359, allocations: 1.323 MB / 0.991 GB, free: 2.656 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003821/1.359, allocations: 272.8 kB / 0.9913 GB, free: 2.383 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001027/1.359, allocations: 309.1 kB / 0.9915 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002615/1.362, allocations: 1.564 MB / 0.9931 GB, free: 0.5117 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002978/1.365, allocations: 1.913 MB / 0.9949 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005796/1.371, allocations: 3.775 MB / 0.9986 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/1.371, allocations: 0 / 0.9986 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01008/1.381, allocations: 4.178 MB / 1.003 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/1.381, allocations: 8 kB / 1.003 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.332e-05/1.381, allocations: 7.984 kB / 1.003 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.953e-05/1.381, allocations: 22.72 kB / 1.003 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004624/1.385, allocations: 0.6958 MB / 1.003 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.21e-05/1.386, allocations: 19.09 kB / 1.003 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005513/1.391, allocations: 477 kB / 1.004 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000738/1.392, allocations: 123.9 kB / 1.004 GB, free: 5.219 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.002571/1.394, allocations: 0.8002 MB / 1.005 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000834/1.395, allocations: 288.5 kB / 1.005 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/1.407, allocations: 4.431 MB / 1.009 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.762e-05/1.407, allocations: 40 kB / 1.009 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.807e-05/1.407, allocations: 4 kB / 1.009 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009661/1.417, allocations: 3.79 MB / 1.013 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02007/1.437, allocations: 8.653 MB / 1.022 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/1.437, allocations: 4 kB / 1.022 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003356/1.44, allocations: 0.711 MB / 1.022 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.062e-05/1.44, allocations: 16 kB / 1.022 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002528/1.44, allocations: 87.97 kB / 1.022 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.916e-05/1.441, allocations: 20.06 kB / 1.022 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.441, allocations: 6.906 kB / 1.022 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/1.451, allocations: 6.569 MB / 1.029 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002247/1.453, allocations: 0.7933 MB / 1.03 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005888/1.454, allocations: 75.98 kB / 1.03 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002958/1.457, allocations: 267 kB / 1.03 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004631/1.457, allocations: 233.5 kB / 1.03 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002428/1.457, allocations: 124 kB / 1.03 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001775/1.459, allocations: 1.149 MB / 1.031 GB, free: 8.969 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.459, allocations: 0 / 1.031 GB, free: 8.969 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003514/1.463, allocations: 1.228 MB / 1.033 GB, free: 7.738 MB / 0.7481 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.001204/1.464, allocations: 475.1 kB / 1.033 GB, free: 7.328 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006797/1.471, allocations: 3.931 MB / 1.037 GB, free: 3.438 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.471, allocations: 0 / 1.037 GB, free: 3.438 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003479/1.474, allocations: 2.147 MB / 1.039 GB, free: 1.367 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008758/1.483, allocations: 1.528 MB / 1.04 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/1.498, allocations: 9.485 MB / 1.05 GB, free: 6.309 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002084/1.5, allocations: 2.213 MB / 1.052 GB, free: 4.059 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004826/1.505, allocations: 1.208 MB / 1.053 GB, free: 2.844 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/1.506, allocations: 267.4 kB / 1.053 GB, free: 2.582 MB / 0.7637 GB Notification: Performance of SimCode: time 1.262e-06/1.506, allocations: 0 / 1.053 GB, free: 2.582 MB / 0.7637 GB Notification: Performance of Templates: time 0.3587/1.865, allocations: 58.7 MB / 1.111 GB, free: 381.1 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)