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.0008184/0.0008183, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00515/0.00515, allocations: 170.7 kB / 16.27 MB, free: 6.648 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.371/1.371, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001767/0.001768, allocations: 263.2 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9204/0.9204, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006628/0.0006629, allocations: 12.72 kB / 0.5986 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1647, allocations: 88.55 MB / 0.6851 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6135/0.7783, allocations: 307.7 MB / 0.9856 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0274/0.8057, allocations: 18.49 MB / 1.004 GB, free: 9.402 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004102/0.8099, allocations: 71.56 kB / 1.004 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005665/0.8156, allocations: 1.87 MB / 1.006 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01864/0.8343, allocations: 6.904 MB / 1.012 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008197/0.8425, allocations: 2.934 MB / 1.015 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01472/0.8572, allocations: 13.12 MB / 1.028 GB, free: 444 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004814/0.862, allocations: 2.583 MB / 1.03 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006063/0.8681, allocations: 2.806 MB / 1.033 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006541/0.8747, allocations: 3.268 MB / 1.036 GB, free: 7.719 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0009914/0.8757, allocations: 200 kB / 1.037 GB, free: 7.523 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4708/1.347, allocations: 8.098 MB / 1.045 GB, free: 16.34 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002977/1.35, allocations: 1.466 MB / 1.046 GB, free: 16.34 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.005884/1.355, allocations: 2.083 MB / 1.048 GB, free: 16.3 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.02036/1.376, allocations: 8.387 MB / 1.056 GB, free: 16.1 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.376, allocations: 0 / 1.056 GB, free: 16.1 MB / 0.7481 GB Notification: Performance of FrontEnd: time 4.298e-06/1.376, allocations: 0 / 1.056 GB, free: 16.1 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0003208/1.376, allocations: 0 / 1.056 GB, free: 16.1 MB / 0.7481 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.01557/1.392, allocations: 4.314 MB / 1.06 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/1.392, allocations: 11.28 kB / 1.06 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0078/1.4, allocations: 1.016 MB / 1.061 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005629/1.405, allocations: 2.161 MB / 1.064 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002678/1.406, allocations: 244.8 kB / 1.064 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001076/1.407, allocations: 324.3 kB / 1.064 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/1.417, allocations: 4.24 MB / 1.068 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.823e-05/1.417, allocations: 11.03 kB / 1.068 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004592/1.417, allocations: 132.8 kB / 1.068 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001927/1.418, allocations: 172 kB / 1.068 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008508/1.426, allocations: 4.787 MB / 1.073 GB, free: 13.31 MB / 0.7481 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.02348/1.45, allocations: 14.39 MB / 1.087 GB, free: 22.84 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006583/1.456, allocations: 4.554 MB / 1.092 GB, free: 22.73 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004206/1.46, allocations: 2.45 MB / 1.094 GB, free: 22.68 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001901/1.462, allocations: 1.618 MB / 1.096 GB, free: 20.98 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.979e-05/1.462, allocations: 76.88 kB / 1.096 GB, free: 20.94 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=392): time 5.971e-06/1.462, allocations: 0 / 1.096 GB, free: 20.94 MB / 0.7637 GB Notification: Performance of matching and sorting (n=392): time 0.01078/1.473, allocations: 5.537 MB / 1.101 GB, free: 20.66 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.531e-05/1.473, allocations: 92.95 kB / 1.101 GB, free: 20.59 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002886/1.476, allocations: 1.687 MB / 1.103 GB, free: 20.37 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0004488/1.477, allocations: 96.27 kB / 1.103 GB, free: 20.34 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008623/1.478, allocations: 1.131 MB / 1.104 GB, free: 19.91 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.00155/1.479, allocations: 1.319 MB / 1.105 GB, free: 19.05 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004436/1.48, allocations: 268.5 kB / 1.106 GB, free: 19.03 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.48, allocations: 307.4 kB / 1.106 GB, free: 18.73 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002619/1.482, allocations: 1.564 MB / 1.107 GB, free: 18.72 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002677/1.485, allocations: 1.92 MB / 1.109 GB, free: 18.5 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005728/1.491, allocations: 3.76 MB / 1.113 GB, free: 18.24 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-05/1.491, allocations: 5.781 kB / 1.113 GB, free: 18.24 MB / 0.7637 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007154/1.498, allocations: 4.174 MB / 1.117 GB, free: 17.97 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/1.498, allocations: 12.88 kB / 1.117 GB, free: 17.97 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/1.498, allocations: 5.781 kB / 1.117 GB, free: 17.97 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.099e-05/1.498, allocations: 23.31 kB / 1.117 GB, free: 17.96 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002975/1.501, allocations: 0.6937 MB / 1.118 GB, free: 17.96 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.374e-05/1.501, allocations: 23.38 kB / 1.118 GB, free: 17.96 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004494/1.506, allocations: 475.7 kB / 1.118 GB, free: 17.8 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003398/1.506, allocations: 124.3 kB / 1.118 GB, free: 17.79 MB / 0.7637 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.002041/1.508, allocations: 0.7952 MB / 1.119 GB, free: 17.68 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009178/1.509, allocations: 290.7 kB / 1.119 GB, free: 17.53 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007433/1.517, allocations: 4.431 MB / 1.124 GB, free: 17.32 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.079e-05/1.517, allocations: 47.16 kB / 1.124 GB, free: 17.31 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/1.517, allocations: 3.438 kB / 1.124 GB, free: 17.31 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005422/1.522, allocations: 3.799 MB / 1.127 GB, free: 16.97 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01484/1.537, allocations: 8.626 MB / 1.136 GB, free: 16.19 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/1.537, allocations: 4.312 kB / 1.136 GB, free: 16.18 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003161/1.54, allocations: 0.7214 MB / 1.137 GB, free: 16.18 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.724e-05/1.54, allocations: 13.94 kB / 1.137 GB, free: 16.18 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002611/1.54, allocations: 86.31 kB / 1.137 GB, free: 16.18 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.761e-05/1.54, allocations: 18.78 kB / 1.137 GB, free: 16.18 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.54, allocations: 9.219 kB / 1.137 GB, free: 16.18 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009264/1.55, allocations: 6.563 MB / 1.143 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002669/1.552, allocations: 0.7925 MB / 1.144 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008226/1.553, allocations: 69.06 kB / 1.144 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003335/1.557, allocations: 270.6 kB / 1.144 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004196/1.557, allocations: 236.5 kB / 1.144 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002142/1.557, allocations: 117 kB / 1.145 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001647/1.559, allocations: 1.154 MB / 1.146 GB, free: 15.14 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/1.559, allocations: 0 / 1.146 GB, free: 15.14 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003307/1.562, allocations: 1.237 MB / 1.147 GB, free: 14.52 MB / 0.7637 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.0009066/1.563, allocations: 472.8 kB / 1.147 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005719/1.569, allocations: 3.93 MB / 1.151 GB, free: 12 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.569, allocations: 0 / 1.151 GB, free: 12 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00285/1.572, allocations: 2.149 MB / 1.153 GB, free: 10.81 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008655/1.581, allocations: 1.54 MB / 1.155 GB, free: 9.629 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/1.595, allocations: 9.499 MB / 1.164 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001956/1.597, allocations: 2.206 MB / 1.166 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.004975/1.602, allocations: 1.2 MB / 1.167 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/1.603, allocations: 269.2 kB / 1.168 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of SimCode: time 1.332e-06/1.603, allocations: 0 / 1.168 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of Templates: time 0.09848/1.702, allocations: 58.76 MB / 1.225 GB, free: 3.66 MB / 0.8262 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)