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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009242/0.0009275, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 192.4 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.148/1.148, allocations: 205.1 MB / 222.1 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.509/1.509, allocations: 292.3 MB / 0.5486 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001304, allocations: 70.31 kB / 0.6711 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1647, allocations: 114.6 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.5661/0.7309, allocations: 310.5 MB / 1.086 GB, free: 12.49 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02256/0.7535, allocations: 18.21 MB / 1.104 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003041/0.7565, allocations: 71.56 kB / 1.104 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.004651/0.7612, allocations: 1.933 MB / 1.106 GB, free: 8.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01461/0.7759, allocations: 6.817 MB / 1.113 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.006589/0.7825, allocations: 3 MB / 1.116 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.008845/0.7913, allocations: 9.065 MB / 1.124 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003634/0.795, allocations: 3.031 MB / 1.127 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004744/0.7997, allocations: 3.348 MB / 1.131 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005168/0.8049, allocations: 3.442 MB / 1.134 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0005909/0.8055, allocations: 407.9 kB / 1.134 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01092/0.8164, allocations: 7.305 MB / 1.141 GB, free: 3.863 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001471/0.8179, allocations: 1.687 MB / 1.143 GB, free: 2.172 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002292/0.8202, allocations: 2.307 MB / 1.145 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.009955/0.8302, allocations: 8.632 MB / 1.154 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.8302, allocations: 0 / 1.154 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8302, allocations: 0 / 1.154 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.606e-05/0.8303, allocations: 0 / 1.154 GB, free: 7.199 MB / 0.8575 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.01004/0.8403, allocations: 4.986 MB / 1.159 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.8403, allocations: 11.97 kB / 1.159 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004768/0.8408, allocations: 463.5 kB / 1.159 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005667/0.8465, allocations: 1.002 MB / 1.16 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002817/0.8493, allocations: 2.146 MB / 1.162 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/0.8495, allocations: 246.4 kB / 1.162 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004079/0.8499, allocations: 327.8 kB / 1.163 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005727/0.8556, allocations: 4.228 MB / 1.167 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.23e-05/0.8557, allocations: 11.94 kB / 1.167 GB, free: 9.57 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000278/0.856, allocations: 136 kB / 1.167 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001412/0.8561, allocations: 170.4 kB / 1.167 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006489/0.8626, allocations: 4.772 MB / 1.172 GB, free: 4.488 MB / 0.8731 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.01461/0.8773, allocations: 14.35 MB / 1.186 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005183/0.8824, allocations: 4.572 MB / 1.19 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002961/0.8854, allocations: 2.448 MB / 1.193 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00144/0.8869, allocations: 1.604 MB / 1.194 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/0.8869, allocations: 81.64 kB / 1.194 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=392): time 4.619e-06/0.8869, allocations: 0 / 1.194 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of matching and sorting (n=392): time 0.007695/0.8946, allocations: 5.535 MB / 1.2 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.8947, allocations: 90.48 kB / 1.2 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/0.8965, allocations: 1.671 MB / 1.201 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001913/0.8967, allocations: 89.7 kB / 1.202 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006533/0.8973, allocations: 1.128 MB / 1.203 GB, free: 3.5 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008575/0.8982, allocations: 1.313 MB / 1.204 GB, free: 2.168 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007593/0.899, allocations: 0.5546 MB / 1.205 GB, free: 1.605 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 7.907e-05/0.899, allocations: 305.1 kB / 1.205 GB, free: 1.305 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002134/0.9012, allocations: 1.56 MB / 1.206 GB, free: 15.74 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002399/0.9036, allocations: 1.938 MB / 1.208 GB, free: 13.72 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004836/0.9084, allocations: 3.769 MB / 1.212 GB, free: 9.863 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.9085, allocations: 0 / 1.212 GB, free: 9.863 MB / 0.92 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005632/0.9141, allocations: 4.17 MB / 1.216 GB, free: 5.668 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.9141, allocations: 8 kB / 1.216 GB, free: 5.66 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.9141, allocations: 8.031 kB / 1.216 GB, free: 5.652 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/0.9142, allocations: 20 kB / 1.216 GB, free: 5.633 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002713/0.9169, allocations: 0.6943 MB / 1.217 GB, free: 4.938 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.641e-05/0.9169, allocations: 23.98 kB / 1.217 GB, free: 4.914 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002529/0.9195, allocations: 428.9 kB / 1.217 GB, free: 4.492 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000207/0.9197, allocations: 116 kB / 1.217 GB, free: 4.379 MB / 0.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001107/0.9208, allocations: 0.7975 MB / 1.218 GB, free: 3.57 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004232/0.9212, allocations: 288.5 kB / 1.218 GB, free: 3.285 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006311/0.9275, allocations: 4.421 MB / 1.223 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/0.9276, allocations: 39.94 kB / 1.223 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.9276, allocations: 0 / 1.223 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004792/0.9324, allocations: 3.784 MB / 1.226 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/0.9437, allocations: 8.62 MB / 1.235 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.9437, allocations: 8.062 kB / 1.235 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003025/0.9467, allocations: 0.7299 MB / 1.235 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.147e-05/0.9468, allocations: 16 kB / 1.235 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001918/0.947, allocations: 83.98 kB / 1.236 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.635e-05/0.947, allocations: 19.94 kB / 1.236 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.947, allocations: 0 / 1.236 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008337/0.9553, allocations: 6.831 MB / 1.242 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/0.9566, allocations: 0.7933 MB / 1.243 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000374/0.957, allocations: 75.98 kB / 1.243 GB, free: 9.484 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00218/0.9592, allocations: 263 kB / 1.243 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003992/0.9596, allocations: 238.6 kB / 1.244 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002014/0.9598, allocations: 112 kB / 1.244 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001314/0.9611, allocations: 1.145 MB / 1.245 GB, free: 7.719 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9611, allocations: 0 / 1.245 GB, free: 7.719 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002195/0.9633, allocations: 1.228 MB / 1.246 GB, free: 6.488 MB / 0.9512 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009214/0.9725, allocations: 7.729 MB / 1.254 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01889/0.9914, allocations: 9.842 MB / 1.263 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.9914, allocations: 448 / 1.263 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002584/0.994, allocations: 2.152 MB / 1.265 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005794/0.9998, allocations: 1.615 MB / 1.267 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03654/1.036, allocations: 29.95 MB / 1.296 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2903/1.327, allocations: 2.193 MB / 1.298 GB, free: 393.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004569/1.331, allocations: 1.198 MB / 1.299 GB, free: 393 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001774/1.333, allocations: 1.369 MB / 1.301 GB, free: 393 MB / 0.9981 GB Notification: Performance of SimCode: time 9.01e-07/1.333, allocations: 0 / 1.301 GB, free: 393 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1087/1.442, allocations: 84.41 MB / 1.383 GB, free: 339.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001377/1.442, allocations: 254.9 kB / 1.383 GB, free: 339.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.744/5.186, allocations: 0 / 1.383 GB, free: 339.2 MB / 0.9981 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/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)