Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_11_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.001413/0.001413, allocations: 108 kB / 15.61 MB, free: 152 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.001376/0.001376, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.267/1.267, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.492/2.492, allocations: 469.8 MB / 0.7424 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 65 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2416, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6951/0.9368, allocations: 314.1 MB / 1.371 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02143/0.9582, allocations: 18.46 MB / 1.389 GB, free: 9.609 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002062/0.9603, allocations: 89.88 kB / 1.389 GB, free: 9.609 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003845/0.9642, allocations: 2.145 MB / 1.391 GB, free: 8.977 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01381/0.978, allocations: 7.316 MB / 1.398 GB, free: 5.645 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00691/0.9849, allocations: 3.207 MB / 1.401 GB, free: 3.191 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008551/0.9935, allocations: 9.102 MB / 1.41 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003138/0.9966, allocations: 3.112 MB / 1.413 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003989/1.001, allocations: 3.296 MB / 1.416 GB, free: 10.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003837/1.004, allocations: 3.226 MB / 1.42 GB, free: 8.465 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0004442/1.005, allocations: 402.2 kB / 1.42 GB, free: 8.465 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01136/1.016, allocations: 7.004 MB / 1.427 GB, free: 4.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001498/1.018, allocations: 1.683 MB / 1.429 GB, free: 3.031 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002315/1.02, allocations: 2.307 MB / 1.431 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.009984/1.03, allocations: 8.127 MB / 1.439 GB, free: 8.562 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/1.03, allocations: 4 kB / 1.439 GB, free: 8.559 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.142e-06/1.03, allocations: 0 / 1.439 GB, free: 8.559 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.685e-05/1.03, allocations: 0 / 1.439 GB, free: 8.559 MB / 1.045 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.01037/1.041, allocations: 4.993 MB / 1.444 GB, free: 3.496 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/1.041, allocations: 8.031 kB / 1.444 GB, free: 3.488 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005293/1.041, allocations: 467.5 kB / 1.444 GB, free: 3.02 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005671/1.047, allocations: 1.014 MB / 1.445 GB, free: 2 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003193/1.05, allocations: 2.15 MB / 1.447 GB, free: 15.8 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/1.05, allocations: 246.4 kB / 1.447 GB, free: 15.55 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004452/1.051, allocations: 323.9 kB / 1.448 GB, free: 15.24 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006427/1.057, allocations: 4.246 MB / 1.452 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.963e-05/1.057, allocations: 7.906 kB / 1.452 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002919/1.057, allocations: 135.9 kB / 1.452 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001677/1.058, allocations: 178.3 kB / 1.452 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007302/1.065, allocations: 4.78 MB / 1.457 GB, free: 5.805 MB / 1.061 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.0174/1.082, allocations: 14.53 MB / 1.471 GB, free: 6.301 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005857/1.088, allocations: 4.545 MB / 1.475 GB, free: 1.746 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003352/1.092, allocations: 2.459 MB / 1.478 GB, free: 15.29 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001689/1.093, allocations: 1.6 MB / 1.479 GB, free: 13.36 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.403e-05/1.093, allocations: 77.64 kB / 1.479 GB, free: 13.27 MB / 1.092 GB Notification: Performance of pre-optimization done (n=392): time 4.9e-06/1.093, allocations: 0 / 1.479 GB, free: 13.27 MB / 1.092 GB Notification: Performance of matching and sorting (n=392): time 0.008708/1.102, allocations: 5.535 MB / 1.485 GB, free: 7.711 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/1.102, allocations: 94.42 kB / 1.485 GB, free: 7.605 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/1.104, allocations: 1.686 MB / 1.487 GB, free: 5.879 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002054/1.105, allocations: 93.7 kB / 1.487 GB, free: 5.781 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008301/1.105, allocations: 1.136 MB / 1.488 GB, free: 4.633 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001109/1.106, allocations: 1.317 MB / 1.489 GB, free: 3.297 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008103/1.107, allocations: 0.5507 MB / 1.49 GB, free: 2.738 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001109/1.107, allocations: 309.1 kB / 1.49 GB, free: 2.434 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002369/1.11, allocations: 1.56 MB / 1.491 GB, free: 0.8711 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00269/1.112, allocations: 1.92 MB / 1.493 GB, free: 14.88 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005419/1.118, allocations: 3.766 MB / 1.497 GB, free: 11.03 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/1.118, allocations: 7.984 kB / 1.497 GB, free: 11.02 MB / 1.107 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006353/1.124, allocations: 4.166 MB / 1.501 GB, free: 6.832 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/1.124, allocations: 11.94 kB / 1.501 GB, free: 6.82 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/1.124, allocations: 7.984 kB / 1.501 GB, free: 6.812 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.743e-05/1.124, allocations: 23.94 kB / 1.501 GB, free: 6.789 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002763/1.127, allocations: 0.6944 MB / 1.502 GB, free: 6.094 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-05/1.127, allocations: 23.88 kB / 1.502 GB, free: 6.07 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002229/1.129, allocations: 261.3 kB / 1.502 GB, free: 5.812 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002146/1.13, allocations: 120 kB / 1.502 GB, free: 5.695 MB / 1.107 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.001284/1.131, allocations: 0.7976 MB / 1.503 GB, free: 4.887 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000495/1.131, allocations: 288.5 kB / 1.503 GB, free: 4.602 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006781/1.138, allocations: 4.437 MB / 1.508 GB, free: 132 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-05/1.138, allocations: 36 kB / 1.508 GB, free: 96 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/1.138, allocations: 3.938 kB / 1.508 GB, free: 92 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005303/1.144, allocations: 3.796 MB / 1.511 GB, free: 12.22 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/1.156, allocations: 8.649 MB / 1.52 GB, free: 3.414 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/1.156, allocations: 0 / 1.52 GB, free: 3.414 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00303/1.159, allocations: 0.7256 MB / 1.52 GB, free: 2.688 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-05/1.159, allocations: 16.19 kB / 1.52 GB, free: 2.672 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00019/1.159, allocations: 83.98 kB / 1.521 GB, free: 2.59 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.9e-05/1.159, allocations: 19.98 kB / 1.521 GB, free: 2.57 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/1.159, allocations: 7.938 kB / 1.521 GB, free: 2.562 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009015/1.168, allocations: 6.561 MB / 1.527 GB, free: 11.91 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/1.169, allocations: 0.7972 MB / 1.528 GB, free: 11.09 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003724/1.17, allocations: 72 kB / 1.528 GB, free: 11.02 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001786/1.172, allocations: 91.81 kB / 1.528 GB, free: 10.93 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004022/1.172, allocations: 234.6 kB / 1.528 GB, free: 10.7 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000208/1.172, allocations: 112 kB / 1.528 GB, free: 10.59 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001485/1.174, allocations: 1.157 MB / 1.529 GB, free: 9.406 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.51e-07/1.174, allocations: 0 / 1.529 GB, free: 9.406 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00227/1.176, allocations: 1.224 MB / 1.531 GB, free: 8.18 MB / 1.139 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.009894/1.186, allocations: 7.484 MB / 1.538 GB, free: 0.5977 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01929/1.205, allocations: 9.835 MB / 1.547 GB, free: 6.75 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.205, allocations: 3.938 kB / 1.547 GB, free: 6.746 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002863/1.208, allocations: 2.152 MB / 1.55 GB, free: 4.594 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006021/1.214, allocations: 1.604 MB / 1.551 GB, free: 3.023 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03594/1.25, allocations: 28.83 MB / 1.579 GB, free: 4.594 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001784/1.252, allocations: 2.201 MB / 1.581 GB, free: 2.355 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.003805/1.256, allocations: 1.212 MB / 1.583 GB, free: 1.137 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001853/1.258, allocations: 1.394 MB / 1.584 GB, free: 15.75 MB / 1.201 GB Notification: Performance of SimCode: time 4.21e-07/1.258, allocations: 0 / 1.584 GB, free: 15.75 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.812/4.07, allocations: 84.81 MB / 1.667 GB, free: 11.81 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.26/24.33, allocations: 12.05 kB / 1.667 GB, free: 11.8 MB / 1.279 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)