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.0014/0.0014, allocations: 103 kB / 16.35 MB, free: 6.285 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.001507/0.001507, allocations: 196.2 kB / 17.29 MB, free: 5.863 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.621/1.621, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002481/0.00248, allocations: 279.9 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.164/1.164, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 94.47 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2858, allocations: 86.96 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.912/2.198, allocations: 314.1 MB / 0.9884 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.04021/2.239, allocations: 18.46 MB / 1.006 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008291/2.247, allocations: 89.66 kB / 1.006 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.009067/2.256, allocations: 2.146 MB / 1.009 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.03336/2.29, allocations: 7.323 MB / 1.016 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01499/2.305, allocations: 3.219 MB / 1.019 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.02196/2.327, allocations: 9.106 MB / 1.028 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01065/2.337, allocations: 3.115 MB / 1.031 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01335/2.351, allocations: 3.306 MB / 1.034 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01164/2.362, allocations: 3.232 MB / 1.037 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.003102/2.366, allocations: 402.5 kB / 1.038 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02655/2.392, allocations: 7.003 MB / 1.044 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.005819/2.398, allocations: 1.684 MB / 1.046 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.01113/2.409, allocations: 2.31 MB / 1.048 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.03306/2.442, allocations: 8.187 MB / 1.056 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-05/2.442, allocations: 6.422 kB / 1.056 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.767e-06/2.442, allocations: 0 / 1.056 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0004102/2.443, allocations: 0 / 1.056 GB, free: 13.06 MB / 0.7325 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.02646/2.469, allocations: 4.982 MB / 1.061 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/2.469, allocations: 11.59 kB / 1.061 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00927/2.479, allocations: 1.011 MB / 1.062 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008538/2.487, allocations: 2.252 MB / 1.064 GB, free: 9.066 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004083/2.488, allocations: 246.1 kB / 1.065 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00178/2.49, allocations: 323 kB / 1.065 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01552/2.505, allocations: 4.237 MB / 1.069 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000251/2.505, allocations: 11.66 kB / 1.069 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00121/2.507, allocations: 134.8 kB / 1.069 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003235/2.507, allocations: 169.7 kB / 1.069 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01216/2.519, allocations: 4.78 MB / 1.074 GB, free: 4.199 MB / 0.7325 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.03145/2.551, allocations: 14.45 MB / 1.088 GB, free: 5.086 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008382/2.559, allocations: 4.558 MB / 1.093 GB, free: 0.582 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004544/2.564, allocations: 2.445 MB / 1.095 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002214/2.566, allocations: 1.614 MB / 1.097 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001025/2.566, allocations: 73.64 kB / 1.097 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=392): time 9.027e-06/2.566, allocations: 4 kB / 1.097 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of matching and sorting (n=392): time 0.01217/2.578, allocations: 5.542 MB / 1.102 GB, free: 6.559 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.569e-05/2.578, allocations: 90.48 kB / 1.102 GB, free: 6.457 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0043/2.583, allocations: 1.68 MB / 1.104 GB, free: 4.734 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0004352/2.583, allocations: 93.7 kB / 1.104 GB, free: 4.637 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001195/2.584, allocations: 1.131 MB / 1.105 GB, free: 3.496 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001704/2.586, allocations: 1.324 MB / 1.106 GB, free: 2.184 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001332/2.587, allocations: 0.5468 MB / 1.107 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001449/2.587, allocations: 309.1 kB / 1.107 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003007/2.59, allocations: 1.564 MB / 1.109 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003349/2.594, allocations: 1.918 MB / 1.11 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006734/2.601, allocations: 3.764 MB / 1.114 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.19e-05/2.601, allocations: 4 kB / 1.114 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008569/2.609, allocations: 4.183 MB / 1.118 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/2.609, allocations: 4 kB / 1.118 GB, free: 5.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.711e-05/2.609, allocations: 8 kB / 1.118 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.753e-05/2.609, allocations: 16 kB / 1.118 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003208/2.613, allocations: 0.6965 MB / 1.119 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001007/2.613, allocations: 22.62 kB / 1.119 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003601/2.616, allocations: 261.2 kB / 1.119 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000394/2.617, allocations: 116 kB / 1.119 GB, free: 4.688 MB / 0.7794 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.002384/2.619, allocations: 0.7929 MB / 1.12 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001339/2.62, allocations: 300.4 kB / 1.12 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008873/2.629, allocations: 4.433 MB / 1.125 GB, free: 15.16 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.621e-05/2.629, allocations: 36 kB / 1.125 GB, free: 15.13 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/2.629, allocations: 0 / 1.125 GB, free: 15.13 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006427/2.636, allocations: 3.79 MB / 1.128 GB, free: 11.27 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01879/2.655, allocations: 8.643 MB / 1.137 GB, free: 2.582 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.796e-05/2.655, allocations: 4 kB / 1.137 GB, free: 2.578 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00347/2.658, allocations: 0.7205 MB / 1.138 GB, free: 1.895 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.85e-05/2.658, allocations: 16.19 kB / 1.138 GB, free: 1.879 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003633/2.659, allocations: 99.89 kB / 1.138 GB, free: 1.781 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.886e-05/2.659, allocations: 15.94 kB / 1.138 GB, free: 1.766 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.385e-06/2.659, allocations: 6.625 kB / 1.138 GB, free: 1.762 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/2.671, allocations: 6.566 MB / 1.144 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00336/2.674, allocations: 0.7972 MB / 1.145 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0011/2.675, allocations: 71.94 kB / 1.145 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003237/2.679, allocations: 93.19 kB / 1.145 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000622/2.679, allocations: 233.2 kB / 1.145 GB, free: 9.898 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003603/2.68, allocations: 112 kB / 1.145 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003361/2.683, allocations: 1.157 MB / 1.147 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.01e-07/2.683, allocations: 0 / 1.147 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.006575/2.69, allocations: 1.228 MB / 1.148 GB, free: 7.379 MB / 0.8106 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.002004/2.692, allocations: 465.9 kB / 1.148 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.009067/2.701, allocations: 3.953 MB / 1.152 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/2.701, allocations: 4 kB / 1.152 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.004189/2.705, allocations: 2.152 MB / 1.154 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01081/2.716, allocations: 1.597 MB / 1.156 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01906/2.735, allocations: 7.666 MB / 1.163 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003879/2.739, allocations: 2.197 MB / 1.165 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.006945/2.746, allocations: 1.212 MB / 1.167 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00231/2.748, allocations: 275.4 kB / 1.167 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of SimCode: time 2.715e-06/2.748, allocations: 0 / 1.167 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of Templates: time 0.1302/2.878, allocations: 61.91 MB / 1.227 GB, free: 7.043 MB / 0.8887 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)