Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_8_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.001489/0.001489, 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.001066/0.001066, allocations: 196.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.535/1.535, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 73.8 kB / 0.6716 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2357, allocations: 114.5 MB / 0.7835 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.8068/1.043, allocations: 295 MB / 1.072 GB, free: 276 kB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0253/1.068, allocations: 16.86 MB / 1.088 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004731/1.073, allocations: 75.62 kB / 1.088 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.005507/1.078, allocations: 1.9 MB / 1.09 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01621/1.094, allocations: 6.363 MB / 1.096 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.008858/1.103, allocations: 2.963 MB / 1.099 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01085/1.114, allocations: 7.648 MB / 1.107 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003874/1.118, allocations: 2.556 MB / 1.109 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005568/1.124, allocations: 2.772 MB / 1.112 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005157/1.129, allocations: 2.691 MB / 1.114 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0008218/1.13, allocations: 324 kB / 1.115 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01381/1.143, allocations: 6.176 MB / 1.121 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002309/1.146, allocations: 1.333 MB / 1.122 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003222/1.149, allocations: 1.879 MB / 1.124 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01463/1.164, allocations: 6.853 MB / 1.131 GB, free: 3.707 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/1.164, allocations: 0 / 1.131 GB, free: 3.707 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.884e-06/1.164, allocations: 4 kB / 1.131 GB, free: 3.703 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.428e-05/1.164, allocations: 0 / 1.131 GB, free: 3.703 MB / 0.8419 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.01093/1.175, allocations: 4.112 MB / 1.135 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/1.175, allocations: 8.031 kB / 1.135 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004564/1.175, allocations: 379 kB / 1.135 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005836/1.181, allocations: 0.9055 MB / 1.136 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003479/1.185, allocations: 1.822 MB / 1.138 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/1.185, allocations: 193.1 kB / 1.138 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004258/1.185, allocations: 263.9 kB / 1.138 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005602/1.191, allocations: 3.334 MB / 1.141 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.348e-05/1.191, allocations: 4 kB / 1.141 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002351/1.191, allocations: 108 kB / 1.141 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001331/1.191, allocations: 137 kB / 1.142 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005302/1.197, allocations: 3.49 MB / 1.145 GB, free: 4.711 MB / 0.8575 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.01553/1.212, allocations: 12.2 MB / 1.157 GB, free: 7.605 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004207/1.216, allocations: 3.522 MB / 1.16 GB, free: 4 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002455/1.219, allocations: 1.826 MB / 1.162 GB, free: 2.168 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/1.22, allocations: 1.501 MB / 1.164 GB, free: 360 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.973e-05/1.22, allocations: 64.75 kB / 1.164 GB, free: 284 kB / 0.8731 GB Notification: Performance of pre-optimization done (n=278): time 3.827e-06/1.22, allocations: 0 / 1.164 GB, free: 284 kB / 0.8731 GB Notification: Performance of matching and sorting (n=278): time 0.006254/1.227, allocations: 3.877 MB / 1.167 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/1.227, allocations: 85.47 kB / 1.167 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/1.228, allocations: 1.362 MB / 1.169 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001734/1.229, allocations: 73.7 kB / 1.169 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006636/1.229, allocations: 0.9763 MB / 1.17 GB, free: 9.812 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008502/1.23, allocations: 0.9392 MB / 1.171 GB, free: 8.863 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005523/1.231, allocations: 416.8 kB / 1.171 GB, free: 8.449 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 7.591e-05/1.231, allocations: 305.1 kB / 1.171 GB, free: 8.148 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/1.232, allocations: 1.086 MB / 1.173 GB, free: 7.059 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/1.234, allocations: 1.38 MB / 1.174 GB, free: 5.602 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003672/1.238, allocations: 2.646 MB / 1.176 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/1.238, allocations: 0 / 1.176 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004662/1.243, allocations: 2.966 MB / 1.179 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.243, allocations: 7.984 kB / 1.179 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/1.243, allocations: 4 kB / 1.179 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.168e-05/1.243, allocations: 20.5 kB / 1.179 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/1.245, allocations: 0.511 MB / 1.18 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.448e-05/1.245, allocations: 15.98 kB / 1.18 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/1.247, allocations: 188.9 kB / 1.18 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/1.247, allocations: 87.98 kB / 1.18 GB, free: 15.02 MB / 0.9044 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.001217/1.248, allocations: 0.6416 MB / 1.181 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006427/1.249, allocations: 229.3 kB / 1.181 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00487/1.254, allocations: 3.108 MB / 1.184 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.403e-05/1.254, allocations: 28 kB / 1.184 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/1.254, allocations: 0 / 1.184 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003704/1.258, allocations: 2.645 MB / 1.187 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/1.268, allocations: 6.205 MB / 1.193 GB, free: 1.922 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/1.268, allocations: 0 / 1.193 GB, free: 1.922 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002424/1.27, allocations: 0.5462 MB / 1.193 GB, free: 1.375 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.591e-05/1.27, allocations: 16 kB / 1.193 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001424/1.271, allocations: 59.98 kB / 1.193 GB, free: 1.301 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/1.271, allocations: 8 kB / 1.193 GB, free: 1.293 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.271, allocations: 4 kB / 1.193 GB, free: 1.289 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006668/1.277, allocations: 4.799 MB / 1.198 GB, free: 12.41 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/1.279, allocations: 0.6071 MB / 1.199 GB, free: 11.78 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000366/1.279, allocations: 55.94 kB / 1.199 GB, free: 11.73 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/1.281, allocations: 59.98 kB / 1.199 GB, free: 11.67 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003268/1.281, allocations: 165.9 kB / 1.199 GB, free: 11.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/1.281, allocations: 79.98 kB / 1.199 GB, free: 11.43 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001315/1.283, allocations: 0.9376 MB / 1.2 GB, free: 10.49 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/1.283, allocations: 0 / 1.2 GB, free: 10.49 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00219/1.285, allocations: 0.9784 MB / 1.201 GB, free: 9.512 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * 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.006972/1.292, allocations: 5.629 MB / 1.206 GB, free: 3.793 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01121/1.303, allocations: 5.536 MB / 1.212 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/1.303, allocations: 3.938 kB / 1.212 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002036/1.305, allocations: 1.507 MB / 1.213 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005919/1.311, allocations: 1.348 MB / 1.215 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02847/1.339, allocations: 21.08 MB / 1.235 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/1.341, allocations: 1.89 MB / 1.237 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002937/1.344, allocations: 0.8356 MB / 1.238 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001406/1.345, allocations: 1.085 MB / 1.239 GB, free: 1.191 MB / 0.9512 GB Notification: Performance of SimCode: time 7.92e-07/1.345, allocations: 0 / 1.239 GB, free: 1.191 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6308/1.976, allocations: 67.66 MB / 1.305 GB, free: 395.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.537/10.51, allocations: 7.844 kB / 1.305 GB, free: 395.4 MB / 0.9981 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)