Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.001505/0.001505, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001979/0.00198, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.606/1.606, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.046/3.046, allocations: 461.9 MB / 0.7347 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 70.16 kB / 0.8992 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3538, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 1.22/1.573, allocations: 295.1 MB / 1.341 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03219/1.606, allocations: 17.02 MB / 1.358 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006841/1.613, allocations: 82.5 kB / 1.358 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007502/1.62, allocations: 1.891 MB / 1.36 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02427/1.645, allocations: 6.434 MB / 1.366 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01109/1.656, allocations: 2.925 MB / 1.369 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01393/1.67, allocations: 7.7 MB / 1.376 GB, free: 0 / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00503/1.675, allocations: 2.592 MB / 1.379 GB, free: 14.92 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008054/1.683, allocations: 2.762 MB / 1.382 GB, free: 14.11 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007802/1.691, allocations: 2.709 MB / 1.384 GB, free: 13.21 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002268/1.693, allocations: 329 kB / 1.384 GB, free: 13.21 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02104/1.714, allocations: 6.164 MB / 1.39 GB, free: 11 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003695/1.718, allocations: 1.339 MB / 1.392 GB, free: 10.1 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.007983/1.726, allocations: 1.881 MB / 1.394 GB, free: 8.934 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02185/1.748, allocations: 6.84 MB / 1.4 GB, free: 5.004 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/1.748, allocations: 0 / 1.4 GB, free: 5.004 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.154e-06/1.748, allocations: 0 / 1.4 GB, free: 5.004 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002123/1.748, allocations: 0 / 1.4 GB, free: 5.004 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01619/1.764, allocations: 4.142 MB / 1.404 GB, free: 2.242 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 8.343e-05/1.764, allocations: 8.625 kB / 1.404 GB, free: 2.242 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002099/1.766, allocations: 367.5 kB / 1.405 GB, free: 1.973 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008426/1.775, allocations: 0.9091 MB / 1.406 GB, free: 1.555 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006276/1.781, allocations: 1.845 MB / 1.407 GB, free: 264 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003014/1.781, allocations: 193.6 kB / 1.408 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001354/1.783, allocations: 262.4 kB / 1.408 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009747/1.793, allocations: 3.335 MB / 1.411 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001217/1.793, allocations: 14.86 kB / 1.411 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006282/1.793, allocations: 107.9 kB / 1.411 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001962/1.794, allocations: 137.8 kB / 1.411 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007676/1.801, allocations: 3.498 MB / 1.415 GB, free: 10.45 MB / 1.029 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.02381/1.825, allocations: 12.23 MB / 1.427 GB, free: 13.45 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005989/1.831, allocations: 3.509 MB / 1.43 GB, free: 9.855 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003471/1.835, allocations: 1.815 MB / 1.432 GB, free: 8.039 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001823/1.836, allocations: 1.49 MB / 1.433 GB, free: 6.242 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.161e-05/1.837, allocations: 64.75 kB / 1.433 GB, free: 6.168 MB / 1.045 GB Notification: Performance of pre-optimization done (n=278): time 5.711e-06/1.837, allocations: 0 / 1.433 GB, free: 6.168 MB / 1.045 GB Notification: Performance of matching and sorting (n=278): time 0.008854/1.845, allocations: 3.877 MB / 1.437 GB, free: 2.242 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/1.846, allocations: 81.59 kB / 1.437 GB, free: 2.148 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003728/1.849, allocations: 1.387 MB / 1.439 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0008845/1.85, allocations: 81.64 kB / 1.439 GB, free: 0.668 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001379/1.852, allocations: 0.9808 MB / 1.44 GB, free: 15.68 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.002143/1.854, allocations: 0.9459 MB / 1.441 GB, free: 14.74 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001203/1.855, allocations: 401 kB / 1.441 GB, free: 14.34 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.855, allocations: 305.1 kB / 1.441 GB, free: 14.04 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002566/1.858, allocations: 1.102 MB / 1.442 GB, free: 12.93 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002512/1.86, allocations: 1.359 MB / 1.444 GB, free: 11.51 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004605/1.865, allocations: 2.65 MB / 1.446 GB, free: 8.766 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/1.865, allocations: 0 / 1.446 GB, free: 8.766 MB / 1.061 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005724/1.871, allocations: 2.982 MB / 1.449 GB, free: 5.738 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/1.871, allocations: 4 kB / 1.449 GB, free: 5.734 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/1.871, allocations: 4 kB / 1.449 GB, free: 5.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.788e-05/1.871, allocations: 16 kB / 1.449 GB, free: 5.715 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002271/1.873, allocations: 0.511 MB / 1.45 GB, free: 5.203 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.749e-05/1.873, allocations: 16 kB / 1.45 GB, free: 5.188 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002734/1.876, allocations: 186.1 kB / 1.45 GB, free: 5.004 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/1.876, allocations: 87.98 kB / 1.45 GB, free: 4.918 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * 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.001498/1.878, allocations: 0.6416 MB / 1.451 GB, free: 4.266 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/1.879, allocations: 229.3 kB / 1.451 GB, free: 4.039 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005681/1.884, allocations: 3.116 MB / 1.454 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.704e-05/1.885, allocations: 28 kB / 1.454 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/1.885, allocations: 0 / 1.454 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004372/1.889, allocations: 2.66 MB / 1.456 GB, free: 14.11 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/1.902, allocations: 6.213 MB / 1.463 GB, free: 7.859 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/1.902, allocations: 0 / 1.463 GB, free: 7.859 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002603/1.904, allocations: 0.5423 MB / 1.463 GB, free: 7.316 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-05/1.904, allocations: 11.98 kB / 1.463 GB, free: 7.305 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000253/1.905, allocations: 63.98 kB / 1.463 GB, free: 7.242 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-05/1.905, allocations: 11.94 kB / 1.463 GB, free: 7.23 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.905, allocations: 0 / 1.463 GB, free: 7.23 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00773/1.912, allocations: 4.577 MB / 1.468 GB, free: 2.574 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002234/1.915, allocations: 0.607 MB / 1.468 GB, free: 1.945 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008648/1.916, allocations: 51.98 kB / 1.468 GB, free: 1.895 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002416/1.918, allocations: 63.92 kB / 1.468 GB, free: 1.832 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004277/1.918, allocations: 165.9 kB / 1.469 GB, free: 1.668 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002435/1.919, allocations: 83.97 kB / 1.469 GB, free: 1.586 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00194/1.921, allocations: 0.9384 MB / 1.47 GB, free: 0.6523 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.81e-07/1.921, allocations: 11.88 kB / 1.47 GB, free: 0.6406 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003699/1.924, allocations: 0.9823 MB / 1.47 GB, free: 15.65 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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 (278): * Single equations (assignments): 278 * 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.008729/1.933, allocations: 5.384 MB / 1.476 GB, free: 10.2 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01285/1.946, allocations: 5.54 MB / 1.481 GB, free: 4.625 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/1.946, allocations: 0 / 1.481 GB, free: 4.625 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002761/1.949, allocations: 1.507 MB / 1.483 GB, free: 3.113 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007981/1.957, allocations: 1.353 MB / 1.484 GB, free: 1.797 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04296/2, allocations: 21.3 MB / 1.505 GB, free: 11.21 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002191/2.002, allocations: 1.903 MB / 1.507 GB, free: 9.277 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.003726/2.006, allocations: 0.8358 MB / 1.507 GB, free: 8.438 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001878/2.008, allocations: 1.097 MB / 1.508 GB, free: 7.34 MB / 1.123 GB Notification: Performance of SimCode: time 1.293e-06/2.008, allocations: 0 / 1.508 GB, free: 7.34 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1356/2.143, allocations: 67.69 MB / 1.575 GB, free: 4.32 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.734/11.88, allocations: 14.84 kB / 1.575 GB, free: 4.312 MB / 1.186 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)