Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.683/2.683, allocations: 287.5 MB / 302.4 MB, free: 8.305 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.001524/0.001524, allocations: 178.2 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.045/2.045, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.0009404/0.0009403, allocations: 90.16 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006584/0.0006586, allocations: 10.59 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2143, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.174/1.389, allocations: 287 MB / 1.259 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.03989/1.429, allocations: 17.17 MB / 1.276 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004677/1.433, allocations: 63.62 kB / 1.276 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.007025/1.44, allocations: 1.402 MB / 1.277 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.02165/1.462, allocations: 5.274 MB / 1.282 GB, free: 4.824 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.01081/1.473, allocations: 2.269 MB / 1.284 GB, free: 2.562 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.01968/1.493, allocations: 10.94 MB / 1.295 GB, free: 7.59 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006185/1.499, allocations: 2.365 MB / 1.297 GB, free: 5.199 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00871/1.508, allocations: 2.857 MB / 1.3 GB, free: 2.332 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008021/1.516, allocations: 3.153 MB / 1.303 GB, free: 15.17 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001637/1.517, allocations: 200 kB / 1.303 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01576/1.533, allocations: 3.476 MB / 1.307 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.003479/1.537, allocations: 1.476 MB / 1.308 GB, free: 10.01 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.002689/1.54, allocations: 0.7966 MB / 1.309 GB, free: 9.203 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.01296/1.553, allocations: 5.389 MB / 1.314 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.553, allocations: 0 / 1.314 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.096e-06/1.553, allocations: 4 kB / 1.314 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002181/1.553, allocations: 0 / 1.314 GB, free: 3.797 MB / 0.8386 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.02021/1.573, allocations: 4.355 MB / 1.319 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/1.573, allocations: 16.03 kB / 1.319 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001737/1.575, allocations: 459.5 kB / 1.319 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/1.585, allocations: 1.006 MB / 1.32 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00735/1.593, allocations: 2.062 MB / 1.322 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003767/1.593, allocations: 250.4 kB / 1.322 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001319/1.595, allocations: 323.9 kB / 1.323 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01428/1.609, allocations: 4.213 MB / 1.327 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000139/1.609, allocations: 4 kB / 1.327 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008081/1.61, allocations: 132 kB / 1.327 GB, free: 6.781 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003139/1.61, allocations: 186.3 kB / 1.327 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01676/1.627, allocations: 4.737 MB / 1.332 GB, free: 1.852 MB / 0.8542 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.03696/1.664, allocations: 14.37 MB / 1.346 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01241/1.676, allocations: 4.546 MB / 1.35 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007306/1.684, allocations: 2.44 MB / 1.352 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002893/1.687, allocations: 1.624 MB / 1.354 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000111/1.687, allocations: 73.64 kB / 1.354 GB, free: 9.469 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=392): time 7.785e-06/1.687, allocations: 0 / 1.354 GB, free: 9.469 MB / 0.8855 GB Notification: Performance of matching and sorting (n=392): time 0.01943/1.706, allocations: 5.492 MB / 1.359 GB, free: 3.953 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.788e-05/1.707, allocations: 94.48 kB / 1.36 GB, free: 3.848 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004035/1.711, allocations: 1.65 MB / 1.361 GB, free: 2.156 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0007333/1.711, allocations: 93.7 kB / 1.361 GB, free: 2.059 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001416/1.713, allocations: 1.128 MB / 1.362 GB, free: 0.918 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002292/1.715, allocations: 1.324 MB / 1.364 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003681/1.716, allocations: 64 kB / 1.364 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000442/1.716, allocations: 441.1 kB / 1.364 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005116/1.721, allocations: 1.553 MB / 1.366 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005804/1.727, allocations: 1.927 MB / 1.367 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00597/1.733, allocations: 1.835 MB / 1.369 GB, free: 9.668 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.158e-05/1.733, allocations: 0 / 1.369 GB, free: 9.668 MB / 0.9011 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01391/1.747, allocations: 4.138 MB / 1.373 GB, free: 5.504 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.51e-05/1.747, allocations: 18.31 kB / 1.373 GB, free: 5.488 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/1.747, allocations: 8 kB / 1.373 GB, free: 5.48 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.022e-05/1.747, allocations: 20 kB / 1.373 GB, free: 5.461 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006596/1.754, allocations: 0.6904 MB / 1.374 GB, free: 4.77 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.599e-05/1.754, allocations: 20 kB / 1.374 GB, free: 4.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006057/1.76, allocations: 432.8 kB / 1.374 GB, free: 4.324 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008813/1.761, allocations: 116 kB / 1.375 GB, free: 4.211 MB / 0.9011 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.003058/1.764, allocations: 0.8015 MB / 1.375 GB, free: 3.398 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001188/1.765, allocations: 284.6 kB / 1.376 GB, free: 3.117 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01527/1.781, allocations: 4.421 MB / 1.38 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.088e-05/1.781, allocations: 36 kB / 1.38 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/1.781, allocations: 0 / 1.38 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0116/1.792, allocations: 3.757 MB / 1.384 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02721/1.82, allocations: 8.593 MB / 1.392 GB, free: 2.043 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-05/1.82, allocations: 4 kB / 1.392 GB, free: 2.039 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00732/1.827, allocations: 0.726 MB / 1.393 GB, free: 1.312 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.567e-05/1.827, allocations: 16 kB / 1.393 GB, free: 1.297 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007477/1.828, allocations: 87.97 kB / 1.393 GB, free: 1.211 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-05/1.828, allocations: 23.89 kB / 1.393 GB, free: 1.188 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.828, allocations: 7.938 kB / 1.393 GB, free: 1.18 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01999/1.848, allocations: 6.785 MB / 1.4 GB, free: 10.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003241/1.851, allocations: 0.7896 MB / 1.4 GB, free: 9.484 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001163/1.852, allocations: 79.94 kB / 1.4 GB, free: 9.406 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005329/1.858, allocations: 256.4 kB / 1.401 GB, free: 9.156 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001034/1.859, allocations: 238.6 kB / 1.401 GB, free: 8.922 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005006/1.859, allocations: 116 kB / 1.401 GB, free: 8.809 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.003105/1.863, allocations: 1.125 MB / 1.402 GB, free: 7.66 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7.02e-07/1.863, allocations: 0 / 1.402 GB, free: 7.66 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005316/1.868, allocations: 1.232 MB / 1.403 GB, free: 6.426 MB / 0.9323 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.02175/1.89, allocations: 7.712 MB / 1.411 GB, free: 14.62 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01203/1.902, allocations: 3.905 MB / 1.415 GB, free: 10.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/1.902, allocations: 384 / 1.415 GB, free: 10.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006294/1.908, allocations: 2.148 MB / 1.417 GB, free: 8.555 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01373/1.922, allocations: 1.542 MB / 1.418 GB, free: 7.023 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7202/2.642, allocations: 22.97 MB / 1.441 GB, free: 338.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004282/2.647, allocations: 2.197 MB / 1.443 GB, free: 337.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.008683/2.655, allocations: 1.204 MB / 1.444 GB, free: 337.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004125/2.659, allocations: 1.369 MB / 1.445 GB, free: 336.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.663e-06/2.66, allocations: 1.156 kB / 1.445 GB, free: 336.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1977/2.857, allocations: 84.75 MB / 1.528 GB, free: 277.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/2.858, allocations: 229.3 kB / 1.528 GB, free: 277.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.55/9.407, allocations: 0 / 1.528 GB, free: 277.2 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)