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.794/1.794, allocations: 289.9 MB / 297.4 MB, free: 6.359 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.001572/0.001572, allocations: 168.9 kB / 366.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.99/1.99, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.0009405/0.0009405, allocations: 95.5 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.559e-05/2.55e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.864/0.864, allocations: 116.3 MB / 0.9733 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.616/6.48, allocations: 2.091 GB / 3.065 GB, free: 279.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/6.48, allocations: 89.23 kB / 3.065 GB, free: 279.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.569/14.05, allocations: 1.92 GB / 4.985 GB, free: 90.3 MB / 1.01 GB Notification: Performance of FrontEnd: time 4.298e-06/14.05, allocations: 0 / 4.985 GB, free: 90.3 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0005377/14.05, allocations: 88.23 kB / 4.985 GB, free: 90.3 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.02346/14.07, allocations: 4.283 MB / 4.989 GB, free: 89.04 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 7.863e-05/14.07, allocations: 7.844 kB / 4.989 GB, free: 89.04 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009741/14.08, allocations: 0.9926 MB / 4.99 GB, free: 88.84 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008451/14.09, allocations: 2.197 MB / 4.992 GB, free: 88.49 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002765/14.09, allocations: 103 kB / 4.992 GB, free: 88.49 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00166/14.09, allocations: 198.7 kB / 4.992 GB, free: 88.49 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01173/14.11, allocations: 4.134 MB / 4.996 GB, free: 88.47 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01318/14.12, allocations: 3.61 MB / 5 GB, free: 88.16 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002671/14.12, allocations: 11.62 kB / 5 GB, free: 88.16 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001219/14.12, allocations: 3.625 kB / 5 GB, free: 88.16 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002408/14.12, allocations: 154 kB / 5 GB, free: 88.15 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.03382/14.15, allocations: 14.31 MB / 5.014 GB, free: 81.49 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009507/14.16, allocations: 5.086 MB / 5.019 GB, free: 80.55 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004641/14.17, allocations: 2.294 MB / 5.021 GB, free: 80.51 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001989/14.17, allocations: 1.617 MB / 5.023 GB, free: 78.82 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.049e-05/14.17, allocations: 78.14 kB / 5.023 GB, free: 78.77 MB / 1.01 GB Notification: Performance of pre-optimization done (n=392): time 7.023e-06/14.17, allocations: 0 / 5.023 GB, free: 78.77 MB / 1.01 GB Notification: Performance of matching and sorting (n=392): time 0.01188/14.18, allocations: 4.002 MB / 5.027 GB, free: 78.51 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/14.18, allocations: 92.27 kB / 5.027 GB, free: 78.45 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003799/14.19, allocations: 1.19 MB / 5.028 GB, free: 78.29 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0006479/14.19, allocations: 28.58 kB / 5.028 GB, free: 78.26 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001086/14.19, allocations: 1.133 MB / 5.029 GB, free: 77.8 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001869/14.19, allocations: 1.268 MB / 5.031 GB, free: 76.94 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003954/14.19, allocations: 0 / 5.031 GB, free: 76.94 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0003834/14.19, allocations: 439.1 kB / 5.031 GB, free: 76.63 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002739/14.19, allocations: 1.48 MB / 5.032 GB, free: 76.62 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003246/14.2, allocations: 1.881 MB / 5.034 GB, free: 76.31 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005305/14.2, allocations: 2.051 MB / 5.036 GB, free: 76.27 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.056e-05/14.2, allocations: 3.969 kB / 5.036 GB, free: 76.27 MB / 1.01 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01091/14.21, allocations: 4.183 MB / 5.04 GB, free: 76.01 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 5.687e-05/14.21, allocations: 9.625 kB / 5.04 GB, free: 76.01 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.004e-05/14.21, allocations: 9.734 kB / 5.04 GB, free: 76.01 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.221e-05/14.21, allocations: 19.53 kB / 5.04 GB, free: 76.01 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003999/14.22, allocations: 0.7182 MB / 5.041 GB, free: 76.01 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001163/14.22, allocations: 18.69 kB / 5.041 GB, free: 76.01 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005843/14.22, allocations: 347.5 kB / 5.041 GB, free: 75.88 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009405/14.22, allocations: 125.5 kB / 5.042 GB, free: 75.88 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.001603/14.23, allocations: 159.5 kB / 5.042 GB, free: 75.77 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01131/14.24, allocations: 3.949 MB / 5.046 GB, free: 75.51 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001563/14.24, allocations: 280.6 kB / 5.046 GB, free: 75.37 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01122/14.25, allocations: 4.375 MB / 5.05 GB, free: 75.18 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.28e-05/14.25, allocations: 40.7 kB / 5.05 GB, free: 75.18 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.545e-05/14.25, allocations: 3.188 kB / 5.05 GB, free: 75.18 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009019/14.26, allocations: 3.829 MB / 5.054 GB, free: 74.84 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.02249/14.28, allocations: 8.697 MB / 5.062 GB, free: 73.68 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/14.28, allocations: 3.562 kB / 5.062 GB, free: 73.68 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00392/14.29, allocations: 0.7495 MB / 5.063 GB, free: 73.68 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.375e-05/14.29, allocations: 18.5 kB / 5.063 GB, free: 73.68 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006284/14.29, allocations: 44.88 kB / 5.063 GB, free: 73.68 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.115e-05/14.29, allocations: 24.19 kB / 5.063 GB, free: 73.68 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/14.29, allocations: 0 / 5.063 GB, free: 73.68 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01338/14.3, allocations: 6.946 MB / 5.07 GB, free: 72.94 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003155/14.3, allocations: 0.7908 MB / 5.071 GB, free: 72.66 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001254/14.3, allocations: 16.94 kB / 5.071 GB, free: 72.66 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004374/14.31, allocations: 206.1 kB / 5.071 GB, free: 72.64 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005594/14.31, allocations: 224.8 kB / 5.071 GB, free: 72.63 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00044/14.31, allocations: 121.5 kB / 5.071 GB, free: 72.63 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002264/14.31, allocations: 0.9133 MB / 5.072 GB, free: 72.52 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.9e-07/14.31, allocations: 2.906 kB / 5.072 GB, free: 72.52 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.006558/14.32, allocations: 1.432 MB / 5.074 GB, free: 72.38 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.02388/14.34, allocations: 13.56 MB / 5.087 GB, free: 68.08 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.009304/14.35, allocations: 3.751 MB / 5.09 GB, free: 68.02 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.495e-05/14.35, allocations: 0 / 5.09 GB, free: 68.02 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.00488/14.36, allocations: 2.027 MB / 5.092 GB, free: 68.01 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009245/14.37, allocations: 1.294 MB / 5.094 GB, free: 67.98 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02494/14.39, allocations: 7.196 MB / 5.101 GB, free: 66.57 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003351/14.4, allocations: 2.262 MB / 5.103 GB, free: 65.8 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.005654/14.4, allocations: 1.203 MB / 5.104 GB, free: 65.77 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00272/14.4, allocations: 1.383 MB / 5.105 GB, free: 65.77 MB / 1.01 GB Notification: Performance of SimCode: time 2.875e-06/14.4, allocations: 2.188 kB / 5.105 GB, free: 65.77 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1884/14.59, allocations: 109.9 MB / 5.213 GB, free: 32.6 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/14.59, allocations: 177.4 kB / 5.213 GB, free: 32.39 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.517/21.11, allocations: 4 kB / 5.213 GB, free: 32.39 MB / 1.01 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)