Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 195.7 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.1 MB / 222.4 MB, free: 4.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.642/1.642, allocations: 292.3 MB / 0.5489 GB, free: 12.79 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 73.69 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2536, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7717/1.025, allocations: 314.1 MB / 1.09 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03002/1.055, allocations: 18.28 MB / 1.108 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005063/1.061, allocations: 83.56 kB / 1.108 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.006462/1.067, allocations: 2.148 MB / 1.11 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.02077/1.088, allocations: 7.233 MB / 1.117 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.009321/1.097, allocations: 3.247 MB / 1.12 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01126/1.108, allocations: 9.062 MB / 1.129 GB, free: 4.93 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004592/1.113, allocations: 3.105 MB / 1.132 GB, free: 1.77 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006336/1.119, allocations: 3.298 MB / 1.136 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005823/1.125, allocations: 3.232 MB / 1.139 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001252/1.127, allocations: 404 kB / 1.139 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01578/1.142, allocations: 6.995 MB / 1.146 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002846/1.145, allocations: 1.695 MB / 1.148 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.005281/1.151, allocations: 2.295 MB / 1.15 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.02007/1.171, allocations: 8.142 MB / 1.158 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.914e-06/1.171, allocations: 3.938 kB / 1.158 GB, free: 7.652 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.344e-06/1.171, allocations: 0 / 1.158 GB, free: 7.652 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001789/1.171, allocations: 0 / 1.158 GB, free: 7.652 MB / 0.8731 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.01441/1.185, allocations: 4.982 MB / 1.163 GB, free: 2.602 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/1.185, allocations: 15.97 kB / 1.163 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006732/1.186, allocations: 455.5 kB / 1.163 GB, free: 2.129 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006645/1.193, allocations: 1.002 MB / 1.164 GB, free: 1.121 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003935/1.197, allocations: 2.15 MB / 1.166 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/1.197, allocations: 246.4 kB / 1.166 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005361/1.197, allocations: 331.9 kB / 1.167 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006928/1.204, allocations: 4.235 MB / 1.171 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-05/1.204, allocations: 3.938 kB / 1.171 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002994/1.205, allocations: 136 kB / 1.171 GB, free: 9.895 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000154/1.205, allocations: 170.4 kB / 1.171 GB, free: 9.727 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007412/1.212, allocations: 4.772 MB / 1.176 GB, free: 4.945 MB / 0.8887 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.01812/1.231, allocations: 14.5 MB / 1.19 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005699/1.236, allocations: 4.571 MB / 1.194 GB, free: 0.8984 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003343/1.24, allocations: 2.448 MB / 1.197 GB, free: 14.45 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001543/1.241, allocations: 1.608 MB / 1.198 GB, free: 12.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.805e-05/1.241, allocations: 77.64 kB / 1.198 GB, free: 12.42 MB / 0.92 GB Notification: Performance of pre-optimization done (n=392): time 6.222e-06/1.241, allocations: 3.984 kB / 1.198 GB, free: 12.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=392): time 0.009418/1.251, allocations: 5.531 MB / 1.204 GB, free: 6.859 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/1.251, allocations: 94.42 kB / 1.204 GB, free: 6.754 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003063/1.254, allocations: 1.667 MB / 1.206 GB, free: 5.043 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0006158/1.255, allocations: 93.7 kB / 1.206 GB, free: 4.945 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008734/1.255, allocations: 1.132 MB / 1.207 GB, free: 3.801 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.00158/1.257, allocations: 1.317 MB / 1.208 GB, free: 2.465 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009396/1.258, allocations: 0.5585 MB / 1.209 GB, free: 1.898 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.449e-05/1.258, allocations: 305.1 kB / 1.209 GB, free: 1.598 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002397/1.26, allocations: 1.56 MB / 1.21 GB, free: 36 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002647/1.263, allocations: 1.931 MB / 1.212 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005495/1.269, allocations: 3.777 MB / 1.216 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/1.269, allocations: 3.938 kB / 1.216 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00697/1.276, allocations: 4.165 MB / 1.22 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/1.276, allocations: 11.94 kB / 1.22 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/1.276, allocations: 4 kB / 1.22 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.584e-05/1.276, allocations: 20 kB / 1.22 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002933/1.279, allocations: 0.695 MB / 1.221 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.608e-05/1.279, allocations: 23.94 kB / 1.221 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002831/1.282, allocations: 261.1 kB / 1.221 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002243/1.282, allocations: 112 kB / 1.221 GB, free: 4.844 MB / 0.9356 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.001523/1.283, allocations: 0.8042 MB / 1.222 GB, free: 4.031 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007441/1.284, allocations: 288.6 kB / 1.222 GB, free: 3.746 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007014/1.291, allocations: 4.417 MB / 1.227 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.74e-05/1.291, allocations: 36 kB / 1.227 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/1.291, allocations: 7.984 kB / 1.227 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005426/1.297, allocations: 3.784 MB / 1.23 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01403/1.311, allocations: 8.609 MB / 1.239 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/1.311, allocations: 4 kB / 1.239 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00334/1.314, allocations: 0.7337 MB / 1.239 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.769e-05/1.314, allocations: 16 kB / 1.239 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002607/1.314, allocations: 87.97 kB / 1.24 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.805e-05/1.314, allocations: 16 kB / 1.24 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.314, allocations: 7.938 kB / 1.24 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009986/1.324, allocations: 6.816 MB / 1.246 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00235/1.327, allocations: 0.7972 MB / 1.247 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006482/1.328, allocations: 72.06 kB / 1.247 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002227/1.33, allocations: 91.09 kB / 1.247 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000448/1.33, allocations: 234.6 kB / 1.247 GB, free: 9.641 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002578/1.33, allocations: 112 kB / 1.247 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001701/1.332, allocations: 1.149 MB / 1.249 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5.21e-07/1.332, allocations: 0 / 1.249 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003974/1.336, allocations: 1.228 MB / 1.25 GB, free: 7.129 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.U,volBotEas.dynBal.m,volBotEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.U,volBotWes.dynBal.m,volBotWes.dynBal.mXi[1],oriEasTop.mExc,volTopEas.dynBal.U,volTopEas.dynBal.m,volTopEas.dynBal.mXi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,volTopWes.dynBal.mXi[1],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.01257/1.349, allocations: 7.741 MB / 1.257 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.02125/1.37, allocations: 9.837 MB / 1.267 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/1.37, allocations: 4 kB / 1.267 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003901/1.374, allocations: 2.154 MB / 1.269 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009828/1.384, allocations: 1.612 MB / 1.271 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4602/1.844, allocations: 28.58 MB / 1.299 GB, free: 387 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001898/1.846, allocations: 2.197 MB / 1.301 GB, free: 386.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004176/1.85, allocations: 1.201 MB / 1.302 GB, free: 386.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00192/1.852, allocations: 1.367 MB / 1.303 GB, free: 385.1 MB / 0.9981 GB Notification: Performance of SimCode: time 7.81e-07/1.852, allocations: 0 / 1.303 GB, free: 385.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1253/1.978, allocations: 84.91 MB / 1.386 GB, free: 325.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/12.86, allocations: 7.938 kB / 1.386 GB, free: 325.2 MB / 0.9981 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)