Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.987/1.987, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001699/0.001699, allocations: 180.9 kB / 361.4 MB, free: 6.863 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.909/2.909, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.001019/0.00102, allocations: 100.8 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.531e-05/2.534e-05, allocations: 0 / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.96/0.9601, allocations: 115.3 MB / 0.9644 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.461/7.421, allocations: 2.09 GB / 3.055 GB, free: 69.45 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/7.421, allocations: 88.89 kB / 3.055 GB, free: 69.36 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.11/17.54, allocations: 1.92 GB / 4.975 GB, free: 4.746 MB / 1.01 GB Notification: Performance of FrontEnd: time 4.248e-06/17.54, allocations: 0 / 4.975 GB, free: 4.746 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0007105/17.54, allocations: 87.92 kB / 4.975 GB, free: 4.66 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.02928/17.57, allocations: 4.279 MB / 4.979 GB, free: 324 kB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 7.818e-05/17.57, allocations: 12.03 kB / 4.979 GB, free: 312 kB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.204/18.77, allocations: 0.9904 MB / 4.98 GB, free: 97.19 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008091/18.78, allocations: 2.189 MB / 4.982 GB, free: 96.84 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003398/18.78, allocations: 103.5 kB / 4.982 GB, free: 96.84 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00178/18.78, allocations: 197.7 kB / 4.983 GB, free: 96.84 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.014/18.8, allocations: 4.137 MB / 4.987 GB, free: 96.83 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01417/18.81, allocations: 3.606 MB / 4.99 GB, free: 96.52 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000142/18.81, allocations: 13.59 kB / 4.99 GB, free: 96.51 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004001/18.81, allocations: 7.719 kB / 4.99 GB, free: 96.51 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002615/18.81, allocations: 149.7 kB / 4.99 GB, free: 96.5 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.03595/18.85, allocations: 14.31 MB / 5.004 GB, free: 89.98 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01406/18.86, allocations: 5.08 MB / 5.009 GB, free: 89.07 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007628/18.87, allocations: 2.288 MB / 5.011 GB, free: 89.03 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002913/18.87, allocations: 1.615 MB / 5.013 GB, free: 87.34 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/18.87, allocations: 74.44 kB / 5.013 GB, free: 87.3 MB / 1.01 GB Notification: Performance of pre-optimization done (n=392): time 1.037e-05/18.87, allocations: 0 / 5.013 GB, free: 87.3 MB / 1.01 GB Notification: Performance of matching and sorting (n=392): time 0.02209/18.89, allocations: 4.002 MB / 5.017 GB, free: 87.03 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/18.89, allocations: 92.25 kB / 5.017 GB, free: 86.96 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004266/18.9, allocations: 1.191 MB / 5.018 GB, free: 86.81 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001308/18.9, allocations: 28.55 kB / 5.018 GB, free: 86.78 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.00163/18.9, allocations: 1.13 MB / 5.019 GB, free: 86.45 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.003232/18.9, allocations: 1.271 MB / 5.021 GB, free: 85.77 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003392/18.9, allocations: 5.656 kB / 5.021 GB, free: 85.77 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0004422/18.91, allocations: 447.8 kB / 5.021 GB, free: 85.46 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004431/18.91, allocations: 1.476 MB / 5.023 GB, free: 85.45 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005057/18.91, allocations: 1.872 MB / 5.024 GB, free: 85.14 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/18.92, allocations: 2.056 MB / 5.026 GB, free: 85.1 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.981e-05/18.93, allocations: 1.531 kB / 5.026 GB, free: 85.1 MB / 1.01 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.0195/18.94, allocations: 4.19 MB / 5.03 GB, free: 84.84 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 6.052e-05/18.94, allocations: 7.312 kB / 5.03 GB, free: 84.84 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.133e-05/18.94, allocations: 6.625 kB / 5.03 GB, free: 84.84 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.991e-05/18.94, allocations: 20.19 kB / 5.03 GB, free: 84.84 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007575/18.95, allocations: 0.7146 MB / 5.031 GB, free: 84.84 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.772e-05/18.95, allocations: 24.03 kB / 5.031 GB, free: 84.84 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008877/18.96, allocations: 347.6 kB / 5.032 GB, free: 84.77 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001566/18.96, allocations: 125.8 kB / 5.032 GB, free: 84.77 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.00154/18.96, allocations: 153.4 kB / 5.032 GB, free: 84.67 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01917/18.98, allocations: 3.957 MB / 5.036 GB, free: 84.41 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002137/18.99, allocations: 275.3 kB / 5.036 GB, free: 84.27 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01532/19, allocations: 4.382 MB / 5.04 GB, free: 84.08 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-05/19, allocations: 39.88 kB / 5.04 GB, free: 84.08 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-05/19, allocations: 3.719 kB / 5.04 GB, free: 84.08 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009897/19.01, allocations: 3.837 MB / 5.044 GB, free: 83.74 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.02582/19.04, allocations: 8.69 MB / 5.052 GB, free: 82.64 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.827e-05/19.04, allocations: 2.875 kB / 5.052 GB, free: 82.64 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004786/19.04, allocations: 0.749 MB / 5.053 GB, free: 82.64 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001163/19.04, allocations: 18.56 kB / 5.053 GB, free: 82.64 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007795/19.04, allocations: 44.64 kB / 5.053 GB, free: 82.64 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.612e-05/19.04, allocations: 17.62 kB / 5.053 GB, free: 82.64 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.67e-05/19.04, allocations: 10.67 kB / 5.053 GB, free: 82.63 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0181/19.06, allocations: 6.947 MB / 5.06 GB, free: 81.89 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004368/19.07, allocations: 0.7941 MB / 5.061 GB, free: 81.66 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001202/19.07, allocations: 12.05 kB / 5.061 GB, free: 81.66 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004534/19.07, allocations: 211.9 kB / 5.061 GB, free: 81.66 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005922/19.07, allocations: 225.6 kB / 5.061 GB, free: 81.65 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003441/19.07, allocations: 122 kB / 5.061 GB, free: 81.65 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002033/19.07, allocations: 0.909 MB / 5.062 GB, free: 81.54 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.21e-07/19.07, allocations: 3.875 kB / 5.062 GB, free: 81.54 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.006547/19.08, allocations: 1.427 MB / 5.064 GB, free: 81.47 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.0254/19.11, allocations: 13.58 MB / 5.077 GB, free: 77.22 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01355/19.12, allocations: 3.746 MB / 5.081 GB, free: 77.16 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.849e-05/19.12, allocations: 6.188 kB / 5.081 GB, free: 77.16 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.006095/19.13, allocations: 2.027 MB / 5.083 GB, free: 77.16 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01104/19.14, allocations: 1.281 MB / 5.084 GB, free: 77.13 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02619/19.16, allocations: 7.193 MB / 5.091 GB, free: 75.75 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003606/19.17, allocations: 2.262 MB / 5.093 GB, free: 74.98 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.007415/19.18, allocations: 1.198 MB / 5.094 GB, free: 74.96 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004228/19.18, allocations: 1.386 MB / 5.096 GB, free: 74.95 MB / 1.01 GB Notification: Performance of SimCode: time 1.402e-06/19.18, allocations: 0 / 5.096 GB, free: 74.95 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3438/19.52, allocations: 109.9 MB / 5.203 GB, free: 70.33 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000276/19.52, allocations: 176.9 kB / 5.203 GB, free: 70.14 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.142/28.67, allocations: 3.094 kB / 5.203 GB, free: 70.14 MB / 1.01 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)