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.0008088/0.0008089, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.004662/0.004662, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.154/1.154, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.485/1.485, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004834/0.0004834, allocations: 13.09 kB / 0.6744 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1841, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6123/0.7965, allocations: 307.6 MB / 1.088 GB, free: 8.094 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02415/0.8207, allocations: 18.32 MB / 1.106 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003375/0.8241, allocations: 75.5 kB / 1.106 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.005023/0.8291, allocations: 1.87 MB / 1.108 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01698/0.8461, allocations: 6.829 MB / 1.115 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007141/0.8533, allocations: 2.969 MB / 1.118 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01303/0.8663, allocations: 13.08 MB / 1.131 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00353/0.8699, allocations: 2.579 MB / 1.133 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004536/0.8744, allocations: 2.813 MB / 1.136 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005054/0.8795, allocations: 3.262 MB / 1.139 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0004572/0.88, allocations: 200 kB / 1.139 GB, free: 3.93 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0142/0.8942, allocations: 8.104 MB / 1.147 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002087/0.8963, allocations: 1.465 MB / 1.149 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002851/0.8992, allocations: 2.078 MB / 1.151 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01262/0.9118, allocations: 8.381 MB / 1.159 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.9118, allocations: 0 / 1.159 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.754e-06/0.9118, allocations: 0 / 1.159 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.759e-05/0.9119, allocations: 0 / 1.159 GB, free: 15.84 MB / 0.8731 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.0103/0.9222, allocations: 4.32 MB / 1.163 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.9223, allocations: 12.03 kB / 1.163 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006168/0.9229, allocations: 459.5 kB / 1.163 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005793/0.9287, allocations: 1.006 MB / 1.164 GB, free: 9.965 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003397/0.9321, allocations: 2.138 MB / 1.166 GB, free: 7.773 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/0.9323, allocations: 242.5 kB / 1.167 GB, free: 7.535 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004692/0.9327, allocations: 331.9 kB / 1.167 GB, free: 7.211 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006353/0.9391, allocations: 4.235 MB / 1.171 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.457e-05/0.9392, allocations: 7.906 kB / 1.171 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002985/0.9395, allocations: 132 kB / 1.171 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001693/0.9397, allocations: 170.4 kB / 1.171 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006987/0.9467, allocations: 4.772 MB / 1.176 GB, free: 13.8 MB / 0.8887 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.01661/0.9633, allocations: 14.38 MB / 1.19 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005442/0.9687, allocations: 4.572 MB / 1.195 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003193/0.972, allocations: 2.444 MB / 1.197 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0015/0.9735, allocations: 1.616 MB / 1.199 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.548e-05/0.9735, allocations: 77.64 kB / 1.199 GB, free: 5.395 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=392): time 5.501e-06/0.9735, allocations: 0 / 1.199 GB, free: 5.395 MB / 0.9044 GB Notification: Performance of matching and sorting (n=392): time 0.008167/0.9817, allocations: 5.535 MB / 1.204 GB, free: 15.84 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.452e-05/0.9818, allocations: 98.47 kB / 1.204 GB, free: 15.73 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002091/0.9839, allocations: 1.656 MB / 1.206 GB, free: 14.03 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002383/0.9841, allocations: 93.7 kB / 1.206 GB, free: 13.93 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007928/0.9849, allocations: 1.12 MB / 1.207 GB, free: 12.8 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001037/0.986, allocations: 1.328 MB / 1.208 GB, free: 11.45 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003335/0.9863, allocations: 268.8 kB / 1.209 GB, free: 11.18 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.255e-05/0.9864, allocations: 309 kB / 1.209 GB, free: 10.88 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002314/0.9887, allocations: 1.56 MB / 1.21 GB, free: 9.312 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002605/0.9914, allocations: 1.938 MB / 1.212 GB, free: 7.293 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005221/0.9966, allocations: 3.769 MB / 1.216 GB, free: 3.438 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.357e-06/0.9966, allocations: 4 kB / 1.216 GB, free: 3.434 MB / 0.92 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006296/1.003, allocations: 4.158 MB / 1.22 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/1.003, allocations: 4 kB / 1.22 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/1.003, allocations: 11.98 kB / 1.22 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/1.003, allocations: 19.98 kB / 1.22 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002666/1.006, allocations: 0.6949 MB / 1.221 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.941e-05/1.006, allocations: 23.98 kB / 1.221 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002853/1.009, allocations: 434.5 kB / 1.221 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002109/1.009, allocations: 116 kB / 1.221 GB, free: 13.96 MB / 0.9356 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.001375/1.01, allocations: 0.8054 MB / 1.222 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004307/1.011, allocations: 292.5 kB / 1.222 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006717/1.017, allocations: 4.421 MB / 1.227 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.618e-05/1.017, allocations: 43.98 kB / 1.227 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/1.017, allocations: 0 / 1.227 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00491/1.022, allocations: 3.78 MB / 1.23 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01212/1.034, allocations: 8.617 MB / 1.239 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/1.034, allocations: 8.047 kB / 1.239 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003193/1.038, allocations: 0.7334 MB / 1.24 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.264e-05/1.038, allocations: 16 kB / 1.24 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002531/1.038, allocations: 83.97 kB / 1.24 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.929e-05/1.038, allocations: 20.06 kB / 1.24 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/1.038, allocations: 8 kB / 1.24 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009292/1.047, allocations: 6.82 MB / 1.246 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00181/1.049, allocations: 0.7933 MB / 1.247 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000342/1.049, allocations: 68 kB / 1.247 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002178/1.052, allocations: 271.5 kB / 1.247 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003888/1.052, allocations: 238.5 kB / 1.248 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002134/1.052, allocations: 116 kB / 1.248 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001489/1.054, allocations: 1.149 MB / 1.249 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.054, allocations: 0 / 1.249 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002344/1.056, allocations: 1.228 MB / 1.25 GB, free: 48 kB / 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.009709/1.066, allocations: 7.728 MB / 1.258 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00559/1.071, allocations: 3.936 MB / 1.261 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.072, allocations: 0 / 1.261 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002728/1.074, allocations: 2.15 MB / 1.264 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006983/1.081, allocations: 1.534 MB / 1.265 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3476/1.429, allocations: 30.25 MB / 1.295 GB, free: 370.4 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001927/1.431, allocations: 2.21 MB / 1.297 GB, free: 369.6 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.004156/1.435, allocations: 1.196 MB / 1.298 GB, free: 369.5 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00185/1.437, allocations: 1.37 MB / 1.299 GB, free: 368.5 MB / 0.9825 GB Notification: Performance of SimCode: time 7.41e-07/1.437, allocations: 0 / 1.299 GB, free: 368.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08978/1.527, allocations: 81.25 MB / 1.379 GB, free: 308.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001405/1.527, allocations: 250.3 kB / 1.379 GB, free: 308.3 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.644/5.171, allocations: 2.531 kB / 1.379 GB, free: 308.3 MB / 0.9825 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)