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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.755/1.755, allocations: 289.7 MB / 302.2 MB, free: 2.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001394/0.001394, allocations: 181.7 kB / 371.6 MB, free: 3.367 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.1 MB / 0.6309 GB, free: 11.74 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 93.11 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.261e-05/4.264e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2858, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.497/5.783, allocations: 2.092 GB / 3.072 GB, free: 118.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/5.783, allocations: 88.77 kB / 3.072 GB, free: 118.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.711/12.49, allocations: 1.941 GB / 5.013 GB, free: 35.8 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.995e-06/12.49, allocations: 0 / 5.013 GB, free: 35.8 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.000275/12.49, allocations: 87.98 kB / 5.013 GB, free: 35.71 MB / 1.01 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.01944/12.51, allocations: 4.29 MB / 5.017 GB, free: 31.36 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/12.51, allocations: 12.03 kB / 5.017 GB, free: 31.35 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001648/12.52, allocations: 459.5 kB / 5.017 GB, free: 30.89 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008567/12.52, allocations: 0.9944 MB / 5.018 GB, free: 29.89 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006662/12.53, allocations: 2.187 MB / 5.02 GB, free: 27.65 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002744/12.53, allocations: 251 kB / 5.021 GB, free: 27.4 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001396/12.53, allocations: 335.9 kB / 5.021 GB, free: 27.07 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008283/12.54, allocations: 4.069 MB / 5.025 GB, free: 22.91 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.03e-05/12.54, allocations: 15.83 kB / 5.025 GB, free: 22.89 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004574/12.54, allocations: 136 kB / 5.025 GB, free: 22.76 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001849/12.54, allocations: 150.4 kB / 5.025 GB, free: 22.61 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008392/12.55, allocations: 4.523 MB / 5.03 GB, free: 18.08 MB / 1.01 GB Warning: The model contains alias variables with conflicting start and/or 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.02272/12.57, allocations: 14.68 MB / 5.044 GB, free: 2.414 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00615/12.58, allocations: 4.271 MB / 5.048 GB, free: 14.15 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004198/12.58, allocations: 2.389 MB / 5.05 GB, free: 11.76 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002021/12.59, allocations: 1.612 MB / 5.052 GB, free: 9.816 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.456e-05/12.59, allocations: 77.64 kB / 5.052 GB, free: 9.73 MB / 1.026 GB Notification: Performance of pre-optimization done (n=392): time 5.941e-06/12.59, allocations: 0 / 5.052 GB, free: 9.73 MB / 1.026 GB Notification: Performance of matching and sorting (n=392): time 0.009269/12.59, allocations: 3.839 MB / 5.056 GB, free: 5.863 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.664e-05/12.59, allocations: 98.48 kB / 5.056 GB, free: 5.754 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003383/12.6, allocations: 1.428 MB / 5.057 GB, free: 4.281 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0007425/12.6, allocations: 97.7 kB / 5.057 GB, free: 4.18 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.001068/12.6, allocations: 1.128 MB / 5.059 GB, free: 3.039 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.002207/12.6, allocations: 1.316 MB / 5.06 GB, free: 1.703 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/12.6, allocations: 68 kB / 5.06 GB, free: 1.637 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0003362/12.6, allocations: 441 kB / 5.06 GB, free: 1.199 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058/13.66, allocations: 1.505 MB / 5.062 GB, free: 98.16 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00509/13.67, allocations: 1.923 MB / 5.064 GB, free: 97.85 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00445/13.67, allocations: 1.804 MB / 5.065 GB, free: 97.8 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/13.67, allocations: 1.312 kB / 5.065 GB, free: 97.8 MB / 1.026 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01082/13.68, allocations: 4.065 MB / 5.069 GB, free: 97.68 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 4.636e-05/13.68, allocations: 7.734 kB / 5.069 GB, free: 97.68 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.804e-05/13.68, allocations: 6 kB / 5.069 GB, free: 97.68 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.004e-05/13.68, allocations: 23.92 kB / 5.069 GB, free: 97.68 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003949/13.69, allocations: 0.7036 MB / 5.07 GB, free: 97.68 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.678e-05/13.69, allocations: 24.67 kB / 5.07 GB, free: 97.68 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004637/13.69, allocations: 433.8 kB / 5.071 GB, free: 97.68 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000432/13.69, allocations: 118.7 kB / 5.071 GB, free: 97.68 MB / 1.026 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007694/13.69, allocations: 287.7 kB / 5.071 GB, free: 97.57 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009052/13.69, allocations: 289 kB / 5.071 GB, free: 97.49 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/13.7, allocations: 4.341 MB / 5.075 GB, free: 97.3 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.661e-05/13.7, allocations: 39.19 kB / 5.076 GB, free: 97.3 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/13.7, allocations: 7.047 kB / 5.076 GB, free: 97.3 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006657/13.71, allocations: 3.694 MB / 5.079 GB, free: 96.96 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02127/13.73, allocations: 8.528 MB / 5.087 GB, free: 96.24 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/13.73, allocations: 3.094 kB / 5.087 GB, free: 96.24 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003757/13.74, allocations: 0.7411 MB / 5.088 GB, free: 96.24 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.45e-05/13.74, allocations: 14.75 kB / 5.088 GB, free: 96.24 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004004/13.74, allocations: 87.69 kB / 5.088 GB, free: 96.24 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.965e-05/13.74, allocations: 21.83 kB / 5.088 GB, free: 96.24 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/13.74, allocations: 3 kB / 5.088 GB, free: 96.24 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0121/13.75, allocations: 6.838 MB / 5.095 GB, free: 95.45 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003275/13.75, allocations: 0.7987 MB / 5.096 GB, free: 95.21 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001122/13.75, allocations: 78.73 kB / 5.096 GB, free: 95.21 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004309/13.76, allocations: 261.5 kB / 5.096 GB, free: 95.21 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005684/13.76, allocations: 224.2 kB / 5.096 GB, free: 95.2 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004072/13.76, allocations: 115.8 kB / 5.096 GB, free: 95.2 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.003221/13.76, allocations: 1.11 MB / 5.097 GB, free: 95.04 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.683e-06/13.76, allocations: 5.5 kB / 5.097 GB, free: 95.04 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.007713/13.77, allocations: 1.678 MB / 5.099 GB, free: 94.98 MB / 1.026 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02427/13.79, allocations: 13.05 MB / 5.112 GB, free: 90.73 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.008682/13.8, allocations: 3.832 MB / 5.116 GB, free: 90.65 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/13.8, allocations: 2.969 kB / 5.116 GB, free: 90.65 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.003921/13.81, allocations: 2.062 MB / 5.118 GB, free: 90.64 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01057/13.82, allocations: 1.475 MB / 5.119 GB, free: 90.59 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02536/13.84, allocations: 7.481 MB / 5.126 GB, free: 89.23 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003549/13.85, allocations: 2.265 MB / 5.129 GB, free: 88.46 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.007172/13.85, allocations: 1.21 MB / 5.13 GB, free: 88.43 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003643/13.86, allocations: 1.381 MB / 5.131 GB, free: 88.43 MB / 1.026 GB Notification: Performance of SimCode: time 4.288e-06/13.86, allocations: 0 / 5.131 GB, free: 88.43 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.327/14.18, allocations: 156.9 MB / 5.284 GB, free: 82.28 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/14.18, allocations: 184.1 kB / 5.284 GB, free: 82.05 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/22.28, allocations: 4 kB / 5.284 GB, free: 82.05 MB / 1.026 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/linux/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)