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.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.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.00186/0.001859, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002295/0.002295, allocations: 191.6 kB / 16.25 MB, free: 6.621 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.642/1.642, allocations: 222.9 MB / 239.9 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.669/3.669, allocations: 461.9 MB / 0.7344 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 65.12 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4159, allocations: 157.4 MB / 1.052 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.326/1.742, allocations: 310.6 MB / 1.356 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02708/1.769, allocations: 18.39 MB / 1.374 GB, free: 400 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007396/1.776, allocations: 78.22 kB / 1.374 GB, free: 400 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00717/1.783, allocations: 1.928 MB / 1.376 GB, free: 348 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02279/1.806, allocations: 6.888 MB / 1.382 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01006/1.816, allocations: 2.972 MB / 1.385 GB, free: 14.67 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01436/1.831, allocations: 9.103 MB / 1.394 GB, free: 11.42 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005874/1.837, allocations: 3.052 MB / 1.397 GB, free: 9.555 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008255/1.845, allocations: 3.358 MB / 1.4 GB, free: 7.914 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008173/1.853, allocations: 3.432 MB / 1.404 GB, free: 6.207 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001971/1.855, allocations: 403.9 kB / 1.404 GB, free: 6.207 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01718/1.872, allocations: 7.289 MB / 1.411 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0035/1.876, allocations: 1.692 MB / 1.413 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.007612/1.884, allocations: 2.302 MB / 1.415 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02246/1.906, allocations: 8.637 MB / 1.424 GB, free: 9.617 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/1.906, allocations: 3.938 kB / 1.424 GB, free: 9.613 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.524e-06/1.906, allocations: 0 / 1.424 GB, free: 9.613 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002516/1.906, allocations: 0 / 1.424 GB, free: 9.613 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.01658/1.923, allocations: 4.997 MB / 1.428 GB, free: 4.582 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/1.923, allocations: 8.625 kB / 1.428 GB, free: 4.574 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001386/1.924, allocations: 462.6 kB / 1.429 GB, free: 4.113 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007662/1.932, allocations: 1.01 MB / 1.43 GB, free: 3.105 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006151/1.938, allocations: 2.156 MB / 1.432 GB, free: 0.9375 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003033/1.939, allocations: 249.7 kB / 1.432 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001477/1.94, allocations: 325.2 kB / 1.433 GB, free: 392 kB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01235/1.952, allocations: 4.243 MB / 1.437 GB, free: 12.06 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001643/1.953, allocations: 7.906 kB / 1.437 GB, free: 12.05 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007755/1.953, allocations: 138.7 kB / 1.437 GB, free: 11.92 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002077/1.954, allocations: 170.4 kB / 1.437 GB, free: 11.75 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00965/1.963, allocations: 4.776 MB / 1.442 GB, free: 6.969 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.02414/1.988, allocations: 14.37 MB / 1.456 GB, free: 7.793 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00718/1.995, allocations: 4.539 MB / 1.46 GB, free: 3.254 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004705/1.999, allocations: 2.448 MB / 1.463 GB, free: 0.8047 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002183/2.002, allocations: 1.612 MB / 1.464 GB, free: 14.87 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/2.002, allocations: 73.64 kB / 1.464 GB, free: 14.79 MB / 1.076 GB Notification: Performance of pre-optimization done (n=392): time 7.053e-06/2.002, allocations: 4 kB / 1.464 GB, free: 14.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=392): time 0.01249/2.014, allocations: 5.535 MB / 1.47 GB, free: 9.223 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.946e-05/2.015, allocations: 94.47 kB / 1.47 GB, free: 9.117 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003443/2.018, allocations: 1.679 MB / 1.471 GB, free: 7.398 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0006635/2.019, allocations: 93.7 kB / 1.471 GB, free: 7.301 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009123/2.02, allocations: 1.138 MB / 1.472 GB, free: 6.152 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001639/2.021, allocations: 1.322 MB / 1.474 GB, free: 4.844 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001542/2.023, allocations: 0.5546 MB / 1.474 GB, free: 4.281 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.022e-05/2.023, allocations: 301.1 kB / 1.475 GB, free: 3.984 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002778/2.026, allocations: 1.564 MB / 1.476 GB, free: 2.418 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003056/2.029, allocations: 1.92 MB / 1.478 GB, free: 440 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006108/2.035, allocations: 3.769 MB / 1.482 GB, free: 12.57 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.731e-05/2.035, allocations: 4 kB / 1.482 GB, free: 12.57 MB / 1.092 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007689/2.043, allocations: 4.177 MB / 1.486 GB, free: 8.367 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/2.043, allocations: 7.938 kB / 1.486 GB, free: 8.359 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/2.043, allocations: 8 kB / 1.486 GB, free: 8.352 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.04e-05/2.043, allocations: 16 kB / 1.486 GB, free: 8.336 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00305/2.046, allocations: 0.7021 MB / 1.486 GB, free: 7.633 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.998e-05/2.046, allocations: 24.88 kB / 1.487 GB, free: 7.609 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003762/2.05, allocations: 472.9 kB / 1.487 GB, free: 7.145 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004339/2.05, allocations: 116 kB / 1.487 GB, free: 7.031 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.001917/2.052, allocations: 0.7977 MB / 1.488 GB, free: 6.223 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/2.053, allocations: 292.5 kB / 1.488 GB, free: 5.934 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008267/2.061, allocations: 4.446 MB / 1.492 GB, free: 1.453 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.413e-05/2.061, allocations: 36 kB / 1.493 GB, free: 1.418 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-05/2.061, allocations: 0 / 1.493 GB, free: 1.418 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006106/2.068, allocations: 3.8 MB / 1.496 GB, free: 13.55 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01714/2.085, allocations: 8.645 MB / 1.505 GB, free: 4.836 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/2.085, allocations: 0 / 1.505 GB, free: 4.836 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003406/2.088, allocations: 0.7217 MB / 1.505 GB, free: 4.113 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.157e-05/2.088, allocations: 16.25 kB / 1.505 GB, free: 4.098 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004227/2.089, allocations: 83.98 kB / 1.505 GB, free: 4.016 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.734e-05/2.089, allocations: 19.94 kB / 1.505 GB, free: 3.996 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/2.089, allocations: 4 kB / 1.505 GB, free: 3.992 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/2.099, allocations: 6.566 MB / 1.512 GB, free: 13.33 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002252/2.101, allocations: 0.7933 MB / 1.513 GB, free: 12.52 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008052/2.102, allocations: 75.98 kB / 1.513 GB, free: 12.44 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003393/2.106, allocations: 267.4 kB / 1.513 GB, free: 12.18 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005958/2.106, allocations: 234.6 kB / 1.513 GB, free: 11.95 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003488/2.107, allocations: 120 kB / 1.513 GB, free: 11.83 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002231/2.109, allocations: 1.153 MB / 1.514 GB, free: 10.66 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.41e-07/2.109, allocations: 0 / 1.514 GB, free: 10.66 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.004153/2.113, allocations: 1.224 MB / 1.516 GB, free: 9.43 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.01202/2.125, allocations: 7.491 MB / 1.523 GB, free: 1.859 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.02304/2.148, allocations: 9.833 MB / 1.533 GB, free: 8.012 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-05/2.148, allocations: 5.312 kB / 1.533 GB, free: 8.008 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.004773/2.153, allocations: 2.153 MB / 1.535 GB, free: 5.855 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01075/2.164, allocations: 1.606 MB / 1.536 GB, free: 4.285 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07266/2.237, allocations: 30.18 MB / 1.566 GB, free: 4.527 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003716/2.24, allocations: 2.201 MB / 1.568 GB, free: 2.289 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.006361/2.247, allocations: 1.212 MB / 1.569 GB, free: 1.07 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003861/2.251, allocations: 1.393 MB / 1.57 GB, free: 15.71 MB / 1.186 GB Notification: Performance of SimCode: time 1.332e-06/2.251, allocations: 0 / 1.57 GB, free: 15.71 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1754/2.426, allocations: 84.31 MB / 1.653 GB, free: 12.24 MB / 1.264 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003015/2.426, allocations: 250.7 kB / 1.653 GB, free: 11.98 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.209/7.636, allocations: 0 / 1.653 GB, free: 11.98 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)