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.001237/0.001237, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001184/0.001184, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.231/1.231, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.37/2.37, allocations: 461.8 MB / 0.7342 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 62.44 kB / 0.8985 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2279, allocations: 157.4 MB / 1.052 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6721/0.9001, allocations: 312 MB / 1.357 GB, free: 312 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01958/0.9197, allocations: 18.68 MB / 1.375 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002578/0.9223, allocations: 76.28 kB / 1.375 GB, free: 15.68 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003843/0.9262, allocations: 1.877 MB / 1.377 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01323/0.9394, allocations: 6.902 MB / 1.384 GB, free: 14.66 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006209/0.9456, allocations: 2.92 MB / 1.387 GB, free: 13.63 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01041/0.9561, allocations: 13.13 MB / 1.399 GB, free: 7.648 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00351/0.9596, allocations: 2.659 MB / 1.402 GB, free: 6.055 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00491/0.9645, allocations: 2.882 MB / 1.405 GB, free: 4.742 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005491/0.97, allocations: 3.352 MB / 1.408 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007043/0.9707, allocations: 226.3 kB / 1.408 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01246/0.9832, allocations: 8.138 MB / 1.416 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001762/0.985, allocations: 1.523 MB / 1.418 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003144/0.9881, allocations: 2.116 MB / 1.42 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.9991, allocations: 8.486 MB / 1.428 GB, free: 3.461 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.9991, allocations: 0 / 1.428 GB, free: 3.461 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.012e-06/0.9991, allocations: 0 / 1.428 GB, free: 3.461 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001364/0.9993, allocations: 0 / 1.428 GB, free: 3.461 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.01137/1.011, allocations: 4.993 MB / 1.433 GB, free: 14.43 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/1.011, allocations: 15.95 kB / 1.433 GB, free: 14.42 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004884/1.011, allocations: 454.9 kB / 1.433 GB, free: 13.96 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005851/1.017, allocations: 1.013 MB / 1.434 GB, free: 12.95 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003134/1.02, allocations: 2.164 MB / 1.437 GB, free: 10.78 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/1.02, allocations: 249 kB / 1.437 GB, free: 10.54 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004112/1.021, allocations: 331.4 kB / 1.437 GB, free: 10.22 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005907/1.027, allocations: 4.231 MB / 1.441 GB, free: 5.914 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.839e-05/1.027, allocations: 11.84 kB / 1.441 GB, free: 5.902 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002762/1.027, allocations: 131.6 kB / 1.441 GB, free: 5.777 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001489/1.027, allocations: 170.4 kB / 1.442 GB, free: 5.609 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006883/1.034, allocations: 4.783 MB / 1.446 GB, free: 0.8164 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.01567/1.05, allocations: 14.37 MB / 1.46 GB, free: 1.637 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005552/1.055, allocations: 4.55 MB / 1.465 GB, free: 13.08 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003129/1.058, allocations: 2.447 MB / 1.467 GB, free: 10.63 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001499/1.06, allocations: 1.611 MB / 1.469 GB, free: 8.703 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.393e-05/1.06, allocations: 77.58 kB / 1.469 GB, free: 8.617 MB / 1.076 GB Notification: Performance of pre-optimization done (n=392): time 4.629e-06/1.06, allocations: 0 / 1.469 GB, free: 8.617 MB / 1.076 GB Notification: Performance of matching and sorting (n=392): time 0.008242/1.068, allocations: 5.547 MB / 1.474 GB, free: 3.043 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/1.068, allocations: 90.48 kB / 1.474 GB, free: 2.941 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001874/1.07, allocations: 1.682 MB / 1.476 GB, free: 1.219 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001882/1.07, allocations: 97.64 kB / 1.476 GB, free: 1.117 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007147/1.071, allocations: 1.128 MB / 1.477 GB, free: 15.97 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009498/1.072, allocations: 1.323 MB / 1.478 GB, free: 14.66 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007881/1.073, allocations: 0.5468 MB / 1.479 GB, free: 14.11 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 8.3e-05/1.073, allocations: 309.1 kB / 1.479 GB, free: 13.8 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002269/1.075, allocations: 1.564 MB / 1.481 GB, free: 12.23 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002547/1.078, allocations: 1.92 MB / 1.483 GB, free: 10.25 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005087/1.083, allocations: 3.762 MB / 1.486 GB, free: 6.398 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/1.083, allocations: 4 kB / 1.486 GB, free: 6.395 MB / 1.092 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006045/1.089, allocations: 4.181 MB / 1.49 GB, free: 2.188 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/1.089, allocations: 5.25 kB / 1.49 GB, free: 2.184 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/1.089, allocations: 8 kB / 1.49 GB, free: 2.176 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/1.089, allocations: 16 kB / 1.49 GB, free: 2.16 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00279/1.092, allocations: 0.6943 MB / 1.491 GB, free: 1.465 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.559e-05/1.092, allocations: 20 kB / 1.491 GB, free: 1.445 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/1.095, allocations: 481 kB / 1.492 GB, free: 0.9727 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002345/1.095, allocations: 120 kB / 1.492 GB, free: 0.8555 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.001282/1.096, allocations: 0.7937 MB / 1.492 GB, free: 52 kB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004796/1.097, allocations: 292.5 kB / 1.493 GB, free: 15.76 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006663/1.103, allocations: 4.448 MB / 1.497 GB, free: 11.28 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-05/1.103, allocations: 36 kB / 1.497 GB, free: 11.24 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.103, allocations: 3.984 kB / 1.497 GB, free: 11.24 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005084/1.108, allocations: 3.796 MB / 1.501 GB, free: 7.375 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/1.12, allocations: 8.645 MB / 1.509 GB, free: 14.67 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.12, allocations: 0 / 1.509 GB, free: 14.67 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003037/1.124, allocations: 0.7218 MB / 1.51 GB, free: 13.95 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.568e-05/1.124, allocations: 12 kB / 1.51 GB, free: 13.93 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002095/1.124, allocations: 92 kB / 1.51 GB, free: 13.84 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.618e-05/1.124, allocations: 23.94 kB / 1.51 GB, free: 13.82 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/1.124, allocations: 4 kB / 1.51 GB, free: 13.82 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008715/1.132, allocations: 6.559 MB / 1.516 GB, free: 7.164 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/1.134, allocations: 0.8011 MB / 1.517 GB, free: 6.34 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003934/1.134, allocations: 75.94 kB / 1.517 GB, free: 6.266 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002201/1.136, allocations: 262.3 kB / 1.518 GB, free: 6.012 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004097/1.137, allocations: 234.6 kB / 1.518 GB, free: 5.781 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002177/1.137, allocations: 120 kB / 1.518 GB, free: 5.664 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001403/1.139, allocations: 1.157 MB / 1.519 GB, free: 4.484 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.41e-07/1.139, allocations: 0 / 1.519 GB, free: 4.484 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002146/1.141, allocations: 1.224 MB / 1.52 GB, free: 3.258 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.009467/1.15, allocations: 7.482 MB / 1.528 GB, free: 11.7 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005346/1.155, allocations: 3.932 MB / 1.531 GB, free: 7.75 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.156, allocations: 0 / 1.531 GB, free: 7.75 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002705/1.158, allocations: 2.15 MB / 1.534 GB, free: 5.602 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005712/1.164, allocations: 1.528 MB / 1.535 GB, free: 4.086 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0379/1.202, allocations: 30.19 MB / 1.564 GB, free: 4.328 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001736/1.204, allocations: 2.205 MB / 1.567 GB, free: 2.086 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.003619/1.207, allocations: 1.212 MB / 1.568 GB, free: 0.8672 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001935/1.209, allocations: 1.393 MB / 1.569 GB, free: 15.5 MB / 1.186 GB Notification: Performance of SimCode: time 7.51e-07/1.209, allocations: 0 / 1.569 GB, free: 15.5 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4618/1.671, allocations: 81.88 MB / 1.649 GB, free: 14.43 MB / 1.264 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/1.671, allocations: 258.9 kB / 1.649 GB, free: 14.17 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.94/5.611, allocations: 0 / 1.649 GB, free: 14.17 MB / 1.264 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)