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.001023/0.001023, allocations: 108 kB / 15.6 MB, free: 132 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.001008/0.001008, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.495/1.495, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.544/1.544, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001417/0.001417, allocations: 72.59 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2372, allocations: 114.5 MB / 0.7835 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.8369/1.074, allocations: 314.1 MB / 1.09 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02764/1.102, allocations: 18.28 MB / 1.108 GB, free: 10.81 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005533/1.107, allocations: 87.56 kB / 1.108 GB, free: 10.72 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.007035/1.115, allocations: 2.152 MB / 1.11 GB, free: 8.559 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.02046/1.135, allocations: 7.227 MB / 1.117 GB, free: 1.301 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0095/1.145, allocations: 3.254 MB / 1.12 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.013/1.158, allocations: 9.064 MB / 1.129 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005504/1.163, allocations: 3.099 MB / 1.132 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007594/1.171, allocations: 3.298 MB / 1.136 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006752/1.178, allocations: 3.229 MB / 1.139 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00191/1.179, allocations: 404 kB / 1.139 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01804/1.198, allocations: 6.999 MB / 1.146 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003235/1.201, allocations: 1.691 MB / 1.148 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.006072/1.207, allocations: 2.303 MB / 1.15 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01966/1.227, allocations: 8.142 MB / 1.158 GB, free: 7.688 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/1.227, allocations: 0 / 1.158 GB, free: 7.688 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.924e-06/1.227, allocations: 0 / 1.158 GB, free: 7.688 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002561/1.227, allocations: 0 / 1.158 GB, free: 7.688 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.017/1.244, allocations: 4.977 MB / 1.163 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/1.244, allocations: 12.03 kB / 1.163 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001534/1.246, allocations: 459.5 kB / 1.163 GB, free: 2.172 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007251/1.253, allocations: 1.01 MB / 1.164 GB, free: 1.156 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005515/1.258, allocations: 2.142 MB / 1.166 GB, free: 14.96 MB / 0.8888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002891/1.259, allocations: 250.4 kB / 1.166 GB, free: 14.71 MB / 0.8888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001179/1.26, allocations: 331.9 kB / 1.167 GB, free: 14.39 MB / 0.8888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01092/1.271, allocations: 4.232 MB / 1.171 GB, free: 10.07 MB / 0.8888 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.393e-05/1.271, allocations: 0 / 1.171 GB, free: 10.07 MB / 0.8888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003168/1.271, allocations: 140 kB / 1.171 GB, free: 9.934 MB / 0.8888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001686/1.271, allocations: 166.4 kB / 1.171 GB, free: 9.77 MB / 0.8888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008542/1.28, allocations: 4.779 MB / 1.176 GB, free: 4.98 MB / 0.8888 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.02139/1.301, allocations: 14.5 MB / 1.19 GB, free: 5.512 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00608/1.307, allocations: 4.576 MB / 1.194 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003503/1.311, allocations: 2.448 MB / 1.197 GB, free: 14.48 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001654/1.313, allocations: 1.616 MB / 1.198 GB, free: 12.54 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.631e-05/1.313, allocations: 77.64 kB / 1.198 GB, free: 12.45 MB / 0.92 GB Notification: Performance of pre-optimization done (n=392): time 5.28e-06/1.313, allocations: 0 / 1.198 GB, free: 12.45 MB / 0.92 GB Notification: Performance of matching and sorting (n=392): time 0.008799/1.322, allocations: 5.531 MB / 1.204 GB, free: 6.895 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.439e-05/1.322, allocations: 90.48 kB / 1.204 GB, free: 6.793 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/1.324, allocations: 1.671 MB / 1.206 GB, free: 5.078 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002497/1.324, allocations: 93.7 kB / 1.206 GB, free: 4.98 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007685/1.325, allocations: 1.124 MB / 1.207 GB, free: 3.844 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001252/1.326, allocations: 1.313 MB / 1.208 GB, free: 2.512 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007974/1.327, allocations: 0.5585 MB / 1.209 GB, free: 1.945 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.138e-05/1.327, allocations: 305.1 kB / 1.209 GB, free: 1.645 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002245/1.33, allocations: 1.56 MB / 1.21 GB, free: 84 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002587/1.332, allocations: 1.938 MB / 1.212 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005203/1.337, allocations: 3.769 MB / 1.216 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/1.337, allocations: 4 kB / 1.216 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006299/1.344, allocations: 4.158 MB / 1.22 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/1.344, allocations: 16.11 kB / 1.22 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/1.344, allocations: 4 kB / 1.22 GB, free: 6 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.409e-05/1.344, allocations: 20 kB / 1.22 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002782/1.347, allocations: 0.6943 MB / 1.221 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-05/1.347, allocations: 23.98 kB / 1.221 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002686/1.349, allocations: 265.6 kB / 1.221 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002154/1.35, allocations: 120 kB / 1.221 GB, free: 4.891 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.001489/1.351, allocations: 0.7976 MB / 1.222 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007699/1.352, allocations: 288.6 kB / 1.222 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006432/1.358, allocations: 4.424 MB / 1.227 GB, free: 15.34 MB / 0.9513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.562e-05/1.358, allocations: 36 kB / 1.227 GB, free: 15.3 MB / 0.9513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/1.358, allocations: 0 / 1.227 GB, free: 15.3 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004832/1.363, allocations: 3.784 MB / 1.23 GB, free: 11.45 MB / 0.9513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/1.375, allocations: 8.621 MB / 1.239 GB, free: 2.664 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/1.375, allocations: 8.031 kB / 1.239 GB, free: 2.656 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003016/1.378, allocations: 0.7257 MB / 1.239 GB, free: 1.93 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-05/1.378, allocations: 19.94 kB / 1.239 GB, free: 1.91 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001882/1.379, allocations: 87.97 kB / 1.24 GB, free: 1.824 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.696e-05/1.379, allocations: 20 kB / 1.24 GB, free: 1.805 MB / 0.9513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.379, allocations: 0 / 1.24 GB, free: 1.805 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008574/1.387, allocations: 6.816 MB / 1.246 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/1.389, allocations: 0.7933 MB / 1.247 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003604/1.389, allocations: 75.94 kB / 1.247 GB, free: 10 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/1.391, allocations: 87.91 kB / 1.247 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003906/1.391, allocations: 238.5 kB / 1.247 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/1.391, allocations: 112 kB / 1.247 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001388/1.393, allocations: 1.145 MB / 1.249 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/1.393, allocations: 0 / 1.249 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002193/1.395, allocations: 1.228 MB / 1.25 GB, free: 7.172 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.00914/1.404, allocations: 7.737 MB / 1.257 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01872/1.423, allocations: 9.83 MB / 1.267 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/1.423, allocations: 4.375 kB / 1.267 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002855/1.426, allocations: 2.16 MB / 1.269 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007389/1.433, allocations: 1.609 MB / 1.271 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3334/1.767, allocations: 28.59 MB / 1.299 GB, free: 387 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001655/1.768, allocations: 2.198 MB / 1.301 GB, free: 386.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003676/1.772, allocations: 1.197 MB / 1.302 GB, free: 386.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001634/1.774, allocations: 1.37 MB / 1.303 GB, free: 385 MB / 0.9981 GB Notification: Performance of SimCode: time 7.41e-07/1.774, allocations: 0 / 1.303 GB, free: 385 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.107/1.881, allocations: 84.91 MB / 1.386 GB, free: 325.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.232/11.11, allocations: 11.98 kB / 1.386 GB, free: 325.3 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)