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.04295/0.04295, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.00195/0.00195, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.906/1.906, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.02264/0.02264, allocations: 288.9 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 2.144/2.144, allocations: 169.2 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001984, allocations: 95.84 kB / 0.6814 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6494/0.6514, allocations: 86.98 MB / 0.7664 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.098/1.75, allocations: 314.1 MB / 1.073 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03504/1.785, allocations: 18.46 MB / 1.091 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008158/1.793, allocations: 88.97 kB / 1.091 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00967/1.803, allocations: 2.148 MB / 1.093 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02892/1.832, allocations: 7.317 MB / 1.101 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01304/1.845, allocations: 3.226 MB / 1.104 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01724/1.862, allocations: 9.095 MB / 1.113 GB, free: 6.465 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007621/1.87, allocations: 3.112 MB / 1.116 GB, free: 3.289 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01069/1.88, allocations: 3.348 MB / 1.119 GB, free: 15.93 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008781/1.889, allocations: 3.24 MB / 1.122 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.002366/1.892, allocations: 404 kB / 1.122 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02136/1.913, allocations: 6.995 MB / 1.129 GB, free: 5.281 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.004101/1.917, allocations: 1.687 MB / 1.131 GB, free: 3.59 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.007862/1.925, allocations: 2.31 MB / 1.133 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.02559/1.951, allocations: 8.193 MB / 1.141 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/1.951, allocations: 0 / 1.141 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.424e-06/1.951, allocations: 0 / 1.141 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.000702/1.952, allocations: 0 / 1.141 GB, free: 9.055 MB / 0.7794 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.02257/1.974, allocations: 4.997 MB / 1.146 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.785e-05/1.974, allocations: 12.03 kB / 1.146 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008602/1.983, allocations: 0.9984 MB / 1.147 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00834/1.991, allocations: 2.255 MB / 1.149 GB, free: 0.6641 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003196/1.992, allocations: 242.4 kB / 1.149 GB, free: 436 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001856/1.993, allocations: 331.9 kB / 1.15 GB, free: 104 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01336/2.007, allocations: 4.238 MB / 1.154 GB, free: 11.78 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004253/2.007, allocations: 8 kB / 1.154 GB, free: 11.77 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001169/2.008, allocations: 136 kB / 1.154 GB, free: 11.64 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002377/2.009, allocations: 166.3 kB / 1.154 GB, free: 11.48 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01213/2.021, allocations: 4.78 MB / 1.159 GB, free: 6.688 MB / 0.795 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.03169/2.053, allocations: 14.44 MB / 1.173 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009048/2.062, allocations: 4.554 MB / 1.177 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005233/2.067, allocations: 2.455 MB / 1.18 GB, free: 276 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002293/2.069, allocations: 1.604 MB / 1.181 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003151/2.07, allocations: 81.58 kB / 1.181 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=392): time 1.609e-05/2.07, allocations: 0 / 1.181 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of matching and sorting (n=392): time 0.01438/2.084, allocations: 5.539 MB / 1.187 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.421e-05/2.084, allocations: 94.48 kB / 1.187 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003692/2.088, allocations: 1.685 MB / 1.189 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0009308/2.089, allocations: 89.7 kB / 1.189 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001107/2.09, allocations: 1.132 MB / 1.19 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.002264/2.092, allocations: 1.32 MB / 1.191 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001966/2.094, allocations: 0.5508 MB / 1.192 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001049/2.094, allocations: 305.1 kB / 1.192 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003243/2.098, allocations: 1.564 MB / 1.193 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003838/2.102, allocations: 1.916 MB / 1.195 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007498/2.109, allocations: 3.77 MB / 1.199 GB, free: 12 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-05/2.109, allocations: 0 / 1.199 GB, free: 12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01063/2.12, allocations: 4.185 MB / 1.203 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.179e-05/2.12, allocations: 10.97 kB / 1.203 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/2.12, allocations: 4 kB / 1.203 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002899/2.12, allocations: 20 kB / 1.203 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003897/2.124, allocations: 0.6905 MB / 1.204 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001069/2.124, allocations: 23.94 kB / 1.204 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004423/2.129, allocations: 265.1 kB / 1.204 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007712/2.13, allocations: 120 kB / 1.204 GB, free: 6.668 MB / 0.8419 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.003039/2.133, allocations: 0.7976 MB / 1.205 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001615/2.134, allocations: 292.5 kB / 1.205 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0106/2.145, allocations: 4.425 MB / 1.21 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.379e-05/2.145, allocations: 39.98 kB / 1.21 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.936e-05/2.145, allocations: 0 / 1.21 GB, free: 1.07 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00724/2.152, allocations: 3.792 MB / 1.213 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01972/2.172, allocations: 8.644 MB / 1.222 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.17e-05/2.172, allocations: 4 kB / 1.222 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004007/2.176, allocations: 0.7181 MB / 1.222 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.539e-05/2.176, allocations: 23.98 kB / 1.222 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007299/2.177, allocations: 87.97 kB / 1.223 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-05/2.177, allocations: 19.94 kB / 1.223 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/2.177, allocations: 7.938 kB / 1.223 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/2.19, allocations: 6.572 MB / 1.229 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002762/2.193, allocations: 0.7972 MB / 1.23 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001276/2.194, allocations: 72 kB / 1.23 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003177/2.197, allocations: 90.2 kB / 1.23 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007947/2.198, allocations: 230.6 kB / 1.23 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005182/2.199, allocations: 116 kB / 1.23 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002679/2.201, allocations: 1.153 MB / 1.231 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.11e-07/2.201, allocations: 0 / 1.231 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.005228/2.207, allocations: 1.228 MB / 1.233 GB, free: 9.152 MB / 0.8731 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.002141/2.209, allocations: 465 kB / 1.233 GB, free: 8.695 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.009466/2.218, allocations: 3.952 MB / 1.237 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/2.218, allocations: 0 / 1.237 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.004411/2.223, allocations: 2.152 MB / 1.239 GB, free: 2.578 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01134/2.234, allocations: 1.599 MB / 1.241 GB, free: 1.012 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01863/2.253, allocations: 7.672 MB / 1.248 GB, free: 9.27 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003617/2.256, allocations: 2.209 MB / 1.25 GB, free: 7.023 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.006316/2.263, allocations: 1.208 MB / 1.251 GB, free: 5.809 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001921/2.265, allocations: 271.4 kB / 1.252 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of SimCode: time 1.022e-06/2.265, allocations: 0 / 1.252 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of Templates: time 0.1181/2.383, allocations: 62.66 MB / 1.313 GB, free: 7.648 MB / 0.9512 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)