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.001264/0.001264, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.299/1.299, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.603/1.603, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001424/0.001424, allocations: 69.11 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2256, allocations: 114.6 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6954/0.9211, allocations: 314.1 MB / 1.09 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02824/0.9494, allocations: 18.28 MB / 1.108 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004673/0.9541, allocations: 83.56 kB / 1.108 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.005695/0.9598, allocations: 2.148 MB / 1.11 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01768/0.9775, allocations: 7.235 MB / 1.117 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.009155/0.9867, allocations: 3.266 MB / 1.121 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01231/0.999, allocations: 9.062 MB / 1.129 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004557/1.004, allocations: 3.102 MB / 1.133 GB, free: 1.641 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007783/1.011, allocations: 3.31 MB / 1.136 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006503/1.018, allocations: 3.232 MB / 1.139 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0009766/1.019, allocations: 404 kB / 1.139 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01502/1.034, allocations: 6.999 MB / 1.146 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002763/1.037, allocations: 1.683 MB / 1.148 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00376/1.041, allocations: 2.303 MB / 1.15 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01599/1.057, allocations: 8.2 MB / 1.158 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.057, allocations: 0 / 1.158 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.948e-06/1.057, allocations: 0 / 1.158 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001385/1.057, allocations: 3.938 kB / 1.158 GB, free: 7.453 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.01266/1.069, allocations: 4.978 MB / 1.163 GB, free: 2.406 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/1.07, allocations: 8.031 kB / 1.163 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005959/1.07, allocations: 459.5 kB / 1.163 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006359/1.077, allocations: 1.01 MB / 1.164 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004438/1.081, allocations: 2.224 MB / 1.166 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/1.081, allocations: 250.4 kB / 1.167 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004679/1.082, allocations: 327.9 kB / 1.167 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007141/1.089, allocations: 4.239 MB / 1.171 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.464e-05/1.089, allocations: 0 / 1.171 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003056/1.089, allocations: 136 kB / 1.171 GB, free: 9.621 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001772/1.089, allocations: 166.4 kB / 1.171 GB, free: 9.457 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007532/1.097, allocations: 4.779 MB / 1.176 GB, free: 4.668 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.01945/1.116, allocations: 14.41 MB / 1.19 GB, free: 5.289 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005691/1.122, allocations: 4.567 MB / 1.195 GB, free: 0.7227 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003282/1.125, allocations: 2.444 MB / 1.197 GB, free: 14.27 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001598/1.127, allocations: 1.612 MB / 1.199 GB, free: 12.33 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.325e-05/1.127, allocations: 81.58 kB / 1.199 GB, free: 12.24 MB / 0.92 GB Notification: Performance of pre-optimization done (n=392): time 5.25e-06/1.127, allocations: 0 / 1.199 GB, free: 12.24 MB / 0.92 GB Notification: Performance of matching and sorting (n=392): time 0.008612/1.136, allocations: 5.531 MB / 1.204 GB, free: 6.684 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/1.136, allocations: 94.48 kB / 1.204 GB, free: 6.578 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002234/1.138, allocations: 1.663 MB / 1.206 GB, free: 4.871 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002388/1.138, allocations: 97.7 kB / 1.206 GB, free: 4.77 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007395/1.139, allocations: 1.12 MB / 1.207 GB, free: 3.637 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001061/1.14, allocations: 1.32 MB / 1.208 GB, free: 2.297 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008093/1.141, allocations: 0.5585 MB / 1.209 GB, free: 1.73 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001028/1.141, allocations: 309.1 kB / 1.209 GB, free: 1.426 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002323/1.143, allocations: 1.556 MB / 1.211 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002659/1.146, allocations: 1.938 MB / 1.213 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005328/1.151, allocations: 3.769 MB / 1.216 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/1.151, allocations: 4 kB / 1.216 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006579/1.158, allocations: 4.169 MB / 1.22 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/1.158, allocations: 4 kB / 1.22 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/1.158, allocations: 8 kB / 1.22 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.34e-05/1.158, allocations: 16 kB / 1.22 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002858/1.161, allocations: 0.6988 MB / 1.221 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.478e-05/1.161, allocations: 27.92 kB / 1.221 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002597/1.164, allocations: 259.6 kB / 1.221 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002435/1.164, allocations: 116 kB / 1.221 GB, free: 4.672 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.001395/1.165, allocations: 0.8015 MB / 1.222 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005635/1.166, allocations: 288.5 kB / 1.222 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006802/1.173, allocations: 4.417 MB / 1.227 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.421e-05/1.173, allocations: 39.94 kB / 1.227 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/1.173, allocations: 4 kB / 1.227 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00519/1.178, allocations: 3.78 MB / 1.23 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/1.191, allocations: 8.62 MB / 1.239 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/1.191, allocations: 64 / 1.239 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003135/1.194, allocations: 0.7415 MB / 1.24 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.991e-05/1.194, allocations: 16 kB / 1.24 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000216/1.195, allocations: 83.97 kB / 1.24 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.719e-05/1.195, allocations: 16 kB / 1.24 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.195, allocations: 4 kB / 1.24 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009698/1.204, allocations: 6.828 MB / 1.246 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001762/1.206, allocations: 0.7972 MB / 1.247 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003788/1.206, allocations: 68 kB / 1.247 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001821/1.208, allocations: 87.91 kB / 1.247 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004074/1.209, allocations: 234.5 kB / 1.248 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002191/1.209, allocations: 119.9 kB / 1.248 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001573/1.21, allocations: 1.149 MB / 1.249 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/1.211, allocations: 0 / 1.249 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002402/1.213, allocations: 1.228 MB / 1.25 GB, free: 6.938 MB / 0.9669 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.01045/1.223, allocations: 7.729 MB / 1.258 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006039/1.229, allocations: 3.955 MB / 1.261 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/1.229, allocations: 3.938 kB / 1.261 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002927/1.232, allocations: 2.154 MB / 1.264 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006859/1.239, allocations: 1.609 MB / 1.265 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4184/1.658, allocations: 25.52 MB / 1.29 GB, free: 389.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001786/1.66, allocations: 2.198 MB / 1.292 GB, free: 388.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004091/1.664, allocations: 1.2 MB / 1.293 GB, free: 388.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001943/1.666, allocations: 1.371 MB / 1.295 GB, free: 388.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.734e-06/1.666, allocations: 3.719 kB / 1.295 GB, free: 388.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1133/1.779, allocations: 84.9 MB / 1.378 GB, free: 334.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.87/15.65, allocations: 11.72 kB / 1.378 GB, free: 334.5 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)