Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.572/2.572, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001528/0.001528, allocations: 176.9 kB / 360.6 MB, free: 7.316 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.014/2.014, allocations: 205.2 MB / 0.6191 GB, free: 12.21 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.001111/0.001111, allocations: 101.3 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.108e-05/2.105e-05, allocations: 0 / 0.8508 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8288/0.8289, allocations: 115.3 MB / 0.9634 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.913/6.742, allocations: 2.09 GB / 3.054 GB, free: 28.66 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/6.743, allocations: 90.73 kB / 3.054 GB, free: 28.61 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.68/18.42, allocations: 1.92 GB / 4.974 GB, free: 95.86 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.224e-06/18.42, allocations: 0 / 4.974 GB, free: 95.86 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0004319/18.42, allocations: 87.78 kB / 4.974 GB, free: 95.86 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.02605/18.44, allocations: 4.287 MB / 4.978 GB, free: 94.95 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/18.45, allocations: 7.406 kB / 4.978 GB, free: 94.95 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01191/18.46, allocations: 0.9954 MB / 4.979 GB, free: 94.74 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01071/18.47, allocations: 2.196 MB / 4.981 GB, free: 94.4 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000298/18.47, allocations: 105.3 kB / 4.981 GB, free: 94.4 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001859/18.47, allocations: 195.3 kB / 4.981 GB, free: 94.39 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01365/18.48, allocations: 4.136 MB / 4.985 GB, free: 94.38 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01392/18.5, allocations: 3.612 MB / 4.989 GB, free: 94.07 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00015/18.5, allocations: 9.812 kB / 4.989 GB, free: 94.07 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006189/18.5, allocations: 5.75 kB / 4.989 GB, free: 94.07 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002278/18.5, allocations: 150.2 kB / 4.989 GB, free: 94.06 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.03556/18.53, allocations: 14.32 MB / 5.003 GB, free: 87.51 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01134/18.55, allocations: 5.059 MB / 5.008 GB, free: 86.58 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006737/18.55, allocations: 2.297 MB / 5.01 GB, free: 86.55 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002445/18.56, allocations: 1.615 MB / 5.012 GB, free: 84.86 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.147e-05/18.56, allocations: 78.3 kB / 5.012 GB, free: 84.81 MB / 1.01 GB Notification: Performance of pre-optimization done (n=392): time 6.542e-06/18.56, allocations: 0 / 5.012 GB, free: 84.81 MB / 1.01 GB Notification: Performance of matching and sorting (n=392): time 0.01649/18.57, allocations: 4.002 MB / 5.016 GB, free: 84.55 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.763e-05/18.57, allocations: 91.77 kB / 5.016 GB, free: 84.48 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003303/18.58, allocations: 1.19 MB / 5.017 GB, free: 84.33 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001004/18.58, allocations: 27.36 kB / 5.017 GB, free: 84.3 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.00116/18.58, allocations: 1.132 MB / 5.018 GB, free: 83.97 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002384/18.58, allocations: 1.268 MB / 5.019 GB, free: 83.19 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003082/18.58, allocations: 2.516 kB / 5.019 GB, free: 83.19 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0003817/18.58, allocations: 446.6 kB / 5.02 GB, free: 82.88 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004235/18.58, allocations: 1.486 MB / 5.021 GB, free: 82.87 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004946/18.59, allocations: 1.864 MB / 5.023 GB, free: 82.56 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009057/18.6, allocations: 2.064 MB / 5.025 GB, free: 82.52 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-05/18.6, allocations: 4.156 kB / 5.025 GB, free: 82.52 MB / 1.01 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01688/18.62, allocations: 4.175 MB / 5.029 GB, free: 82.26 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.317e-05/18.62, allocations: 7.375 kB / 5.029 GB, free: 82.26 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.762e-05/18.62, allocations: 4.812 kB / 5.029 GB, free: 82.26 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.699e-05/18.62, allocations: 21.81 kB / 5.029 GB, free: 82.26 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007332/18.62, allocations: 0.7185 MB / 5.03 GB, free: 82.26 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.12e-05/18.62, allocations: 24.09 kB / 5.03 GB, free: 82.26 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007051/18.63, allocations: 345.4 kB / 5.03 GB, free: 82.13 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00124/18.63, allocations: 124.2 kB / 5.03 GB, free: 82.13 MB / 1.01 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.001046/18.63, allocations: 164 kB / 5.031 GB, free: 82.01 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01588/18.65, allocations: 3.954 MB / 5.034 GB, free: 81.75 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002017/18.65, allocations: 274 kB / 5.035 GB, free: 81.62 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01709/18.67, allocations: 4.379 MB / 5.039 GB, free: 81.43 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.099e-05/18.67, allocations: 39.59 kB / 5.039 GB, free: 81.43 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/18.67, allocations: 1.625 kB / 5.039 GB, free: 81.43 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01313/18.68, allocations: 3.839 MB / 5.043 GB, free: 81.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 postOpt removeSimpleEquations (simulation): time 0.02831/18.71, allocations: 8.689 MB / 5.051 GB, free: 79.92 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.229e-05/18.71, allocations: 4.156 kB / 5.051 GB, free: 79.92 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007612/18.72, allocations: 0.75 MB / 5.052 GB, free: 79.92 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-05/18.72, allocations: 22.02 kB / 5.052 GB, free: 79.92 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009283/18.72, allocations: 44.7 kB / 5.052 GB, free: 79.92 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.27e-05/18.72, allocations: 22.62 kB / 5.052 GB, free: 79.92 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/18.72, allocations: 3.938 kB / 5.052 GB, free: 79.92 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02098/18.74, allocations: 6.956 MB / 5.059 GB, free: 79.18 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004076/18.74, allocations: 0.7843 MB / 5.06 GB, free: 78.89 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001491/18.75, allocations: 14.33 kB / 5.06 GB, free: 78.89 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006438/18.75, allocations: 217.4 kB / 5.06 GB, free: 78.88 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001229/18.75, allocations: 220.5 kB / 5.06 GB, free: 78.87 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005176/18.75, allocations: 124.3 kB / 5.06 GB, free: 78.87 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002313/18.76, allocations: 0.9073 MB / 5.061 GB, free: 78.76 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.71e-07/18.76, allocations: 0 / 5.061 GB, free: 78.76 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.007513/18.76, allocations: 1.428 MB / 5.063 GB, free: 78.62 MB / 1.01 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.03491/18.8, allocations: 13.58 MB / 5.076 GB, free: 74.35 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01016/18.81, allocations: 3.748 MB / 5.079 GB, free: 74.29 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/18.81, allocations: 3.938 kB / 5.079 GB, free: 74.29 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.005142/18.81, allocations: 2.03 MB / 5.081 GB, free: 74.28 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01254/18.83, allocations: 1.285 MB / 5.083 GB, free: 74.25 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02302/18.85, allocations: 7.188 MB / 5.09 GB, free: 72.85 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002642/18.85, allocations: 2.265 MB / 5.092 GB, free: 72.08 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00773/18.86, allocations: 1.201 MB / 5.093 GB, free: 72.05 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004235/18.86, allocations: 1.382 MB / 5.094 GB, free: 72.05 MB / 1.01 GB Notification: Performance of SimCode: time 1.363e-06/18.86, allocations: 0 / 5.094 GB, free: 72.05 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2685/19.13, allocations: 109.9 MB / 5.202 GB, free: 66.74 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/19.13, allocations: 165.6 kB / 5.202 GB, free: 66.55 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.549/26.68, allocations: 6.406 kB / 5.202 GB, free: 66.55 MB / 1.01 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)