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.0016/0.0016, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001776/0.001776, allocations: 196.8 kB / 16.26 MB, free: 6.621 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.318/1.318, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002143/0.002143, allocations: 286.2 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9281/0.9281, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 91.78 kB / 0.5947 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1667, allocations: 86.98 MB / 0.6796 GB, free: 1.047 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6235/0.7903, allocations: 310.6 MB / 0.9829 GB, free: 0.9688 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02663/0.8169, allocations: 18.38 MB / 1.001 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005685/0.8227, allocations: 75.56 kB / 1.001 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005896/0.8286, allocations: 1.94 MB / 1.003 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01844/0.8471, allocations: 6.88 MB / 1.01 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009184/0.8563, allocations: 2.965 MB / 1.012 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01164/0.868, allocations: 9.098 MB / 1.021 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004736/0.8727, allocations: 3.051 MB / 1.024 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0062/0.879, allocations: 3.364 MB / 1.028 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00625/0.8852, allocations: 3.432 MB / 1.031 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0007885/0.886, allocations: 404 kB / 1.031 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01355/0.8996, allocations: 7.298 MB / 1.038 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002715/0.9023, allocations: 1.683 MB / 1.04 GB, free: 6.234 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.004014/0.9064, allocations: 2.307 MB / 1.042 GB, free: 3.918 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01579/0.9222, allocations: 8.636 MB / 1.051 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.9222, allocations: 4 kB / 1.051 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9222, allocations: 0 / 1.051 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001167/0.9223, allocations: 0 / 1.051 GB, free: 11.25 MB / 0.7637 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.01277/0.9351, allocations: 5.001 MB / 1.056 GB, free: 6.184 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.9352, allocations: 12.03 kB / 1.056 GB, free: 6.172 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006734/0.9419, allocations: 1.006 MB / 1.057 GB, free: 5.16 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004007/0.9459, allocations: 2.162 MB / 1.059 GB, free: 2.945 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/0.9462, allocations: 242.4 kB / 1.059 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006814/0.9469, allocations: 327.9 kB / 1.059 GB, free: 2.387 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3137/1.261, allocations: 4.236 MB / 1.063 GB, free: 292.7 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.882e-05/1.261, allocations: 10.31 kB / 1.063 GB, free: 292.7 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000315/1.261, allocations: 133.4 kB / 1.064 GB, free: 292.7 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001872/1.261, allocations: 167.6 kB / 1.064 GB, free: 292.7 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00819/1.269, allocations: 4.783 MB / 1.068 GB, free: 291.3 MB / 0.7637 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.01851/1.288, allocations: 14.37 MB / 1.082 GB, free: 282.3 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006601/1.295, allocations: 4.552 MB / 1.087 GB, free: 280.3 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004051/1.299, allocations: 2.449 MB / 1.089 GB, free: 279.4 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/1.3, allocations: 1.615 MB / 1.091 GB, free: 277.7 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/1.3, allocations: 77.05 kB / 1.091 GB, free: 277.6 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=392): time 5.23e-06/1.3, allocations: 3.312 kB / 1.091 GB, free: 277.6 MB / 0.7637 GB Notification: Performance of matching and sorting (n=392): time 0.008938/1.309, allocations: 5.534 MB / 1.096 GB, free: 275.2 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/1.309, allocations: 95.22 kB / 1.096 GB, free: 275.1 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/1.311, allocations: 1.68 MB / 1.098 GB, free: 274.2 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002853/1.312, allocations: 96.08 kB / 1.098 GB, free: 274.1 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005563/1.312, allocations: 1.133 MB / 1.099 GB, free: 273.1 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009299/1.313, allocations: 1.318 MB / 1.101 GB, free: 272 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008188/1.314, allocations: 0.5541 MB / 1.101 GB, free: 271.7 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 3.951e-05/1.314, allocations: 302.4 kB / 1.101 GB, free: 271.4 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002042/1.316, allocations: 1.563 MB / 1.103 GB, free: 270.6 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002216/1.318, allocations: 1.919 MB / 1.105 GB, free: 269.5 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004414/1.323, allocations: 3.765 MB / 1.108 GB, free: 267.5 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/1.323, allocations: 0 / 1.108 GB, free: 267.5 MB / 0.7637 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005586/1.328, allocations: 4.182 MB / 1.113 GB, free: 265.4 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/1.328, allocations: 8.969 kB / 1.113 GB, free: 265.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/1.328, allocations: 3.469 kB / 1.113 GB, free: 265.4 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.2e-05/1.329, allocations: 25.62 kB / 1.113 GB, free: 265.4 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002803/1.331, allocations: 0.6985 MB / 1.113 GB, free: 265.3 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.073e-05/1.331, allocations: 26.42 kB / 1.113 GB, free: 265.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003099/1.334, allocations: 479.6 kB / 1.114 GB, free: 265 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002117/1.335, allocations: 119.1 kB / 1.114 GB, free: 264.9 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.001264/1.336, allocations: 0.7995 MB / 1.115 GB, free: 264.4 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004985/1.336, allocations: 294.9 kB / 1.115 GB, free: 264.3 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006157/1.343, allocations: 4.424 MB / 1.119 GB, free: 261 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/1.343, allocations: 40 kB / 1.119 GB, free: 260.9 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/1.343, allocations: 1.062 kB / 1.119 GB, free: 260.9 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004264/1.347, allocations: 3.795 MB / 1.123 GB, free: 257.1 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/1.358, allocations: 8.637 MB / 1.131 GB, free: 248.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/1.358, allocations: 4 kB / 1.131 GB, free: 248.4 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003052/1.361, allocations: 0.7217 MB / 1.132 GB, free: 247.7 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.957e-05/1.361, allocations: 16 kB / 1.132 GB, free: 247.6 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002221/1.362, allocations: 91.91 kB / 1.132 GB, free: 247.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.566e-05/1.362, allocations: 19.19 kB / 1.132 GB, free: 247.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.362, allocations: 0 / 1.132 GB, free: 247.5 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007949/1.37, allocations: 6.571 MB / 1.139 GB, free: 240.9 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001739/1.371, allocations: 0.7933 MB / 1.139 GB, free: 240.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004433/1.372, allocations: 71.94 kB / 1.14 GB, free: 240 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002447/1.374, allocations: 272.5 kB / 1.14 GB, free: 239.8 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003879/1.375, allocations: 230.6 kB / 1.14 GB, free: 239.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002011/1.375, allocations: 119.8 kB / 1.14 GB, free: 239.4 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001288/1.376, allocations: 1.153 MB / 1.141 GB, free: 238.2 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.7e-07/1.376, allocations: 4 kB / 1.141 GB, free: 238.2 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002667/1.379, allocations: 1.232 MB / 1.142 GB, free: 237 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.0008063/1.38, allocations: 468.3 kB / 1.143 GB, free: 236.6 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01835/1.398, allocations: 9.83 MB / 1.152 GB, free: 226.8 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/1.398, allocations: 5.031 kB / 1.152 GB, free: 226.8 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002461/1.401, allocations: 2.149 MB / 1.155 GB, free: 224.7 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006841/1.407, allocations: 1.607 MB / 1.156 GB, free: 223.2 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/1.418, allocations: 9.169 MB / 1.165 GB, free: 214.1 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/1.419, allocations: 2.201 MB / 1.167 GB, free: 211.8 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004135/1.424, allocations: 1.208 MB / 1.168 GB, free: 210.6 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009352/1.425, allocations: 267.4 kB / 1.169 GB, free: 210.4 MB / 0.7637 GB Notification: Performance of SimCode: time 6.01e-07/1.425, allocations: 0 / 1.169 GB, free: 210.4 MB / 0.7637 GB Notification: Performance of Templates: time 0.08031/1.505, allocations: 61.57 MB / 1.229 GB, free: 149.7 MB / 0.7637 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)