Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.ReverseBuoyancy,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_8_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.001102/0.001102, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001083/0.001083, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.107/1.107, allocations: 205.1 MB / 222 MB, free: 4.992 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.457/1.457, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001259/0.001259, allocations: 67.34 kB / 0.6709 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1587, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.5386/0.6973, allocations: 311.9 MB / 1.087 GB, free: 10.45 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0221/0.7194, allocations: 18.5 MB / 1.105 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002236/0.7217, allocations: 67.62 kB / 1.106 GB, free: 7.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.004002/0.7257, allocations: 1.878 MB / 1.107 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01305/0.7388, allocations: 6.849 MB / 1.114 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006099/0.7449, allocations: 2.959 MB / 1.117 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01042/0.7553, allocations: 13.09 MB / 1.13 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002775/0.7581, allocations: 2.643 MB / 1.132 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003509/0.7616, allocations: 2.888 MB / 1.135 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003905/0.7656, allocations: 3.352 MB / 1.138 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004076/0.766, allocations: 232 kB / 1.139 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01229/0.7783, allocations: 8.131 MB / 1.147 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001293/0.7796, allocations: 1.527 MB / 1.148 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002028/0.7816, allocations: 2.111 MB / 1.15 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.009802/0.7914, allocations: 8.491 MB / 1.158 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.7914, allocations: 0 / 1.158 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.81e-07/0.7915, allocations: 0 / 1.158 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.374e-05/0.7915, allocations: 0 / 1.158 GB, free: 1.496 MB / 0.8575 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.01012/0.8016, allocations: 4.982 MB / 1.163 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.8017, allocations: 16.03 kB / 1.163 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004645/0.8021, allocations: 455.5 kB / 1.164 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005815/0.808, allocations: 1.01 MB / 1.165 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002886/0.8109, allocations: 2.142 MB / 1.167 GB, free: 8.762 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.811, allocations: 250.4 kB / 1.167 GB, free: 8.516 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003944/0.8114, allocations: 327.9 kB / 1.167 GB, free: 8.195 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005674/0.8171, allocations: 4.232 MB / 1.172 GB, free: 3.879 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.764e-05/0.8171, allocations: 7.844 kB / 1.172 GB, free: 3.871 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000281/0.8174, allocations: 140 kB / 1.172 GB, free: 3.734 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000136/0.8176, allocations: 166.4 kB / 1.172 GB, free: 3.57 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006682/0.8243, allocations: 4.779 MB / 1.176 GB, free: 14.78 MB / 0.8887 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.01493/0.8392, allocations: 14.34 MB / 1.19 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005503/0.8447, allocations: 4.576 MB / 1.195 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003135/0.8479, allocations: 2.444 MB / 1.197 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001492/0.8494, allocations: 1.608 MB / 1.199 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.008e-05/0.8494, allocations: 77.64 kB / 1.199 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=392): time 4.528e-06/0.8494, allocations: 7.938 kB / 1.199 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of matching and sorting (n=392): time 0.00797/0.8574, allocations: 5.531 MB / 1.204 GB, free: 0.8594 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.8575, allocations: 94.48 kB / 1.204 GB, free: 0.7539 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/0.8593, allocations: 1.663 MB / 1.206 GB, free: 15.04 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001829/0.8595, allocations: 93.7 kB / 1.206 GB, free: 14.95 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007139/0.8603, allocations: 1.124 MB / 1.207 GB, free: 13.81 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009659/0.8612, allocations: 1.324 MB / 1.209 GB, free: 12.47 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007594/0.862, allocations: 0.5469 MB / 1.209 GB, free: 11.91 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 7.904e-05/0.8621, allocations: 313.1 kB / 1.209 GB, free: 11.61 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002213/0.8643, allocations: 1.553 MB / 1.211 GB, free: 10.05 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002457/0.8668, allocations: 1.938 MB / 1.213 GB, free: 8.031 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004985/0.8718, allocations: 3.769 MB / 1.216 GB, free: 4.176 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.8718, allocations: 4 kB / 1.217 GB, free: 4.172 MB / 0.92 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005798/0.8776, allocations: 4.169 MB / 1.221 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.8776, allocations: 7.984 kB / 1.221 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.8776, allocations: 8 kB / 1.221 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.8777, allocations: 16.66 kB / 1.221 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002728/0.8804, allocations: 0.6904 MB / 1.221 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.898e-05/0.8804, allocations: 23.98 kB / 1.221 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/0.8829, allocations: 430.6 kB / 1.222 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/0.8831, allocations: 116 kB / 1.222 GB, free: 14.7 MB / 0.9356 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.001131/0.8843, allocations: 0.8015 MB / 1.223 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004372/0.8847, allocations: 288.5 kB / 1.223 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006225/0.891, allocations: 4.423 MB / 1.227 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/0.891, allocations: 39.94 kB / 1.227 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.891, allocations: 0 / 1.227 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004912/0.8959, allocations: 3.78 MB / 1.231 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/0.9073, allocations: 8.62 MB / 1.239 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.9073, allocations: 0 / 1.239 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002997/0.9103, allocations: 0.7259 MB / 1.24 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.475e-05/0.9104, allocations: 20 kB / 1.24 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001897/0.9106, allocations: 87.91 kB / 1.24 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.691e-05/0.9106, allocations: 19.94 kB / 1.24 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.9106, allocations: 7.938 kB / 1.24 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00851/0.9191, allocations: 6.827 MB / 1.247 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/0.9203, allocations: 0.7894 MB / 1.248 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003677/0.9207, allocations: 72 kB / 1.248 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002055/0.9227, allocations: 268.5 kB / 1.248 GB, free: 3.539 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003994/0.9232, allocations: 238.6 kB / 1.248 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002039/0.9234, allocations: 116 kB / 1.248 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001294/0.9247, allocations: 1.145 MB / 1.249 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9247, allocations: 3.938 kB / 1.249 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002086/0.9268, allocations: 1.224 MB / 1.251 GB, free: 0.793 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.U,volBotEas.dynBal.m,volBotEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.U,volBotWes.dynBal.m,volBotWes.dynBal.mXi[1],oriEasTop.mExc,volTopEas.dynBal.U,volTopEas.dynBal.m,volTopEas.dynBal.mXi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,volTopWes.dynBal.mXi[1],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.00971/0.9365, allocations: 7.751 MB / 1.258 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005097/0.9416, allocations: 3.924 MB / 1.262 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9416, allocations: 1.312 kB / 1.262 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002604/0.9442, allocations: 2.16 MB / 1.264 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005408/0.9496, allocations: 1.529 MB / 1.266 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03621/0.9858, allocations: 29.95 MB / 1.295 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2574/1.243, allocations: 2.19 MB / 1.297 GB, free: 392.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004226/1.247, allocations: 1.2 MB / 1.298 GB, free: 392.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001648/1.249, allocations: 1.369 MB / 1.3 GB, free: 392.5 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/1.249, allocations: 0 / 1.3 GB, free: 392.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1112/1.36, allocations: 81.98 MB / 1.38 GB, free: 341.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001454/1.361, allocations: 253.5 kB / 1.38 GB, free: 341.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.54/4.9, allocations: 0 / 1.38 GB, free: 341.5 MB / 0.9981 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)