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.786/2.786, allocations: 287.3 MB / 302.3 MB, free: 8.273 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.001622/0.001621, allocations: 187.2 kB / 370.8 MB, free: 10.86 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.093/2.093, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001211/0.00121, allocations: 92.39 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005084/0.0005084, allocations: 15.94 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2328, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.82/7.053, allocations: 2.091 GB / 3.069 GB, free: 184 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/7.053, allocations: 91.64 kB / 3.069 GB, free: 184 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.32/17.38, allocations: 1.943 GB / 5.012 GB, free: 91.19 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.815e-06/17.38, allocations: 0 / 5.012 GB, free: 91.19 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0003918/17.38, allocations: 87.11 kB / 5.012 GB, free: 91.17 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.02699/17.4, allocations: 4.765 MB / 5.016 GB, free: 88.08 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/17.4, allocations: 11.69 kB / 5.016 GB, free: 88.08 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002344/17.41, allocations: 463.4 kB / 5.017 GB, free: 87.73 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01108/17.42, allocations: 0.9964 MB / 5.018 GB, free: 86.84 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0087/17.43, allocations: 2.198 MB / 5.02 GB, free: 84.59 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004378/17.43, allocations: 246.5 kB / 5.02 GB, free: 84.35 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001982/17.43, allocations: 335.9 kB / 5.021 GB, free: 84.02 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01646/17.44, allocations: 4.146 MB / 5.025 GB, free: 79.78 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002437/17.44, allocations: 15.86 kB / 5.025 GB, free: 79.76 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001027/17.45, allocations: 132 kB / 5.025 GB, free: 79.63 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003084/17.45, allocations: 150.4 kB / 5.025 GB, free: 79.48 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01949/17.47, allocations: 4.639 MB / 5.029 GB, free: 74.84 MB / 1.01 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.03459/17.5, allocations: 14.68 MB / 5.044 GB, free: 59.2 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0101/17.51, allocations: 4.326 MB / 5.048 GB, free: 54.92 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002281/17.51, allocations: 1.612 MB / 5.05 GB, free: 52.98 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.833e-05/17.51, allocations: 77.67 kB / 5.05 GB, free: 52.89 MB / 1.01 GB Notification: Performance of pre-optimization done (n=392): time 6.432e-06/17.51, allocations: 0 / 5.05 GB, free: 52.89 MB / 1.01 GB Notification: Performance of matching and sorting (n=392): time 0.01804/17.53, allocations: 5.484 MB / 5.055 GB, free: 47.38 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/17.53, allocations: 90.48 kB / 5.055 GB, free: 47.28 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003299/17.53, allocations: 1.451 MB / 5.057 GB, free: 45.79 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0009768/17.54, allocations: 97.7 kB / 5.057 GB, free: 45.69 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009602/17.54, allocations: 1.132 MB / 5.058 GB, free: 44.55 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002089/17.54, allocations: 1.324 MB / 5.059 GB, free: 43.2 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004057/17.54, allocations: 68 kB / 5.059 GB, free: 43.14 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0003109/17.54, allocations: 441.1 kB / 5.059 GB, free: 42.7 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004367/17.54, allocations: 1.537 MB / 5.061 GB, free: 41.16 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005196/17.55, allocations: 1.967 MB / 5.063 GB, free: 39.09 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005594/17.55, allocations: 1.829 MB / 5.065 GB, free: 37.25 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-05/17.55, allocations: 7.938 kB / 5.065 GB, free: 37.24 MB / 1.01 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01309/17.57, allocations: 4.134 MB / 5.069 GB, free: 33.08 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.643e-05/17.57, allocations: 9.562 kB / 5.069 GB, free: 33.07 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-05/17.57, allocations: 4 kB / 5.069 GB, free: 33.07 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.596e-05/17.57, allocations: 20 kB / 5.069 GB, free: 33.05 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006331/17.57, allocations: 0.6982 MB / 5.069 GB, free: 32.35 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.967e-05/17.57, allocations: 24.34 kB / 5.069 GB, free: 32.33 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006562/17.58, allocations: 440.8 kB / 5.07 GB, free: 31.89 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001015/17.58, allocations: 115.4 kB / 5.07 GB, free: 31.79 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 () * 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.003324/17.59, allocations: 0.8016 MB / 5.071 GB, free: 30.97 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/17.59, allocations: 296.5 kB / 5.071 GB, free: 30.68 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01424/17.6, allocations: 4.401 MB / 5.075 GB, free: 26.24 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-05/17.6, allocations: 36 kB / 5.075 GB, free: 26.21 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/17.6, allocations: 0 / 5.075 GB, free: 26.21 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.011/17.61, allocations: 3.756 MB / 5.079 GB, free: 22.39 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02635/17.64, allocations: 8.582 MB / 5.087 GB, free: 13.64 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.354e-05/17.64, allocations: 4 kB / 5.087 GB, free: 13.64 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007242/17.65, allocations: 0.7373 MB / 5.088 GB, free: 12.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.885e-05/17.65, allocations: 16.16 kB / 5.088 GB, free: 12.88 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000708/17.65, allocations: 99.91 kB / 5.088 GB, free: 12.79 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-05/17.65, allocations: 16 kB / 5.088 GB, free: 12.77 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/17.65, allocations: 0 / 5.088 GB, free: 12.77 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01838/17.66, allocations: 6.933 MB / 5.095 GB, free: 5.652 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003626/17.67, allocations: 0.7973 MB / 5.096 GB, free: 4.832 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001209/17.67, allocations: 71.98 kB / 5.096 GB, free: 4.762 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005805/17.68, allocations: 267.6 kB / 5.096 GB, free: 4.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001194/17.68, allocations: 238.1 kB / 5.096 GB, free: 4.27 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004564/17.68, allocations: 112 kB / 5.097 GB, free: 4.16 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.002722/17.68, allocations: 1.133 MB / 5.098 GB, free: 3.004 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.72e-07/17.68, allocations: 0 / 5.098 GB, free: 3.004 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00731/17.69, allocations: 1.673 MB / 5.099 GB, free: 1.328 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 () * 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.03313/17.72, allocations: 13.13 MB / 5.112 GB, free: 3.695 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.8729/18.59, allocations: 3.898 MB / 5.116 GB, free: 121.8 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/18.59, allocations: 1.375 kB / 5.116 GB, free: 121.8 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.006744/18.6, allocations: 2.096 MB / 5.118 GB, free: 121.8 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01323/18.61, allocations: 1.463 MB / 5.119 GB, free: 121.7 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03137/18.65, allocations: 14.03 MB / 5.133 GB, free: 114.6 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004925/18.65, allocations: 2.26 MB / 5.135 GB, free: 113.8 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.009245/18.66, allocations: 1.209 MB / 5.136 GB, free: 113.8 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004603/18.66, allocations: 1.378 MB / 5.138 GB, free: 113.8 MB / 1.026 GB Notification: Performance of SimCode: time 1.573e-06/18.66, allocations: 0 / 5.138 GB, free: 113.8 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.317/18.98, allocations: 144.6 MB / 5.279 GB, free: 108.6 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00028/18.98, allocations: 221 kB / 5.279 GB, free: 108.4 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.506/28.49, allocations: 4 kB / 5.279 GB, free: 108.3 MB / 1.026 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)