Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.4/1.4, allocations: 288.4 MB / 303.6 MB, free: 8.078 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009152/0.0009152, allocations: 191.2 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.129/1.129, allocations: 205.4 MB / 0.631 GB, free: 9.809 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007324/0.0007323, allocations: 94.36 kB / 0.7444 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003307, allocations: 10.81 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1472, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.5355/0.6827, allocations: 287.1 MB / 1.261 GB, free: 11.36 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.02137/0.7042, allocations: 17.17 MB / 1.277 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002305/0.7065, allocations: 71.56 kB / 1.277 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.003638/0.7101, allocations: 1.679 MB / 1.279 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.01267/0.7228, allocations: 6.369 MB / 1.285 GB, free: 2.004 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.006045/0.7289, allocations: 2.583 MB / 1.288 GB, free: 15.43 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.009841/0.7387, allocations: 10.97 MB / 1.298 GB, free: 4.43 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002872/0.7416, allocations: 2.559 MB / 1.301 GB, free: 1.824 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003717/0.7453, allocations: 2.857 MB / 1.304 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003604/0.749, allocations: 3.149 MB / 1.307 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0003665/0.7493, allocations: 204 kB / 1.307 GB, free: 11.6 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01204/0.7614, allocations: 7.944 MB / 1.315 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001346/0.7627, allocations: 1.465 MB / 1.316 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.002048/0.7648, allocations: 1.997 MB / 1.318 GB, free: 160 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.006161/0.771, allocations: 5.916 MB / 1.324 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.771, allocations: 0 / 1.324 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.332e-06/0.771, allocations: 3.938 kB / 1.324 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.573e-05/0.771, allocations: 4 kB / 1.324 GB, free: 10.22 MB / 0.8542 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.009258/0.7803, allocations: 4.312 MB / 1.328 GB, free: 5.84 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.7803, allocations: 15.97 kB / 1.328 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004778/0.7808, allocations: 463.5 kB / 1.329 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005049/0.7859, allocations: 0.9983 MB / 1.33 GB, free: 4.355 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002917/0.7888, allocations: 2.146 MB / 1.332 GB, free: 2.156 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.789, allocations: 246.4 kB / 1.332 GB, free: 1.914 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004067/0.7894, allocations: 327.9 kB / 1.332 GB, free: 1.594 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005777/0.7952, allocations: 4.205 MB / 1.336 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.975e-05/0.7952, allocations: 7.906 kB / 1.336 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002802/0.7955, allocations: 136 kB / 1.336 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001379/0.7957, allocations: 166.4 kB / 1.337 GB, free: 13 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006608/0.8023, allocations: 4.752 MB / 1.341 GB, free: 8.238 MB / 0.8698 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.01492/0.8172, allocations: 14.38 MB / 1.355 GB, free: 8.883 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005247/0.8225, allocations: 4.544 MB / 1.36 GB, free: 4.328 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003017/0.8255, allocations: 2.436 MB / 1.362 GB, free: 1.887 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001472/0.827, allocations: 1.62 MB / 1.364 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.827, allocations: 80.73 kB / 1.364 GB, free: 15.85 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=392): time 6.202e-06/0.8271, allocations: 0 / 1.364 GB, free: 15.85 MB / 0.9011 GB Notification: Performance of matching and sorting (n=392): time 0.007501/0.8346, allocations: 5.496 MB / 1.369 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.8346, allocations: 94.48 kB / 1.369 GB, free: 10.22 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.8363, allocations: 1.644 MB / 1.371 GB, free: 8.535 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001768/0.8365, allocations: 93.7 kB / 1.371 GB, free: 8.438 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006473/0.8372, allocations: 1.128 MB / 1.372 GB, free: 7.297 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008177/0.838, allocations: 1.324 MB / 1.373 GB, free: 5.953 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.8382, allocations: 64 kB / 1.373 GB, free: 5.891 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.8383, allocations: 445 kB / 1.374 GB, free: 5.449 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002126/0.8405, allocations: 1.545 MB / 1.375 GB, free: 3.902 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002383/0.8429, allocations: 1.931 MB / 1.377 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004871/0.8477, allocations: 3.746 MB / 1.381 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.8478, allocations: 0 / 1.381 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005567/0.8533, allocations: 4.139 MB / 1.385 GB, free: 9.895 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.8534, allocations: 8 kB / 1.385 GB, free: 9.887 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.8534, allocations: 8.031 kB / 1.385 GB, free: 9.879 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.8534, allocations: 20 kB / 1.385 GB, free: 9.859 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002622/0.856, allocations: 0.6904 MB / 1.386 GB, free: 9.168 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.617e-05/0.8561, allocations: 23.94 kB / 1.386 GB, free: 9.145 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002493/0.8586, allocations: 431.5 kB / 1.386 GB, free: 8.723 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002045/0.8588, allocations: 120 kB / 1.386 GB, free: 8.605 MB / 0.9167 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001095/0.8599, allocations: 0.7976 MB / 1.387 GB, free: 7.797 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003574/0.8603, allocations: 288.5 kB / 1.387 GB, free: 7.512 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006129/0.8664, allocations: 4.405 MB / 1.391 GB, free: 3.07 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.83e-05/0.8664, allocations: 36 kB / 1.392 GB, free: 3.035 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.8665, allocations: 0 / 1.392 GB, free: 3.035 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004782/0.8712, allocations: 3.76 MB / 1.395 GB, free: 15.21 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/0.8826, allocations: 8.597 MB / 1.404 GB, free: 6.445 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.8826, allocations: 4 kB / 1.404 GB, free: 6.441 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002938/0.8855, allocations: 0.7298 MB / 1.404 GB, free: 5.711 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.749e-05/0.8856, allocations: 16 kB / 1.404 GB, free: 5.695 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001937/0.8858, allocations: 87.97 kB / 1.404 GB, free: 5.609 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.602e-05/0.8858, allocations: 19.98 kB / 1.404 GB, free: 5.59 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.8858, allocations: 0 / 1.404 GB, free: 5.59 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008436/0.8942, allocations: 6.789 MB / 1.411 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/0.8955, allocations: 0.7972 MB / 1.412 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003205/0.8958, allocations: 72 kB / 1.412 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002077/0.8979, allocations: 257.4 kB / 1.412 GB, free: 13.57 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004004/0.8983, allocations: 242.5 kB / 1.412 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002127/0.8986, allocations: 116 kB / 1.412 GB, free: 13.21 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001329/0.8999, allocations: 1.125 MB / 1.414 GB, free: 12.07 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8999, allocations: 0 / 1.414 GB, free: 12.07 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002061/0.902, allocations: 1.24 MB / 1.415 GB, free: 10.82 MB / 0.948 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 (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.009484/0.9115, allocations: 7.706 MB / 1.422 GB, free: 3.027 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.2858/1.197, allocations: 3.901 MB / 1.426 GB, free: 348.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/1.197, allocations: 2.219 kB / 1.426 GB, free: 348.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002876/1.2, allocations: 2.144 MB / 1.428 GB, free: 348.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00679/1.207, allocations: 1.513 MB / 1.43 GB, free: 348.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02977/1.237, allocations: 22.99 MB / 1.452 GB, free: 336 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001683/1.238, allocations: 2.202 MB / 1.454 GB, free: 335.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004115/1.243, allocations: 1.191 MB / 1.455 GB, free: 334.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00164/1.244, allocations: 1.365 MB / 1.457 GB, free: 333.9 MB / 0.948 GB Notification: Performance of SimCode: time 6.32e-07/1.244, allocations: 1 kB / 1.457 GB, free: 333.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6324/1.877, allocations: 85.65 MB / 1.54 GB, free: 265.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000122/1.877, allocations: 241.3 kB / 1.541 GB, free: 265.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.362/6.239, allocations: 0 / 1.541 GB, free: 265.5 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)