Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_9_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.001168/0.001169, 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.00113/0.00113, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.216/1.216, 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 9.1.3-maint.9.1.x/package.mo): time 2.171/2.171, allocations: 390.3 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 59.91 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5149/0.5161, allocations: 140.4 MB / 0.9497 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7693/1.286, allocations: 314.1 MB / 1.256 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02255/1.308, allocations: 18.47 MB / 1.275 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003124/1.311, allocations: 88.84 kB / 1.275 GB, free: 2.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004035/1.315, allocations: 2.146 MB / 1.277 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01551/1.331, allocations: 7.315 MB / 1.284 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007753/1.339, allocations: 3.205 MB / 1.287 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01009/1.349, allocations: 9.102 MB / 1.296 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004545/1.353, allocations: 3.107 MB / 1.299 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005941/1.359, allocations: 3.297 MB / 1.302 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006053/1.365, allocations: 3.235 MB / 1.305 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001444/1.367, allocations: 402.5 kB / 1.306 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01403/1.381, allocations: 6.998 MB / 1.312 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002592/1.383, allocations: 1.685 MB / 1.314 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005211/1.389, allocations: 2.304 MB / 1.316 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01305/1.402, allocations: 8.133 MB / 1.324 GB, free: 32 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.402, allocations: 2.531 kB / 1.324 GB, free: 32 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.333e-06/1.402, allocations: 0 / 1.324 GB, free: 32 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000157/1.402, allocations: 4 kB / 1.324 GB, free: 28 kB / 0.9981 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.01247/1.414, allocations: 4.993 MB / 1.329 GB, free: 14.07 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/1.414, allocations: 8.625 kB / 1.329 GB, free: 14.07 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004765/1.415, allocations: 456.9 kB / 1.33 GB, free: 14.01 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005628/1.421, allocations: 1.019 MB / 1.331 GB, free: 13.79 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003055/1.424, allocations: 2.155 MB / 1.333 GB, free: 13.22 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/1.424, allocations: 242.9 kB / 1.333 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003914/1.424, allocations: 330.2 kB / 1.333 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005437/1.43, allocations: 4.241 MB / 1.337 GB, free: 12.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.127e-05/1.43, allocations: 5.938 kB / 1.337 GB, free: 12.9 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002878/1.43, allocations: 139.4 kB / 1.338 GB, free: 12.9 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001272/1.43, allocations: 169.5 kB / 1.338 GB, free: 12.89 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006203/1.436, allocations: 4.781 MB / 1.342 GB, free: 12.86 MB / 1.014 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.01562/1.452, allocations: 14.53 MB / 1.357 GB, free: 4.512 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004975/1.457, allocations: 4.559 MB / 1.361 GB, free: 3.875 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002915/1.46, allocations: 2.454 MB / 1.363 GB, free: 3.207 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001435/1.461, allocations: 1.607 MB / 1.365 GB, free: 1.441 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/1.461, allocations: 77.67 kB / 1.365 GB, free: 1.371 MB / 1.014 GB Notification: Performance of pre-optimization done (n=392): time 4.959e-06/1.461, allocations: 0 / 1.365 GB, free: 1.371 MB / 1.014 GB Notification: Performance of matching and sorting (n=392): time 0.007897/1.469, allocations: 5.529 MB / 1.37 GB, free: 14.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/1.469, allocations: 101 kB / 1.371 GB, free: 14.38 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001934/1.471, allocations: 1.684 MB / 1.372 GB, free: 12.65 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001967/1.471, allocations: 93.7 kB / 1.372 GB, free: 12.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.00088/1.472, allocations: 1.13 MB / 1.373 GB, free: 11.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009661/1.473, allocations: 1.322 MB / 1.375 GB, free: 10.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007843/1.474, allocations: 0.5468 MB / 1.375 GB, free: 9.543 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 7.828e-05/1.474, allocations: 301.1 kB / 1.376 GB, free: 9.246 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002179/1.476, allocations: 1.572 MB / 1.377 GB, free: 7.672 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002478/1.479, allocations: 1.922 MB / 1.379 GB, free: 5.684 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005052/1.484, allocations: 3.761 MB / 1.383 GB, free: 1.852 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/1.484, allocations: 3.938 kB / 1.383 GB, free: 1.848 MB / 1.029 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005908/1.49, allocations: 4.177 MB / 1.387 GB, free: 13.68 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/1.49, allocations: 16.08 kB / 1.387 GB, free: 13.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/1.49, allocations: 4 kB / 1.387 GB, free: 13.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/1.49, allocations: 20 kB / 1.387 GB, free: 13.64 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002702/1.493, allocations: 0.688 MB / 1.387 GB, free: 12.99 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.869e-05/1.493, allocations: 22.53 kB / 1.387 GB, free: 12.97 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002233/1.495, allocations: 261.1 kB / 1.388 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/1.495, allocations: 124 kB / 1.388 GB, free: 12.59 MB / 1.045 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.001188/1.496, allocations: 0.7976 MB / 1.389 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004477/1.497, allocations: 288.5 kB / 1.389 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006367/1.503, allocations: 4.431 MB / 1.393 GB, free: 7.074 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.377e-05/1.503, allocations: 40 kB / 1.393 GB, free: 7.035 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/1.503, allocations: 3.984 kB / 1.393 GB, free: 7.031 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004942/1.508, allocations: 3.784 MB / 1.397 GB, free: 3.18 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0113/1.519, allocations: 8.642 MB / 1.405 GB, free: 10.49 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/1.519, allocations: 8.031 kB / 1.405 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00293/1.522, allocations: 0.7205 MB / 1.406 GB, free: 9.801 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.25e-05/1.522, allocations: 16 kB / 1.406 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002087/1.523, allocations: 83.98 kB / 1.406 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-05/1.523, allocations: 23.98 kB / 1.406 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.523, allocations: 10.62 kB / 1.406 GB, free: 9.672 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008336/1.531, allocations: 6.562 MB / 1.413 GB, free: 3.02 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/1.532, allocations: 0.7933 MB / 1.413 GB, free: 2.203 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004105/1.533, allocations: 72 kB / 1.413 GB, free: 2.133 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001836/1.535, allocations: 89.78 kB / 1.414 GB, free: 2.047 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004302/1.535, allocations: 237.1 kB / 1.414 GB, free: 1.816 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002136/1.535, allocations: 112 kB / 1.414 GB, free: 1.707 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001424/1.537, allocations: 1.153 MB / 1.415 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/1.537, allocations: 0 / 1.415 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002353/1.539, allocations: 1.232 MB / 1.416 GB, free: 15.29 MB / 1.076 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.009974/1.549, allocations: 7.478 MB / 1.423 GB, free: 7.789 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01909/1.568, allocations: 9.835 MB / 1.433 GB, free: 14.03 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.568, allocations: 448 / 1.433 GB, free: 14.03 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002762/1.571, allocations: 2.16 MB / 1.435 GB, free: 11.95 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006321/1.577, allocations: 1.604 MB / 1.437 GB, free: 10.38 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03778/1.615, allocations: 28.84 MB / 1.465 GB, free: 12.11 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001911/1.617, allocations: 2.209 MB / 1.467 GB, free: 9.863 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.003665/1.621, allocations: 1.208 MB / 1.468 GB, free: 8.648 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001862/1.622, allocations: 1.39 MB / 1.47 GB, free: 7.258 MB / 1.123 GB Notification: Performance of SimCode: time 7.11e-07/1.622, allocations: 0 / 1.47 GB, free: 7.258 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.123/1.745, allocations: 84.8 MB / 1.552 GB, free: 3.379 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.716/10.46, allocations: 7.922 kB / 1.552 GB, free: 3.371 MB / 1.201 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)