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.0016/0.0016, allocations: 105.4 kB / 15.7 MB, free: 28 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.001368/0.001368, allocations: 192.8 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.142/2.142, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.831/1.831, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001355/0.001355, allocations: 70.09 kB / 0.6718 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4024, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.329/1.731, allocations: 314.1 MB / 1.09 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0555/1.787, allocations: 18.28 MB / 1.108 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01043/1.797, allocations: 87.56 kB / 1.108 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01243/1.81, allocations: 2.156 MB / 1.11 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.03745/1.847, allocations: 7.222 MB / 1.117 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01668/1.864, allocations: 3.275 MB / 1.121 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02087/1.885, allocations: 9.057 MB / 1.129 GB, free: 4.785 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01024/1.895, allocations: 3.101 MB / 1.133 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01323/1.908, allocations: 3.313 MB / 1.136 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01236/1.921, allocations: 3.224 MB / 1.139 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002497/1.923, allocations: 404 kB / 1.139 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0284/1.952, allocations: 7.007 MB / 1.146 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.005118/1.957, allocations: 1.691 MB / 1.148 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.007752/1.965, allocations: 2.295 MB / 1.15 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.02412/1.989, allocations: 8.197 MB / 1.158 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/1.989, allocations: 0 / 1.158 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.625e-06/1.989, allocations: 4 kB / 1.158 GB, free: 7.445 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002925/1.989, allocations: 0 / 1.158 GB, free: 7.445 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.01985/2.009, allocations: 4.974 MB / 1.163 GB, free: 2.402 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/2.009, allocations: 8.031 kB / 1.163 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001176/2.01, allocations: 463.5 kB / 1.163 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007112/2.018, allocations: 1.006 MB / 1.164 GB, free: 0.918 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005473/2.023, allocations: 2.236 MB / 1.167 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/2.023, allocations: 238.5 kB / 1.167 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007055/2.024, allocations: 331.9 kB / 1.167 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007817/2.032, allocations: 4.235 MB / 1.171 GB, free: 9.746 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-05/2.032, allocations: 7.984 kB / 1.171 GB, free: 9.738 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003261/2.032, allocations: 132 kB / 1.171 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002249/2.033, allocations: 174.3 kB / 1.171 GB, free: 9.438 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01183/2.044, allocations: 4.779 MB / 1.176 GB, free: 4.648 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.02855/2.073, allocations: 14.4 MB / 1.19 GB, free: 5.281 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007944/2.081, allocations: 4.568 MB / 1.195 GB, free: 0.7148 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004606/2.086, allocations: 2.448 MB / 1.197 GB, free: 14.26 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00218/2.088, allocations: 1.608 MB / 1.199 GB, free: 12.32 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/2.088, allocations: 73.64 kB / 1.199 GB, free: 12.24 MB / 0.92 GB Notification: Performance of pre-optimization done (n=392): time 7.765e-06/2.088, allocations: 4 kB / 1.199 GB, free: 12.23 MB / 0.92 GB Notification: Performance of matching and sorting (n=392): time 0.01316/2.101, allocations: 5.539 MB / 1.204 GB, free: 6.672 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/2.101, allocations: 90.48 kB / 1.204 GB, free: 6.57 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003715/2.105, allocations: 1.667 MB / 1.206 GB, free: 4.859 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0007613/2.106, allocations: 93.7 kB / 1.206 GB, free: 4.762 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001163/2.107, allocations: 1.128 MB / 1.207 GB, free: 3.621 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001852/2.109, allocations: 1.317 MB / 1.208 GB, free: 2.285 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001832/2.111, allocations: 0.5546 MB / 1.209 GB, free: 1.723 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001438/2.111, allocations: 305.1 kB / 1.209 GB, free: 1.422 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003179/2.114, allocations: 1.56 MB / 1.211 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003303/2.117, allocations: 1.935 MB / 1.213 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006589/2.124, allocations: 3.781 MB / 1.216 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.749e-05/2.124, allocations: 0 / 1.216 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008149/2.132, allocations: 4.165 MB / 1.22 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/2.132, allocations: 8 kB / 1.22 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/2.132, allocations: 4 kB / 1.22 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.552e-05/2.132, allocations: 20 kB / 1.22 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003089/2.135, allocations: 0.6989 MB / 1.221 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.182e-05/2.135, allocations: 20 kB / 1.221 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002942/2.138, allocations: 257.1 kB / 1.221 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004015/2.139, allocations: 116 kB / 1.221 GB, free: 4.664 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.001868/2.141, allocations: 0.8042 MB / 1.222 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/2.142, allocations: 288.6 kB / 1.222 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008333/2.15, allocations: 4.422 MB / 1.227 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.107e-05/2.15, allocations: 40 kB / 1.227 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.907e-05/2.15, allocations: 0 / 1.227 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006171/2.156, allocations: 3.78 MB / 1.231 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01984/2.176, allocations: 8.619 MB / 1.239 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/2.176, allocations: 4 kB / 1.239 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003701/2.18, allocations: 0.726 MB / 1.24 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.697e-05/2.18, allocations: 16 kB / 1.24 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005669/2.181, allocations: 92.03 kB / 1.24 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.254e-05/2.181, allocations: 19.94 kB / 1.24 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/2.181, allocations: 0 / 1.24 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01314/2.194, allocations: 6.833 MB / 1.246 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002692/2.197, allocations: 0.7933 MB / 1.247 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008723/2.198, allocations: 72 kB / 1.247 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002659/2.2, allocations: 87.91 kB / 1.247 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005015/2.201, allocations: 238.5 kB / 1.248 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003243/2.201, allocations: 120 kB / 1.248 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002165/2.203, allocations: 1.145 MB / 1.249 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5.51e-07/2.203, allocations: 0 / 1.249 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003209/2.207, allocations: 1.228 MB / 1.25 GB, free: 6.934 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.01147/2.218, allocations: 7.728 MB / 1.258 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006906/2.225, allocations: 3.955 MB / 1.261 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/2.225, allocations: 0 / 1.261 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003718/2.229, allocations: 2.153 MB / 1.264 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009924/2.239, allocations: 1.608 MB / 1.265 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4896/2.728, allocations: 25.52 MB / 1.29 GB, free: 389.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002303/2.731, allocations: 2.2 MB / 1.292 GB, free: 388.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004638/2.735, allocations: 1.196 MB / 1.293 GB, free: 388.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002196/2.738, allocations: 1.368 MB / 1.295 GB, free: 388.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.162e-06/2.738, allocations: 2.938 kB / 1.295 GB, free: 388.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1457/2.883, allocations: 84.89 MB / 1.378 GB, free: 334.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.15/18.03, allocations: 11.19 kB / 1.378 GB, free: 334.7 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)