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.412/1.412, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001014/0.001014, allocations: 179.3 kB / 326.5 MB, free: 2.238 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.544/1.544, allocations: 205.4 MB / 0.5775 GB, free: 20.57 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.0008396/0.0008395, allocations: 98.33 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005517/0.000552, allocations: 11.62 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2777, allocations: 106.3 MB / 0.9001 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7093/0.987, allocations: 239.8 MB / 1.134 GB, free: 2.516 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02255/1.01, allocations: 17.08 MB / 1.151 GB, free: 2.25 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003689/1.013, allocations: 59.69 kB / 1.151 GB, free: 2.25 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005494/1.019, allocations: 1.658 MB / 1.153 GB, free: 2.246 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01638/1.035, allocations: 4.834 MB / 1.157 GB, free: 1.359 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007847/1.043, allocations: 2.294 MB / 1.16 GB, free: 436 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008985/1.052, allocations: 4.514 MB / 1.164 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003461/1.056, allocations: 1.984 MB / 1.166 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005775/1.061, allocations: 2.337 MB / 1.168 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00371/1.065, allocations: 1.728 MB / 1.17 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0005456/1.066, allocations: 163.3 kB / 1.17 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008023/1.074, allocations: 2.432 MB / 1.172 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001615/1.075, allocations: 1.071 MB / 1.174 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001815/1.077, allocations: 0.6766 MB / 1.174 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.007735/1.085, allocations: 4.157 MB / 1.178 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.085, allocations: 0 / 1.178 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.645e-06/1.085, allocations: 0 / 1.178 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001481/1.085, allocations: 2.969 kB / 1.178 GB, free: 10.15 MB / 0.7136 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.01019/1.095, allocations: 3.483 MB / 1.182 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/1.095, allocations: 9.188 kB / 1.182 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001138/1.097, allocations: 373.9 kB / 1.182 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006663/1.103, allocations: 0.933 MB / 1.183 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004123/1.107, allocations: 1.773 MB / 1.185 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/1.108, allocations: 197.6 kB / 1.185 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004605/1.108, allocations: 265.4 kB / 1.185 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005751/1.114, allocations: 3.326 MB / 1.188 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.317e-05/1.114, allocations: 7.906 kB / 1.188 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002662/1.114, allocations: 107.3 kB / 1.188 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001676/1.114, allocations: 141.8 kB / 1.189 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005523/1.12, allocations: 3.489 MB / 1.192 GB, free: 1.891 MB / 0.7136 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.01615/1.136, allocations: 12.14 MB / 1.204 GB, free: 5.559 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004355/1.14, allocations: 3.469 MB / 1.207 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001428/1.142, allocations: 1.504 MB / 1.209 GB, free: 212 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.017e-05/1.142, allocations: 68.73 kB / 1.209 GB, free: 132 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=278): time 4.939e-06/1.142, allocations: 4 kB / 1.209 GB, free: 128 kB / 0.7292 GB Notification: Performance of matching and sorting (n=278): time 0.006361/1.148, allocations: 3.819 MB / 1.213 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/1.148, allocations: 85.59 kB / 1.213 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/1.15, allocations: 1.372 MB / 1.214 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002288/1.151, allocations: 77.7 kB / 1.214 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007082/1.151, allocations: 0.9803 MB / 1.215 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008984/1.152, allocations: 0.9471 MB / 1.216 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/1.152, allocations: 52 kB / 1.216 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001763/1.153, allocations: 402.8 kB / 1.216 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/1.154, allocations: 1.077 MB / 1.217 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00185/1.156, allocations: 1.351 MB / 1.219 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001949/1.158, allocations: 1.27 MB / 1.22 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/1.158, allocations: 0 / 1.22 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004848/1.163, allocations: 2.92 MB / 1.223 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.905e-05/1.163, allocations: 8 kB / 1.223 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/1.163, allocations: 4 kB / 1.223 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.335e-05/1.163, allocations: 22.61 kB / 1.223 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002195/1.165, allocations: 0.5012 MB / 1.223 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.511e-05/1.165, allocations: 20.08 kB / 1.223 GB, free: 1.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/1.168, allocations: 337.8 kB / 1.224 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/1.168, allocations: 83.98 kB / 1.224 GB, free: 0.6328 MB / 0.7448 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.001287/1.17, allocations: 0.6565 MB / 1.224 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004882/1.17, allocations: 229.3 kB / 1.225 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004864/1.175, allocations: 3.076 MB / 1.228 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/1.175, allocations: 27.94 kB / 1.228 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/1.175, allocations: 0 / 1.228 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003679/1.179, allocations: 2.61 MB / 1.23 GB, free: 9.93 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/1.189, allocations: 6.17 MB / 1.236 GB, free: 3.656 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/1.189, allocations: 0 / 1.236 GB, free: 3.656 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002508/1.192, allocations: 0.5466 MB / 1.237 GB, free: 3.137 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.481e-05/1.192, allocations: 15.98 kB / 1.237 GB, free: 3.121 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001675/1.192, allocations: 55.98 kB / 1.237 GB, free: 3.066 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.187e-05/1.192, allocations: 8 kB / 1.237 GB, free: 3.059 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/1.192, allocations: 3.953 kB / 1.237 GB, free: 3.055 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006931/1.199, allocations: 4.739 MB / 1.241 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001822/1.201, allocations: 0.6188 MB / 1.242 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004298/1.201, allocations: 55.98 kB / 1.242 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002259/1.203, allocations: 238.3 kB / 1.242 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/1.204, allocations: 165.9 kB / 1.242 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/1.204, allocations: 79.97 kB / 1.243 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001304/1.205, allocations: 0.9462 MB / 1.243 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.01e-07/1.205, allocations: 0 / 1.243 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002277/1.207, allocations: 0.9939 MB / 1.244 GB, free: 11.12 MB / 0.7761 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.007283/1.215, allocations: 5.546 MB / 1.25 GB, free: 5.523 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0041/1.219, allocations: 2.725 MB / 1.253 GB, free: 2.805 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.219, allocations: 3.953 kB / 1.253 GB, free: 2.801 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001983/1.221, allocations: 1.49 MB / 1.254 GB, free: 1.359 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007316/1.228, allocations: 1.249 MB / 1.255 GB, free: 124 kB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/1.244, allocations: 11.76 MB / 1.267 GB, free: 4.062 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/1.245, allocations: 1.957 MB / 1.269 GB, free: 2.07 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.003412/1.249, allocations: 0.8356 MB / 1.269 GB, free: 1.23 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001585/1.25, allocations: 1.085 MB / 1.27 GB, free: 152 kB / 0.7917 GB Notification: Performance of SimCode: time 1.002e-06/1.25, allocations: 4 kB / 1.27 GB, free: 148 kB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1071/1.357, allocations: 67.01 MB / 1.336 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/1.357, allocations: 198.7 kB / 1.336 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.958/5.315, allocations: 4 kB / 1.336 GB, free: 13.5 MB / 0.8698 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)