Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.201/1.201, allocations: 251.5 MB / 266.7 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008939/0.0008939, allocations: 174.2 kB / 325.8 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.23/1.23, allocations: 205 MB / 0.576 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006381/0.0006381, allocations: 85.02 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00026/0.00026, allocations: 12.06 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1361, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.5316/0.6678, allocations: 312.2 MB / 1.201 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02203/0.6898, allocations: 18.65 MB / 1.219 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003057/0.6929, allocations: 75.56 kB / 1.219 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004272/0.6972, allocations: 1.882 MB / 1.221 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01459/0.7118, allocations: 6.87 MB / 1.228 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00682/0.7187, allocations: 3.064 MB / 1.231 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01138/0.7301, allocations: 13.36 MB / 1.244 GB, free: 3.805 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003133/0.7332, allocations: 2.607 MB / 1.246 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004529/0.7378, allocations: 2.958 MB / 1.249 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004947/0.7427, allocations: 3.289 MB / 1.253 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0004373/0.7432, allocations: 200 kB / 1.253 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01229/0.7555, allocations: 8.104 MB / 1.261 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001431/0.7569, allocations: 1.5 MB / 1.262 GB, free: 1.055 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002352/0.7593, allocations: 2.076 MB / 1.264 GB, free: 14.97 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.01064/0.7699, allocations: 8.485 MB / 1.272 GB, free: 6.461 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7699, allocations: 0 / 1.272 GB, free: 6.461 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.563e-06/0.77, allocations: 3.938 kB / 1.272 GB, free: 6.457 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.552e-05/0.77, allocations: 0 / 1.272 GB, free: 6.457 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.009122/0.7791, allocations: 4.346 MB / 1.277 GB, free: 2.043 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.7792, allocations: 12.03 kB / 1.277 GB, free: 2.031 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004868/0.7797, allocations: 463.8 kB / 1.277 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005288/0.785, allocations: 1.018 MB / 1.278 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002982/0.788, allocations: 2.146 MB / 1.28 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.7881, allocations: 246.5 kB / 1.28 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003798/0.7885, allocations: 331.9 kB / 1.281 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005529/0.794, allocations: 4.268 MB / 1.285 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-05/0.7941, allocations: 7.906 kB / 1.285 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002612/0.7944, allocations: 136 kB / 1.285 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001392/0.7945, allocations: 174.4 kB / 1.285 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006499/0.801, allocations: 4.799 MB / 1.29 GB, free: 4.305 MB / 0.8073 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.01511/0.8162, allocations: 14.42 MB / 1.304 GB, free: 4.91 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00507/0.8212, allocations: 4.539 MB / 1.308 GB, free: 376 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002951/0.8242, allocations: 2.44 MB / 1.311 GB, free: 13.92 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001393/0.8256, allocations: 1.62 MB / 1.312 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.8257, allocations: 81.58 kB / 1.312 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=392): time 4.889e-06/0.8257, allocations: 0 / 1.312 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=392): time 0.007628/0.8333, allocations: 5.519 MB / 1.318 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.8334, allocations: 90.48 kB / 1.318 GB, free: 6.238 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.8352, allocations: 1.688 MB / 1.32 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001709/0.8353, allocations: 93.7 kB / 1.32 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000632/0.836, allocations: 1.135 MB / 1.321 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000829/0.8368, allocations: 1.32 MB / 1.322 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002981/0.8371, allocations: 272.8 kB / 1.322 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.728e-05/0.8372, allocations: 305.1 kB / 1.323 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002088/0.8393, allocations: 1.556 MB / 1.324 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002327/0.8416, allocations: 1.927 MB / 1.326 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004817/0.8464, allocations: 3.75 MB / 1.33 GB, free: 9.945 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.8465, allocations: 7.938 kB / 1.33 GB, free: 9.938 MB / 0.8542 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005494/0.852, allocations: 4.154 MB / 1.334 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.852, allocations: 8 kB / 1.334 GB, free: 5.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.852, allocations: 7.938 kB / 1.334 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.852, allocations: 20 kB / 1.334 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002601/0.8546, allocations: 0.6949 MB / 1.335 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.41e-05/0.8547, allocations: 24 kB / 1.335 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/0.8572, allocations: 437.4 kB / 1.335 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002045/0.8574, allocations: 116 kB / 1.335 GB, free: 4.465 MB / 0.8542 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.001117/0.8585, allocations: 0.8054 MB / 1.336 GB, free: 3.648 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004003/0.8589, allocations: 292.5 kB / 1.336 GB, free: 3.359 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006036/0.865, allocations: 4.417 MB / 1.34 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/0.865, allocations: 43.94 kB / 1.34 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.865, allocations: 0 / 1.34 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004723/0.8697, allocations: 3.768 MB / 1.344 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/0.8809, allocations: 8.629 MB / 1.353 GB, free: 2.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.8809, allocations: 4 kB / 1.353 GB, free: 2.227 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002852/0.8837, allocations: 0.7257 MB / 1.353 GB, free: 1.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.625e-05/0.8838, allocations: 16 kB / 1.353 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001786/0.884, allocations: 92.03 kB / 1.353 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.421e-05/0.884, allocations: 15.94 kB / 1.353 GB, free: 1.379 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.884, allocations: 7.938 kB / 1.353 GB, free: 1.371 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008222/0.8922, allocations: 6.792 MB / 1.36 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/0.8935, allocations: 0.8089 MB / 1.361 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003417/0.8938, allocations: 68 kB / 1.361 GB, free: 9.582 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002097/0.8959, allocations: 296.7 kB / 1.361 GB, free: 9.297 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003731/0.8963, allocations: 234.6 kB / 1.361 GB, free: 9.066 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001931/0.8965, allocations: 116 kB / 1.362 GB, free: 8.953 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001285/0.8978, allocations: 1.161 MB / 1.363 GB, free: 7.77 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1e-07/0.8978, allocations: 3.938 kB / 1.363 GB, free: 7.766 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001973/0.8998, allocations: 1.24 MB / 1.364 GB, free: 6.523 MB / 0.8855 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.008928/0.9087, allocations: 7.722 MB / 1.371 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004935/0.9137, allocations: 3.916 MB / 1.375 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.9137, allocations: 1.312 kB / 1.375 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002497/0.9162, allocations: 2.149 MB / 1.377 GB, free: 8.637 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005975/0.9222, allocations: 1.528 MB / 1.379 GB, free: 7.117 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3022/1.224, allocations: 29.97 MB / 1.408 GB, free: 359.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001947/1.226, allocations: 2.216 MB / 1.41 GB, free: 358.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004003/1.23, allocations: 1.201 MB / 1.411 GB, free: 358.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001674/1.232, allocations: 1.373 MB / 1.413 GB, free: 358.6 MB / 0.9167 GB Notification: Performance of SimCode: time 5.81e-07/1.232, allocations: 0.75 kB / 1.413 GB, free: 358.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.211/1.443, allocations: 81.78 MB / 1.493 GB, free: 296.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001325/1.443, allocations: 262.8 kB / 1.493 GB, free: 296.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.359/5.803, allocations: 0 / 1.493 GB, free: 296.6 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)