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.637/1.637, allocations: 288.4 MB / 303.3 MB, free: 8.129 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.001114/0.001114, allocations: 180.5 kB / 372 MB, free: 10.25 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.416/1.416, allocations: 205.4 MB / 0.6307 GB, free: 9.961 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.0008006/0.0008006, allocations: 96.83 kB / 0.744 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005421/0.0005424, allocations: 11.75 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2502, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7286/0.9789, allocations: 287 MB / 1.26 GB, free: 11.62 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.02709/1.006, allocations: 17.17 MB / 1.277 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005563/1.012, allocations: 63.62 kB / 1.277 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.00671/1.018, allocations: 1.41 MB / 1.278 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.01868/1.037, allocations: 5.262 MB / 1.283 GB, free: 3.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.007949/1.045, allocations: 2.275 MB / 1.286 GB, free: 1.391 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.01573/1.061, allocations: 10.93 MB / 1.296 GB, free: 6.43 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005656/1.067, allocations: 2.381 MB / 1.299 GB, free: 4.02 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007581/1.074, allocations: 2.857 MB / 1.301 GB, free: 1.152 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006557/1.081, allocations: 3.142 MB / 1.304 GB, free: 14 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001233/1.082, allocations: 200 kB / 1.305 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01216/1.094, allocations: 3.48 MB / 1.308 GB, free: 10.32 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.003403/1.098, allocations: 1.469 MB / 1.309 GB, free: 8.844 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.002052/1.1, allocations: 0.8083 MB / 1.31 GB, free: 8.027 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.009868/1.11, allocations: 5.385 MB / 1.315 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/1.11, allocations: 0 / 1.315 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.825e-06/1.11, allocations: 7.938 kB / 1.315 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002315/1.11, allocations: 0 / 1.315 GB, free: 2.621 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.01448/1.125, allocations: 4.355 MB / 1.32 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.672e-05/1.125, allocations: 8.031 kB / 1.32 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001609/1.126, allocations: 459.5 kB / 1.32 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007282/1.134, allocations: 1.006 MB / 1.321 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004807/1.138, allocations: 2.066 MB / 1.323 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/1.139, allocations: 246.4 kB / 1.323 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006964/1.139, allocations: 331.8 kB / 1.324 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007947/1.147, allocations: 4.216 MB / 1.328 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.088e-05/1.147, allocations: 8 kB / 1.328 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003082/1.148, allocations: 128 kB / 1.328 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001642/1.148, allocations: 166.3 kB / 1.328 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008024/1.156, allocations: 4.756 MB / 1.333 GB, free: 0.6719 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.02373/1.18, allocations: 14.36 MB / 1.347 GB, free: 1.34 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00721/1.187, allocations: 4.556 MB / 1.351 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004124/1.191, allocations: 2.436 MB / 1.354 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001863/1.193, allocations: 1.616 MB / 1.355 GB, free: 8.379 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.16e-05/1.193, allocations: 81.53 kB / 1.355 GB, free: 8.289 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=392): time 5.48e-06/1.193, allocations: 4 kB / 1.355 GB, free: 8.285 MB / 0.8855 GB Notification: Performance of matching and sorting (n=392): time 0.009864/1.203, allocations: 5.492 MB / 1.361 GB, free: 2.77 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.498e-05/1.203, allocations: 94.48 kB / 1.361 GB, free: 2.664 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002704/1.206, allocations: 1.65 MB / 1.362 GB, free: 0.9727 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004869/1.206, allocations: 89.7 kB / 1.362 GB, free: 0.8789 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000911/1.207, allocations: 1.136 MB / 1.364 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001532/1.209, allocations: 1.317 MB / 1.365 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/1.209, allocations: 68 kB / 1.365 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002799/1.209, allocations: 441.1 kB / 1.365 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00264/1.212, allocations: 1.541 MB / 1.367 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002741/1.215, allocations: 1.928 MB / 1.369 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002971/1.218, allocations: 1.839 MB / 1.37 GB, free: 8.488 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.355e-05/1.218, allocations: 4 kB / 1.37 GB, free: 8.484 MB / 0.9011 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007133/1.225, allocations: 4.138 MB / 1.375 GB, free: 4.32 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/1.225, allocations: 8 kB / 1.375 GB, free: 4.312 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/1.225, allocations: 7.781 kB / 1.375 GB, free: 4.309 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.348e-05/1.225, allocations: 20 kB / 1.375 GB, free: 4.289 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003243/1.228, allocations: 0.6989 MB / 1.375 GB, free: 3.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.198e-05/1.228, allocations: 23.98 kB / 1.375 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004208/1.233, allocations: 426.5 kB / 1.376 GB, free: 3.148 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005648/1.233, allocations: 112 kB / 1.376 GB, free: 3.039 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.00189/1.235, allocations: 0.7976 MB / 1.377 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007601/1.236, allocations: 292.5 kB / 1.377 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00749/1.243, allocations: 4.409 MB / 1.381 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.009e-05/1.243, allocations: 36 kB / 1.381 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/1.243, allocations: 4 kB / 1.381 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005621/1.249, allocations: 3.764 MB / 1.385 GB, free: 9.625 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01526/1.264, allocations: 8.593 MB / 1.393 GB, free: 0.8672 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/1.264, allocations: 64 / 1.393 GB, free: 0.8672 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003449/1.268, allocations: 0.7335 MB / 1.394 GB, free: 136 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-05/1.268, allocations: 16 kB / 1.394 GB, free: 120 kB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000235/1.268, allocations: 92.09 kB / 1.394 GB, free: 28 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-05/1.268, allocations: 23.83 kB / 1.394 GB, free: 4 kB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.268, allocations: 4 kB / 1.394 GB, free: 0 / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/1.278, allocations: 6.777 MB / 1.401 GB, free: 9.129 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002758/1.281, allocations: 0.7933 MB / 1.401 GB, free: 8.312 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000991/1.282, allocations: 72.12 kB / 1.402 GB, free: 8.242 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003615/1.286, allocations: 273.3 kB / 1.402 GB, free: 7.977 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004873/1.286, allocations: 226.7 kB / 1.402 GB, free: 7.754 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002479/1.286, allocations: 120 kB / 1.402 GB, free: 7.637 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001858/1.288, allocations: 1.129 MB / 1.403 GB, free: 6.484 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.41e-07/1.288, allocations: 0 / 1.403 GB, free: 6.484 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003642/1.292, allocations: 1.236 MB / 1.404 GB, free: 5.246 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.01127/1.303, allocations: 7.7 MB / 1.412 GB, free: 13.45 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00646/1.31, allocations: 3.908 MB / 1.416 GB, free: 9.527 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/1.31, allocations: 4 kB / 1.416 GB, free: 9.523 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003445/1.313, allocations: 2.138 MB / 1.418 GB, free: 7.387 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008399/1.322, allocations: 1.553 MB / 1.419 GB, free: 5.848 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4953/1.817, allocations: 22.97 MB / 1.442 GB, free: 338.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002601/1.82, allocations: 2.202 MB / 1.444 GB, free: 337.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005371/1.825, allocations: 1.204 MB / 1.445 GB, free: 337.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002314/1.827, allocations: 1.368 MB / 1.446 GB, free: 336.8 MB / 0.948 GB Notification: Performance of SimCode: time 9.52e-07/1.828, allocations: 0 / 1.446 GB, free: 336.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1359/1.963, allocations: 84.77 MB / 1.529 GB, free: 276.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/1.964, allocations: 237.3 kB / 1.529 GB, free: 276.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.273/7.237, allocations: 6.812 kB / 1.529 GB, free: 276.1 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)