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.345/1.345, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.00106/0.001061, allocations: 189.2 kB / 326.5 MB, free: 2.27 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.508/1.508, allocations: 205.4 MB / 0.5775 GB, free: 20.38 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.0008954/0.0008955, allocations: 107.7 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003509, allocations: 10.44 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2107, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7437/0.9545, allocations: 254.6 MB / 1.149 GB, free: 2.266 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.029/0.9836, allocations: 18.56 MB / 1.167 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00492/0.9885, allocations: 70.66 kB / 1.167 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.006936/0.9955, allocations: 1.88 MB / 1.169 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01904/1.015, allocations: 5.359 MB / 1.174 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.008411/1.023, allocations: 2.578 MB / 1.177 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.009463/1.032, allocations: 5.285 MB / 1.182 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004228/1.037, allocations: 2.451 MB / 1.184 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008934/1.046, allocations: 2.862 MB / 1.187 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004904/1.051, allocations: 2.104 MB / 1.189 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0008541/1.052, allocations: 196.8 kB / 1.189 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01024/1.062, allocations: 2.758 MB / 1.192 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.003223/1.065, allocations: 1.354 MB / 1.193 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002794/1.068, allocations: 0.8202 MB / 1.194 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.009287/1.077, allocations: 4.952 MB / 1.199 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.077, allocations: 0 / 1.199 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.826e-06/1.077, allocations: 4 kB / 1.199 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001625/1.077, allocations: 4 kB / 1.199 GB, free: 12.41 MB / 0.7292 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.01193/1.089, allocations: 4.232 MB / 1.203 GB, free: 8.125 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.089, allocations: 8.031 kB / 1.203 GB, free: 8.117 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001041/1.09, allocations: 466.8 kB / 1.203 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006481/1.097, allocations: 1.026 MB / 1.204 GB, free: 6.621 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005264/1.102, allocations: 2.082 MB / 1.206 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/1.102, allocations: 246.5 kB / 1.207 GB, free: 4.328 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000654/1.103, allocations: 339.9 kB / 1.207 GB, free: 3.996 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007748/1.111, allocations: 4.209 MB / 1.211 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.279e-05/1.111, allocations: 7.906 kB / 1.211 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003319/1.111, allocations: 139.9 kB / 1.211 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000177/1.112, allocations: 178.4 kB / 1.211 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008566/1.12, allocations: 4.764 MB / 1.216 GB, free: 10.61 MB / 0.7448 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.02382/1.144, allocations: 14.43 MB / 1.23 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006308/1.15, allocations: 4.511 MB / 1.235 GB, free: 6.695 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001715/1.152, allocations: 1.529 MB / 1.236 GB, free: 4.852 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.93e-05/1.152, allocations: 73.64 kB / 1.236 GB, free: 4.77 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=392): time 6.742e-06/1.152, allocations: 4 kB / 1.236 GB, free: 4.766 MB / 0.7605 GB Notification: Performance of matching and sorting (n=392): time 0.009792/1.162, allocations: 5.473 MB / 1.242 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.366e-05/1.162, allocations: 98.48 kB / 1.242 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00259/1.165, allocations: 1.668 MB / 1.243 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.000421/1.165, allocations: 93.7 kB / 1.243 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008676/1.166, allocations: 1.132 MB / 1.244 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001516/1.168, allocations: 1.328 MB / 1.246 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/1.168, allocations: 68 kB / 1.246 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002363/1.168, allocations: 445 kB / 1.246 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002478/1.17, allocations: 1.537 MB / 1.248 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002703/1.173, allocations: 1.903 MB / 1.25 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003071/1.176, allocations: 1.815 MB / 1.251 GB, free: 5.004 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/1.176, allocations: 4 kB / 1.251 GB, free: 5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006935/1.183, allocations: 4.126 MB / 1.255 GB, free: 0.8477 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/1.183, allocations: 10.19 kB / 1.255 GB, free: 0.8398 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/1.183, allocations: 4 kB / 1.255 GB, free: 0.8359 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.362e-05/1.183, allocations: 20 kB / 1.255 GB, free: 0.8164 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002942/1.186, allocations: 0.6949 MB / 1.256 GB, free: 124 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.309e-05/1.186, allocations: 23.92 kB / 1.256 GB, free: 100 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00352/1.19, allocations: 436.5 kB / 1.257 GB, free: 15.67 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002829/1.19, allocations: 120 kB / 1.257 GB, free: 15.55 MB / 0.7917 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.001911/1.192, allocations: 0.8103 MB / 1.257 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007626/1.193, allocations: 296.5 kB / 1.258 GB, free: 14.44 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007247/1.2, allocations: 4.386 MB / 1.262 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.113e-05/1.2, allocations: 36 kB / 1.262 GB, free: 9.98 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/1.2, allocations: 0 / 1.262 GB, free: 9.98 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005264/1.205, allocations: 3.741 MB / 1.266 GB, free: 6.172 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01498/1.22, allocations: 8.598 MB / 1.274 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/1.221, allocations: 4.062 kB / 1.274 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003243/1.224, allocations: 0.7334 MB / 1.275 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-05/1.224, allocations: 20.19 kB / 1.275 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002447/1.224, allocations: 87.97 kB / 1.275 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.841e-05/1.224, allocations: 16 kB / 1.275 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/1.224, allocations: 3.938 kB / 1.275 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01007/1.234, allocations: 6.923 MB / 1.282 GB, free: 5.441 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00229/1.237, allocations: 0.8089 MB / 1.282 GB, free: 4.609 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005157/1.237, allocations: 75.94 kB / 1.283 GB, free: 4.535 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00267/1.24, allocations: 288.5 kB / 1.283 GB, free: 4.258 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003688/1.24, allocations: 242.8 kB / 1.283 GB, free: 4.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002114/1.24, allocations: 108 kB / 1.283 GB, free: 3.914 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001579/1.242, allocations: 1.149 MB / 1.284 GB, free: 2.742 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.393e-06/1.242, allocations: 0 / 1.284 GB, free: 2.742 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002897/1.245, allocations: 1.232 MB / 1.285 GB, free: 1.508 MB / 0.8073 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.01096/1.256, allocations: 8.484 MB / 1.294 GB, free: 8.895 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.006442/1.262, allocations: 3.881 MB / 1.298 GB, free: 5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.13e-05/1.262, allocations: 5.312 kB / 1.298 GB, free: 4.996 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00357/1.266, allocations: 2.133 MB / 1.3 GB, free: 2.863 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008814/1.275, allocations: 1.471 MB / 1.301 GB, free: 1.402 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01921/1.294, allocations: 14.05 MB / 1.315 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001922/1.296, allocations: 2.275 MB / 1.317 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.004836/1.301, allocations: 1.204 MB / 1.318 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002292/1.303, allocations: 1.37 MB / 1.32 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of SimCode: time 1.663e-06/1.303, allocations: 0 / 1.32 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.132/1.435, allocations: 83.86 MB / 1.401 GB, free: 10.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/1.435, allocations: 232 kB / 1.402 GB, free: 10.66 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.434/5.869, allocations: 3.938 kB / 1.402 GB, free: 10.65 MB / 0.9323 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)