Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.518/1.518, allocations: 252 MB / 267 MB, free: 10.96 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.001433/0.001432, allocations: 175 kB / 326.6 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.4 MB / 0.5777 GB, free: 20.5 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.0009313/0.0009312, allocations: 94.03 kB / 0.6823 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003717, allocations: 12.58 kB / 0.7964 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2408, allocations: 106.3 MB / 0.9003 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7775/1.018, allocations: 270 MB / 1.164 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0227/1.041, allocations: 15.93 MB / 1.18 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004036/1.045, allocations: 62.84 kB / 1.18 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004587/1.05, allocations: 1.239 MB / 1.181 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01663/1.066, allocations: 4.673 MB / 1.185 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01077/1.077, allocations: 2.117 MB / 1.187 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01446/1.092, allocations: 9.576 MB / 1.197 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004363/1.096, allocations: 1.97 MB / 1.199 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007064/1.103, allocations: 2.459 MB / 1.201 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006852/1.11, allocations: 2.663 MB / 1.204 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.001102/1.111, allocations: 156 kB / 1.204 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01495/1.126, allocations: 3.055 MB / 1.207 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.002834/1.129, allocations: 1.18 MB / 1.208 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001887/1.131, allocations: 0.6798 MB / 1.209 GB, free: 6.812 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.008521/1.14, allocations: 4.607 MB / 1.213 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.14, allocations: 0 / 1.213 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.414e-06/1.14, allocations: 0 / 1.213 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001414/1.14, allocations: 0 / 1.213 GB, free: 2.195 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 677 * Number of variables: 677 Notification: Performance of Generate backend data structure: time 0.01057/1.15, allocations: 3.609 MB / 1.217 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/1.15, allocations: 12.03 kB / 1.217 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000962/1.151, allocations: 375.2 kB / 1.217 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006284/1.158, allocations: 0.9132 MB / 1.218 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00394/1.162, allocations: 1.769 MB / 1.22 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/1.162, allocations: 201.2 kB / 1.22 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004057/1.162, allocations: 260 kB / 1.22 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005785/1.168, allocations: 3.347 MB / 1.223 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.88e-05/1.168, allocations: 7.906 kB / 1.223 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002727/1.168, allocations: 111.9 kB / 1.224 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001679/1.169, allocations: 141 kB / 1.224 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006495/1.175, allocations: 3.486 MB / 1.227 GB, free: 3.73 MB / 0.7448 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.01782/1.193, allocations: 12.13 MB / 1.239 GB, free: 6.699 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006258/1.199, allocations: 3.484 MB / 1.242 GB, free: 3.129 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004039/1.203, allocations: 1.791 MB / 1.244 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002049/1.205, allocations: 1.501 MB / 1.246 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.805e-05/1.205, allocations: 64.75 kB / 1.246 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=278): time 7.023e-06/1.205, allocations: 0 / 1.246 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=278): time 0.009813/1.215, allocations: 3.846 MB / 1.249 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.825e-05/1.215, allocations: 81.59 kB / 1.249 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002999/1.218, allocations: 1.376 MB / 1.251 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003046/1.219, allocations: 73.7 kB / 1.251 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001066/1.22, allocations: 0.9842 MB / 1.252 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001306/1.221, allocations: 0.9393 MB / 1.253 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/1.221, allocations: 48 kB / 1.253 GB, free: 7.988 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002547/1.222, allocations: 406.9 kB / 1.253 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002605/1.224, allocations: 1.075 MB / 1.254 GB, free: 6.508 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002968/1.227, allocations: 1.362 MB / 1.256 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003178/1.23, allocations: 1.275 MB / 1.257 GB, free: 3.773 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/1.23, allocations: 0 / 1.257 GB, free: 3.773 MB / 0.7761 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.007544/1.238, allocations: 2.931 MB / 1.26 GB, free: 0.7969 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/1.238, allocations: 8 kB / 1.26 GB, free: 0.7891 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/1.238, allocations: 4.562 kB / 1.26 GB, free: 0.7852 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.145e-05/1.238, allocations: 20 kB / 1.26 GB, free: 0.7656 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00329/1.241, allocations: 0.511 MB / 1.26 GB, free: 260 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-05/1.241, allocations: 23.88 kB / 1.26 GB, free: 236 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004456/1.246, allocations: 345.2 kB / 1.26 GB, free: 15.89 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002926/1.246, allocations: 83.98 kB / 1.261 GB, free: 15.81 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002065/1.248, allocations: 0.6555 MB / 1.261 GB, free: 15.15 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008866/1.249, allocations: 233.3 kB / 1.261 GB, free: 14.92 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007792/1.257, allocations: 3.077 MB / 1.264 GB, free: 11.79 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.403e-05/1.257, allocations: 24 kB / 1.264 GB, free: 11.76 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/1.257, allocations: 3.953 kB / 1.264 GB, free: 11.76 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006069/1.263, allocations: 2.626 MB / 1.267 GB, free: 9.062 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01693/1.28, allocations: 6.19 MB / 1.273 GB, free: 2.766 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/1.28, allocations: 3.984 kB / 1.273 GB, free: 2.762 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0039/1.284, allocations: 0.5501 MB / 1.274 GB, free: 2.211 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.279e-05/1.284, allocations: 8 kB / 1.274 GB, free: 2.203 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000315/1.285, allocations: 59.98 kB / 1.274 GB, free: 2.145 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.452e-05/1.285, allocations: 12 kB / 1.274 GB, free: 2.133 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.285, allocations: 0 / 1.274 GB, free: 2.133 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/1.296, allocations: 4.753 MB / 1.278 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00289/1.299, allocations: 0.6266 MB / 1.279 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009725/1.3, allocations: 52 kB / 1.279 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004096/1.304, allocations: 235.4 kB / 1.279 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005076/1.305, allocations: 165.9 kB / 1.279 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003727/1.305, allocations: 83.97 kB / 1.279 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002846/1.308, allocations: 0.9344 MB / 1.28 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.7e-07/1.308, allocations: 0 / 1.28 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004196/1.312, allocations: 1.002 MB / 1.281 GB, free: 10.19 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * 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 (278): * Single equations (assignments): 278 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01297/1.325, allocations: 5.566 MB / 1.287 GB, free: 4.535 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.006948/1.332, allocations: 2.736 MB / 1.289 GB, free: 1.77 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/1.332, allocations: 4.312 kB / 1.289 GB, free: 1.766 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.003414/1.336, allocations: 1.496 MB / 1.291 GB, free: 272 kB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009855/1.346, allocations: 1.297 MB / 1.292 GB, free: 14.98 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05051/1.396, allocations: 17.38 MB / 1.309 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003412/1.4, allocations: 1.907 MB / 1.311 GB, free: 10.66 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.006919/1.407, allocations: 0.8395 MB / 1.312 GB, free: 9.812 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003456/1.41, allocations: 1.089 MB / 1.313 GB, free: 8.727 MB / 0.8386 GB Notification: Performance of SimCode: time 1.523e-06/1.41, allocations: 0 / 1.313 GB, free: 8.727 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1621/1.572, allocations: 68.22 MB / 1.38 GB, free: 5.027 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002736/1.572, allocations: 210 kB / 1.38 GB, free: 4.781 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.808/6.38, allocations: 3.094 kB / 1.38 GB, free: 4.781 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)