Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008248/0.0008249, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004983/0.004983, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 223.3 MB / 240.3 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.405/2.405, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.0003009, allocations: 12.16 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2512, allocations: 159.6 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.749/1, allocations: 307.7 MB / 1.359 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02004/1.02, allocations: 18.5 MB / 1.377 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003501/1.024, allocations: 71.97 kB / 1.377 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004434/1.028, allocations: 1.873 MB / 1.379 GB, free: 476 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01538/1.044, allocations: 6.9 MB / 1.386 GB, free: 96 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007397/1.051, allocations: 2.94 MB / 1.389 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01266/1.064, allocations: 13.12 MB / 1.402 GB, free: 9.145 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003859/1.068, allocations: 2.584 MB / 1.404 GB, free: 7.625 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005458/1.073, allocations: 2.812 MB / 1.407 GB, free: 6.348 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006042/1.079, allocations: 3.263 MB / 1.41 GB, free: 4.816 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007072/1.08, allocations: 201.2 kB / 1.41 GB, free: 4.812 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0141/1.094, allocations: 8.109 MB / 1.418 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002158/1.096, allocations: 1.465 MB / 1.42 GB, free: 132 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003278/1.1, allocations: 2.081 MB / 1.422 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01471/1.114, allocations: 8.374 MB / 1.43 GB, free: 7.645 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.114, allocations: 0 / 1.43 GB, free: 7.645 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.894e-06/1.114, allocations: 0 / 1.43 GB, free: 7.645 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001312/1.114, allocations: 0 / 1.43 GB, free: 7.645 MB / 1.029 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.01088/1.125, allocations: 4.327 MB / 1.434 GB, free: 3.277 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/1.125, allocations: 11.97 kB / 1.434 GB, free: 3.266 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008251/1.126, allocations: 459.4 kB / 1.435 GB, free: 2.809 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006153/1.132, allocations: 1.011 MB / 1.436 GB, free: 1.797 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003796/1.136, allocations: 2.16 MB / 1.438 GB, free: 15.62 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/1.136, allocations: 245.5 kB / 1.438 GB, free: 15.39 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004866/1.137, allocations: 334.5 kB / 1.438 GB, free: 15.07 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006557/1.143, allocations: 4.23 MB / 1.442 GB, free: 10.76 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.631e-05/1.144, allocations: 11.84 kB / 1.442 GB, free: 10.75 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002963/1.144, allocations: 131.2 kB / 1.442 GB, free: 10.62 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001644/1.144, allocations: 170.4 kB / 1.443 GB, free: 10.46 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007392/1.151, allocations: 4.783 MB / 1.447 GB, free: 5.664 MB / 1.045 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.0172/1.169, allocations: 14.39 MB / 1.461 GB, free: 6.465 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005635/1.174, allocations: 4.549 MB / 1.466 GB, free: 1.914 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003222/1.178, allocations: 2.452 MB / 1.468 GB, free: 15.46 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001533/1.179, allocations: 1.619 MB / 1.47 GB, free: 13.52 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.183e-05/1.179, allocations: 73.64 kB / 1.47 GB, free: 13.44 MB / 1.076 GB Notification: Performance of pre-optimization done (n=392): time 5e-06/1.179, allocations: 3.938 kB / 1.47 GB, free: 13.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=392): time 0.008292/1.187, allocations: 5.543 MB / 1.475 GB, free: 7.863 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/1.188, allocations: 90.48 kB / 1.475 GB, free: 7.762 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/1.19, allocations: 1.684 MB / 1.477 GB, free: 6.035 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002037/1.19, allocations: 93.7 kB / 1.477 GB, free: 5.938 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000747/1.191, allocations: 1.132 MB / 1.478 GB, free: 4.793 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009924/1.192, allocations: 1.316 MB / 1.479 GB, free: 3.488 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003309/1.192, allocations: 268.8 kB / 1.48 GB, free: 3.219 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.426e-05/1.192, allocations: 305.1 kB / 1.48 GB, free: 2.918 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00228/1.194, allocations: 1.568 MB / 1.482 GB, free: 1.348 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002528/1.197, allocations: 1.916 MB / 1.483 GB, free: 15.36 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005158/1.202, allocations: 3.77 MB / 1.487 GB, free: 11.51 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/1.202, allocations: 3.938 kB / 1.487 GB, free: 11.5 MB / 1.092 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006075/1.208, allocations: 4.174 MB / 1.491 GB, free: 7.305 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/1.208, allocations: 9.562 kB / 1.491 GB, free: 7.297 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/1.208, allocations: 4 kB / 1.491 GB, free: 7.293 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/1.208, allocations: 20 kB / 1.491 GB, free: 7.273 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002757/1.211, allocations: 0.6943 MB / 1.492 GB, free: 6.578 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.014e-05/1.211, allocations: 23.98 kB / 1.492 GB, free: 6.555 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003046/1.214, allocations: 480.8 kB / 1.492 GB, free: 6.082 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000217/1.214, allocations: 116 kB / 1.492 GB, free: 5.969 MB / 1.092 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.001415/1.216, allocations: 0.8054 MB / 1.493 GB, free: 5.152 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005344/1.216, allocations: 296.5 kB / 1.494 GB, free: 4.859 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007098/1.223, allocations: 4.433 MB / 1.498 GB, free: 400 kB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/1.223, allocations: 36 kB / 1.498 GB, free: 364 kB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/1.223, allocations: 0 / 1.498 GB, free: 364 kB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005289/1.229, allocations: 3.803 MB / 1.502 GB, free: 12.48 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0131/1.242, allocations: 8.635 MB / 1.51 GB, free: 3.781 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/1.242, allocations: 8.062 kB / 1.51 GB, free: 3.773 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003026/1.245, allocations: 0.7216 MB / 1.511 GB, free: 3.051 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.304e-05/1.245, allocations: 16 kB / 1.511 GB, free: 3.035 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002371/1.245, allocations: 87.97 kB / 1.511 GB, free: 2.949 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.127e-05/1.245, allocations: 16 kB / 1.511 GB, free: 2.934 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.245, allocations: 4 kB / 1.511 GB, free: 2.93 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009178/1.254, allocations: 6.564 MB / 1.517 GB, free: 12.27 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/1.256, allocations: 0.8049 MB / 1.518 GB, free: 11.45 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005026/1.256, allocations: 68 kB / 1.518 GB, free: 11.38 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002583/1.259, allocations: 272.2 kB / 1.518 GB, free: 11.11 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004057/1.259, allocations: 230.6 kB / 1.519 GB, free: 10.89 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002138/1.26, allocations: 116 kB / 1.519 GB, free: 10.77 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001667/1.261, allocations: 1.161 MB / 1.52 GB, free: 9.59 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.71e-07/1.261, allocations: 0 / 1.52 GB, free: 9.59 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002604/1.264, allocations: 1.232 MB / 1.521 GB, free: 8.355 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,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.009922/1.274, allocations: 7.472 MB / 1.528 GB, free: 0.8047 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.005727/1.28, allocations: 3.93 MB / 1.532 GB, free: 12.86 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.28, allocations: 0 / 1.532 GB, free: 12.86 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002809/1.282, allocations: 2.15 MB / 1.534 GB, free: 10.71 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007257/1.29, allocations: 1.533 MB / 1.536 GB, free: 9.195 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04204/1.332, allocations: 30.51 MB / 1.566 GB, free: 9.098 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001704/1.333, allocations: 2.197 MB / 1.568 GB, free: 6.863 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.003712/1.337, allocations: 1.216 MB / 1.569 GB, free: 5.641 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001818/1.339, allocations: 1.386 MB / 1.57 GB, free: 4.254 MB / 1.17 GB Notification: Performance of SimCode: time 5.51e-07/1.339, allocations: 0 / 1.57 GB, free: 4.254 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2442/1.583, allocations: 81.16 MB / 1.65 GB, free: 3.91 MB / 1.248 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/1.583, allocations: 250.2 kB / 1.65 GB, free: 3.656 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.809/5.392, allocations: 4 kB / 1.65 GB, free: 3.652 MB / 1.248 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)