Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.417/1.417, allocations: 251.9 MB / 266.8 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001229/0.001229, allocations: 189.4 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.972/1.972, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 95.31 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.000384, allocations: 8.562 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2556, allocations: 106.3 MB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.583/4.839, allocations: 2.209 GB / 3.109 GB, free: 8.754 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/4.839, allocations: 91.95 kB / 3.109 GB, free: 8.664 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.715/12.55, allocations: 1.889 GB / 4.999 GB, free: 85.29 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.705e-06/12.55, allocations: 0 / 4.999 GB, free: 85.29 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003655/12.55, allocations: 86.28 kB / 4.999 GB, free: 85.28 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.02152/12.58, allocations: 4.801 MB / 5.004 GB, free: 83.66 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/12.58, allocations: 7.531 kB / 5.004 GB, free: 83.66 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002644/12.58, allocations: 474.2 kB / 5.004 GB, free: 83.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009307/12.59, allocations: 0.9969 MB / 5.005 GB, free: 83.39 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007742/12.6, allocations: 2.23 MB / 5.007 GB, free: 82.87 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003389/12.6, allocations: 251.9 kB / 5.007 GB, free: 82.86 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001668/12.6, allocations: 343.3 kB / 5.008 GB, free: 82.86 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009601/12.61, allocations: 4.166 MB / 5.012 GB, free: 82.54 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/12.61, allocations: 7.594 kB / 5.012 GB, free: 82.53 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004509/12.61, allocations: 139.8 kB / 5.012 GB, free: 82.53 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/12.61, allocations: 152.6 kB / 5.012 GB, free: 82.52 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009628/12.62, allocations: 4.655 MB / 5.017 GB, free: 82.49 MB / 0.948 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.02846/12.65, allocations: 14.73 MB / 5.031 GB, free: 75.74 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007536/12.65, allocations: 4.293 MB / 5.035 GB, free: 75.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001744/12.66, allocations: 1.609 MB / 5.037 GB, free: 73.95 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.523e-05/12.66, allocations: 86.77 kB / 5.037 GB, free: 73.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=392): time 5.44e-06/12.66, allocations: 0 / 5.037 GB, free: 73.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=392): time 0.01388/12.67, allocations: 5.46 MB / 5.042 GB, free: 73.62 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/12.67, allocations: 91.36 kB / 5.042 GB, free: 73.55 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003468/12.67, allocations: 1.474 MB / 5.044 GB, free: 73.35 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001454/12.67, allocations: 93.05 kB / 5.044 GB, free: 73.32 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001289/12.68, allocations: 1.145 MB / 5.045 GB, free: 72.89 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002955/12.68, allocations: 1.319 MB / 5.046 GB, free: 72.03 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/12.68, allocations: 67.19 kB / 5.046 GB, free: 72.03 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004495/12.68, allocations: 440.6 kB / 5.047 GB, free: 71.72 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003222/12.68, allocations: 1.533 MB / 5.048 GB, free: 71.71 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003492/12.69, allocations: 1.957 MB / 5.05 GB, free: 71.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003532/12.69, allocations: 1.829 MB / 5.052 GB, free: 71.35 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-05/12.69, allocations: 3.375 kB / 5.052 GB, free: 71.35 MB / 0.948 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008964/12.7, allocations: 4.124 MB / 5.056 GB, free: 71.08 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.46e-05/12.7, allocations: 10.06 kB / 5.056 GB, free: 71.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/12.7, allocations: 7.344 kB / 5.056 GB, free: 71.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.211e-05/12.7, allocations: 19 kB / 5.056 GB, free: 71.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003432/12.7, allocations: 0.7016 MB / 5.057 GB, free: 71.08 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.719e-05/12.7, allocations: 26.12 kB / 5.057 GB, free: 71.08 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004896/12.71, allocations: 430.4 kB / 5.057 GB, free: 70.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006933/12.71, allocations: 121 kB / 5.057 GB, free: 70.94 MB / 0.948 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003242/12.71, allocations: 0.8099 MB / 5.058 GB, free: 70.82 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001633/12.71, allocations: 290.8 kB / 5.058 GB, free: 70.68 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008574/12.72, allocations: 4.399 MB / 5.063 GB, free: 70.48 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.924e-05/12.72, allocations: 36.47 kB / 5.063 GB, free: 70.48 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/12.72, allocations: 1.688 kB / 5.063 GB, free: 70.48 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005503/12.73, allocations: 3.743 MB / 5.066 GB, free: 70.14 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01725/12.74, allocations: 8.595 MB / 5.075 GB, free: 69.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/12.74, allocations: 3.406 kB / 5.075 GB, free: 69.35 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003737/12.75, allocations: 0.7378 MB / 5.075 GB, free: 69.35 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-05/12.75, allocations: 18.72 kB / 5.075 GB, free: 69.35 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004101/12.75, allocations: 87.62 kB / 5.076 GB, free: 69.35 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.349e-05/12.75, allocations: 18.81 kB / 5.076 GB, free: 69.35 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/12.75, allocations: 2.938 kB / 5.076 GB, free: 69.35 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/12.76, allocations: 6.914 MB / 5.082 GB, free: 68.55 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003153/12.76, allocations: 0.8118 MB / 5.083 GB, free: 68.27 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009153/12.76, allocations: 70.28 kB / 5.083 GB, free: 68.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003744/12.77, allocations: 279.3 kB / 5.083 GB, free: 68.25 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003845/12.77, allocations: 219.3 kB / 5.084 GB, free: 68.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003411/12.77, allocations: 115.8 kB / 5.084 GB, free: 68.25 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003637/12.77, allocations: 1.16 MB / 5.085 GB, free: 68.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.02e-07/12.77, allocations: 0 / 5.085 GB, free: 68.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01004/12.78, allocations: 1.675 MB / 5.087 GB, free: 67.97 MB / 0.948 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 (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.02841/12.81, allocations: 13.11 MB / 5.099 GB, free: 63.66 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01241/12.82, allocations: 3.887 MB / 5.103 GB, free: 62.41 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/12.82, allocations: 3.969 kB / 5.103 GB, free: 62.41 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006322/12.83, allocations: 2.088 MB / 5.105 GB, free: 61.77 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01354/12.84, allocations: 1.47 MB / 5.107 GB, free: 61.47 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03921/12.88, allocations: 14.11 MB / 5.12 GB, free: 52.98 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004841/12.89, allocations: 2.276 MB / 5.123 GB, free: 52.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01121/12.9, allocations: 1.208 MB / 5.124 GB, free: 51.99 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005837/12.9, allocations: 1.391 MB / 5.125 GB, free: 50.94 MB / 0.948 GB Notification: Performance of SimCode: time 2.685e-06/12.9, allocations: 0 / 5.125 GB, free: 50.94 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.011/13.91, allocations: 145.1 MB / 5.267 GB, free: 119.7 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/13.92, allocations: 225.2 kB / 5.267 GB, free: 119.5 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.517/21.43, allocations: 3.562 kB / 5.267 GB, free: 119.5 MB / 0.9792 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)