Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.009367/0.009367, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001604/0.001604, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002269/0.002269, allocations: 286.1 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.099/1.099, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 95.86 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.282, allocations: 86.98 MB / 0.7664 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.8785/1.161, allocations: 314.1 MB / 1.073 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02972/1.19, allocations: 18.46 MB / 1.091 GB, free: 5.664 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005415/1.196, allocations: 91.56 kB / 1.091 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.006606/1.202, allocations: 2.148 MB / 1.093 GB, free: 3.414 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.804/2.007, allocations: 7.298 MB / 1.1 GB, free: 5 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01222/2.019, allocations: 3.226 MB / 1.104 GB, free: 4.992 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01965/2.038, allocations: 9.099 MB / 1.113 GB, free: 4.977 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008296/2.047, allocations: 3.111 MB / 1.116 GB, free: 20.64 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01184/2.059, allocations: 3.351 MB / 1.119 GB, free: 20.64 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0114/2.07, allocations: 3.24 MB / 1.122 GB, free: 20.63 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.003269/2.073, allocations: 405 kB / 1.122 GB, free: 20.63 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02433/2.098, allocations: 6.993 MB / 1.129 GB, free: 20.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.005036/2.103, allocations: 1.688 MB / 1.131 GB, free: 20.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.01109/2.114, allocations: 2.31 MB / 1.133 GB, free: 20.59 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.02732/2.141, allocations: 8.19 MB / 1.141 GB, free: 19.7 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/2.141, allocations: 0.9688 kB / 1.141 GB, free: 19.7 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.028e-06/2.141, allocations: 0 / 1.141 GB, free: 19.7 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002854/2.142, allocations: 3.938 kB / 1.141 GB, free: 19.69 MB / 0.8575 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.0224/2.164, allocations: 4.99 MB / 1.146 GB, free: 17.78 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.261e-05/2.164, allocations: 13.05 kB / 1.146 GB, free: 17.78 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009614/2.174, allocations: 1.007 MB / 1.147 GB, free: 17.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008895/2.183, allocations: 2.249 MB / 1.149 GB, free: 17 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004271/2.183, allocations: 243.2 kB / 1.149 GB, free: 16.99 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002568/2.186, allocations: 325.8 kB / 1.15 GB, free: 16.99 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01641/2.202, allocations: 4.241 MB / 1.154 GB, free: 16.7 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002501/2.203, allocations: 12.47 kB / 1.154 GB, free: 16.69 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001479/2.204, allocations: 134.2 kB / 1.154 GB, free: 16.69 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002963/2.204, allocations: 165.8 kB / 1.154 GB, free: 16.68 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01292/2.217, allocations: 4.784 MB / 1.159 GB, free: 16.65 MB / 0.8575 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.03716/2.255, allocations: 14.44 MB / 1.173 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009701/2.264, allocations: 4.554 MB / 1.177 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005671/2.27, allocations: 2.458 MB / 1.18 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002373/2.272, allocations: 1.61 MB / 1.181 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/2.273, allocations: 73.86 kB / 1.181 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=392): time 7.845e-06/2.273, allocations: 0.9688 kB / 1.181 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of matching and sorting (n=392): time 0.01529/2.288, allocations: 5.53 MB / 1.187 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/2.288, allocations: 104 kB / 1.187 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004099/2.292, allocations: 1.677 MB / 1.189 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0009251/2.293, allocations: 95.44 kB / 1.189 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001098/2.294, allocations: 1.131 MB / 1.19 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.002404/2.297, allocations: 1.323 MB / 1.191 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002196/2.299, allocations: 0.5541 MB / 1.192 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001541/2.299, allocations: 301.9 kB / 1.192 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003365/2.302, allocations: 1.565 MB / 1.193 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003828/2.306, allocations: 1.918 MB / 1.195 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007627/2.314, allocations: 3.768 MB / 1.199 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.857e-05/2.314, allocations: 0 / 1.199 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009714/2.324, allocations: 4.175 MB / 1.203 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/2.324, allocations: 8 kB / 1.203 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.682e-05/2.324, allocations: 11.88 kB / 1.203 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.001e-05/2.324, allocations: 20.84 kB / 1.203 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003421/2.327, allocations: 0.6932 MB / 1.204 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001096/2.327, allocations: 26.72 kB / 1.204 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004002/2.331, allocations: 259.6 kB / 1.204 GB, free: 304 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005271/2.332, allocations: 115.5 kB / 1.204 GB, free: 216 kB / 0.8575 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.00274/2.335, allocations: 0.8039 MB / 1.205 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001874/2.337, allocations: 289.3 kB / 1.205 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01029/2.347, allocations: 4.428 MB / 1.21 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.691e-05/2.347, allocations: 40.69 kB / 1.21 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.577e-05/2.347, allocations: 0 / 1.21 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007607/2.355, allocations: 3.79 MB / 1.213 GB, free: 9.941 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02119/2.376, allocations: 8.651 MB / 1.222 GB, free: 1.582 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.04e-05/2.376, allocations: 4 kB / 1.222 GB, free: 1.578 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00374/2.38, allocations: 0.7163 MB / 1.222 GB, free: 0.8984 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001041/2.38, allocations: 20 kB / 1.222 GB, free: 0.8789 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004991/2.38, allocations: 83.98 kB / 1.223 GB, free: 0.7969 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-05/2.38, allocations: 16 kB / 1.223 GB, free: 0.7812 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/2.38, allocations: 11.11 kB / 1.223 GB, free: 0.7734 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01272/2.393, allocations: 6.572 MB / 1.229 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00318/2.396, allocations: 0.7933 MB / 1.23 GB, free: 9.297 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001154/2.398, allocations: 75.98 kB / 1.23 GB, free: 9.223 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0032/2.401, allocations: 94.61 kB / 1.23 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005877/2.401, allocations: 233.7 kB / 1.23 GB, free: 8.906 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002492/2.402, allocations: 112 kB / 1.23 GB, free: 8.797 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002081/2.404, allocations: 1.153 MB / 1.231 GB, free: 7.621 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/2.404, allocations: 0 / 1.231 GB, free: 7.621 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.004339/2.408, allocations: 1.232 MB / 1.233 GB, free: 6.387 MB / 0.8887 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.001246/2.409, allocations: 468.2 kB / 1.233 GB, free: 5.988 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.007163/2.417, allocations: 3.95 MB / 1.237 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/2.417, allocations: 3.188 kB / 1.237 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.003638/2.42, allocations: 2.148 MB / 1.239 GB, free: 8 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0107/2.431, allocations: 1.602 MB / 1.241 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01872/2.45, allocations: 7.667 MB / 1.248 GB, free: 6.734 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003513/2.453, allocations: 2.213 MB / 1.25 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.006575/2.46, allocations: 1.2 MB / 1.251 GB, free: 3.277 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001597/2.462, allocations: 271.3 kB / 1.252 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of SimCode: time 1.463e-06/2.462, allocations: 0 / 1.252 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of Templates: time 0.1219/2.583, allocations: 63.59 MB / 1.314 GB, free: 4.492 MB / 0.9669 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)