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.001673/0.001673, allocations: 102.8 kB / 16.27 MB, free: 5.93 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.001466/0.001466, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.634/1.634, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.879/0.879, allocations: 125.4 MB / 416.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 72.06 kB / 0.4941 GB, free: 4.398 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5736/0.5756, allocations: 78.56 MB / 0.5709 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.01/1.586, allocations: 314.2 MB / 0.8777 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03764/1.624, allocations: 18.48 MB / 0.8958 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006128/1.63, allocations: 87.56 kB / 0.8959 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.007563/1.638, allocations: 2.139 MB / 0.898 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02284/1.661, allocations: 7.307 MB / 0.9051 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.009827/1.67, allocations: 3.2 MB / 0.9082 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01508/1.686, allocations: 9.102 MB / 0.9171 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006085/1.692, allocations: 3.108 MB / 0.9201 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01016/1.702, allocations: 3.602 MB / 0.9237 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007647/1.71, allocations: 3.195 MB / 0.9268 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001628/1.711, allocations: 404 kB / 0.9272 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01829/1.729, allocations: 6.983 MB / 0.934 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003303/1.733, allocations: 1.683 MB / 0.9356 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005055/1.738, allocations: 2.307 MB / 0.9379 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02115/1.759, allocations: 8.134 MB / 0.9458 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/1.759, allocations: 4 kB / 0.9458 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.482e-06/1.759, allocations: 0 / 0.9458 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002156/1.759, allocations: 0 / 0.9458 GB, free: 1.516 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.01717/1.777, allocations: 4.997 MB / 0.9507 GB, free: 12.45 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/1.777, allocations: 8.625 kB / 0.9507 GB, free: 12.44 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01146/1.788, allocations: 1.006 MB / 0.9517 GB, free: 11.43 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009613/1.798, allocations: 2.166 MB / 0.9538 GB, free: 9.211 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005084/1.798, allocations: 246.4 kB / 0.954 GB, free: 8.969 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001809/1.8, allocations: 323.9 kB / 0.9544 GB, free: 8.652 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01788/1.818, allocations: 4.243 MB / 0.9585 GB, free: 4.324 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000175/1.818, allocations: 4 kB / 0.9585 GB, free: 4.32 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001359/1.82, allocations: 132 kB / 0.9586 GB, free: 4.191 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003781/1.82, allocations: 170.3 kB / 0.9588 GB, free: 4.023 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01912/1.839, allocations: 4.78 MB / 0.9635 GB, free: 15.23 MB / 0.6856 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.04847/1.888, allocations: 14.85 MB / 0.978 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01243/1.9, allocations: 4.565 MB / 0.9824 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006029/1.906, allocations: 2.444 MB / 0.9848 GB, free: 8.32 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002155/1.908, allocations: 1.612 MB / 0.9864 GB, free: 6.375 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002053/1.909, allocations: 73.64 kB / 0.9865 GB, free: 6.293 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=392): time 5.45e-06/1.909, allocations: 0 / 0.9865 GB, free: 6.293 MB / 0.7012 GB Notification: Performance of matching and sorting (n=392): time 0.01201/1.921, allocations: 5.539 MB / 0.9919 GB, free: 0.7305 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/1.921, allocations: 102.4 kB / 0.992 GB, free: 0.6172 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002933/1.924, allocations: 1.678 MB / 0.9936 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003434/1.924, allocations: 93.7 kB / 0.9937 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001041/1.925, allocations: 1.132 MB / 0.9948 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.00152/1.927, allocations: 1.324 MB / 0.9961 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00104/1.928, allocations: 0.5468 MB / 0.9966 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000184/1.928, allocations: 305.1 kB / 0.9969 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002818/1.931, allocations: 1.572 MB / 0.9984 GB, free: 9.883 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003089/1.934, allocations: 1.912 MB / 1 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005971/1.94, allocations: 3.762 MB / 1.004 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/1.94, allocations: 4 kB / 1.004 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007258/1.947, allocations: 4.174 MB / 1.008 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/1.947, allocations: 15.88 kB / 1.008 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/1.947, allocations: 4 kB / 1.008 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.437e-05/1.947, allocations: 20 kB / 1.008 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002978/1.95, allocations: 0.6866 MB / 1.009 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.127e-05/1.95, allocations: 25.5 kB / 1.009 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002624/1.953, allocations: 273.1 kB / 1.009 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002436/1.953, allocations: 116 kB / 1.009 GB, free: 14.72 MB / 0.7325 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.001505/1.955, allocations: 0.7976 MB / 1.01 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007131/1.955, allocations: 292.5 kB / 1.01 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007576/1.963, allocations: 4.429 MB / 1.015 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.028e-05/1.963, allocations: 40 kB / 1.015 GB, free: 9.117 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/1.963, allocations: 0 / 1.015 GB, free: 9.117 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005833/1.969, allocations: 3.792 MB / 1.018 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01519/1.984, allocations: 8.629 MB / 1.027 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-05/1.984, allocations: 11.98 kB / 1.027 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003411/1.988, allocations: 0.7178 MB / 1.027 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.525e-05/1.988, allocations: 16 kB / 1.027 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003589/1.988, allocations: 87.97 kB / 1.028 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.562e-05/1.988, allocations: 24 kB / 1.028 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.463e-06/1.988, allocations: 7.938 kB / 1.028 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/1.999, allocations: 6.558 MB / 1.034 GB, free: 4.949 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001857/2.001, allocations: 0.7972 MB / 1.035 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004711/2.001, allocations: 72 kB / 1.035 GB, free: 4.059 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002037/2.003, allocations: 101.7 kB / 1.035 GB, free: 3.961 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000439/2.004, allocations: 226.7 kB / 1.035 GB, free: 3.738 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002231/2.004, allocations: 116 kB / 1.035 GB, free: 3.625 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002143/2.006, allocations: 1.149 MB / 1.036 GB, free: 2.453 MB / 0.7481 GB Notification: Performance of sort global known variables: time 7.11e-07/2.006, allocations: 0 / 1.036 GB, free: 2.453 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005551/2.012, allocations: 1.232 MB / 1.038 GB, free: 1.219 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.001877/2.014, allocations: 470.6 kB / 1.038 GB, free: 0.7578 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.2701/2.284, allocations: 9.829 MB / 1.048 GB, free: 328.5 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/2.284, allocations: 1.438 kB / 1.048 GB, free: 328.5 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003393/2.287, allocations: 2.152 MB / 1.05 GB, free: 327.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0079/2.295, allocations: 1.613 MB / 1.051 GB, free: 327.4 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/2.306, allocations: 7.745 MB / 1.059 GB, free: 324.3 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/2.307, allocations: 2.205 MB / 1.061 GB, free: 323.3 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004263/2.311, allocations: 1.208 MB / 1.062 GB, free: 323.1 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/2.312, allocations: 266.4 kB / 1.062 GB, free: 323.1 MB / 0.7481 GB Notification: Performance of SimCode: time 1.162e-06/2.312, allocations: 3.938 kB / 1.062 GB, free: 323.1 MB / 0.7481 GB Notification: Performance of Templates: time 0.08547/2.398, allocations: 61.91 MB / 1.123 GB, free: 267.1 MB / 0.7481 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)