Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="IBPSA_latest_IBPSA_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.0009928/0.0009929, allocations: 108.3 kB / 16.4 MB, free: 6.445 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.001054/0.001054, allocations: 193.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6658/0.6658, allocations: 115.3 MB / 406.5 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 60.83 kB / 0.5572 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1228, allocations: 76.18 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.5617/0.6845, allocations: 314.1 MB / 0.9384 GB, free: 2.25 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02451/0.709, allocations: 18.45 MB / 0.9564 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003282/0.7123, allocations: 91.56 kB / 0.9565 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004954/0.7174, allocations: 2.156 MB / 0.9586 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01612/0.7335, allocations: 7.299 MB / 0.9657 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007499/0.741, allocations: 3.233 MB / 0.9688 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01024/0.7513, allocations: 9.105 MB / 0.9777 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004621/0.7559, allocations: 3.11 MB / 0.9808 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006673/0.7626, allocations: 3.352 MB / 0.9841 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005816/0.7685, allocations: 3.227 MB / 0.9872 GB, free: 52 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001102/0.7696, allocations: 404 kB / 0.9876 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0133/0.7829, allocations: 7.003 MB / 0.9944 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002416/0.7853, allocations: 1.683 MB / 0.9961 GB, free: 6.949 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.004342/0.7897, allocations: 2.307 MB / 0.9983 GB, free: 4.633 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01419/0.8039, allocations: 8.189 MB / 1.006 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.804, allocations: 3.984 kB / 1.006 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.653e-06/0.804, allocations: 0 / 1.006 GB, free: 12.41 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001752/0.8041, allocations: 0 / 1.006 GB, free: 12.41 MB / 0.7637 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.0147/0.8189, allocations: 4.996 MB / 1.011 GB, free: 7.352 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.8189, allocations: 8.031 kB / 1.011 GB, free: 7.344 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001041/0.82, allocations: 463.5 kB / 1.012 GB, free: 6.879 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006974/0.8269, allocations: 1.006 MB / 1.013 GB, free: 5.867 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004079/0.831, allocations: 2.244 MB / 1.015 GB, free: 3.57 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/0.8312, allocations: 242.4 kB / 1.015 GB, free: 3.332 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004551/0.8317, allocations: 335.9 kB / 1.015 GB, free: 3.004 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006156/0.8378, allocations: 4.23 MB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.096e-05/0.8379, allocations: 7.984 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002935/0.8382, allocations: 140 kB / 1.02 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001444/0.8384, allocations: 174.3 kB / 1.02 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006993/0.8454, allocations: 4.776 MB / 1.024 GB, free: 9.59 MB / 0.7794 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.01746/0.8628, allocations: 14.44 MB / 1.039 GB, free: 10.17 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005609/0.8685, allocations: 4.549 MB / 1.043 GB, free: 5.625 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003242/0.8717, allocations: 2.459 MB / 1.045 GB, free: 3.156 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001514/0.8733, allocations: 1.604 MB / 1.047 GB, free: 1.219 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.684e-05/0.8733, allocations: 77.64 kB / 1.047 GB, free: 1.133 MB / 0.795 GB Notification: Performance of pre-optimization done (n=392): time 4.849e-06/0.8734, allocations: 0 / 1.047 GB, free: 1.133 MB / 0.795 GB Notification: Performance of matching and sorting (n=392): time 0.2978/1.171, allocations: 5.523 MB / 1.052 GB, free: 320.7 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/1.171, allocations: 97.62 kB / 1.053 GB, free: 320.6 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003197/1.174, allocations: 1.682 MB / 1.054 GB, free: 320 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0004273/1.175, allocations: 94.73 kB / 1.054 GB, free: 319.9 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000773/1.176, allocations: 1.135 MB / 1.055 GB, free: 319.2 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001167/1.177, allocations: 1.324 MB / 1.057 GB, free: 318.2 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001186/1.178, allocations: 0.5452 MB / 1.057 GB, free: 317.9 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 5.135e-05/1.178, allocations: 307.5 kB / 1.058 GB, free: 317.6 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002883/1.181, allocations: 1.567 MB / 1.059 GB, free: 317.1 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003313/1.184, allocations: 1.919 MB / 1.061 GB, free: 316.2 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006137/1.19, allocations: 3.767 MB / 1.065 GB, free: 314.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2e-05/1.191, allocations: 1.781 kB / 1.065 GB, free: 314.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00643/1.197, allocations: 4.178 MB / 1.069 GB, free: 312.9 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/1.197, allocations: 7.938 kB / 1.069 GB, free: 312.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/1.197, allocations: 3.969 kB / 1.069 GB, free: 312.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.186e-05/1.197, allocations: 19.81 kB / 1.069 GB, free: 312.9 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0026/1.2, allocations: 0.6986 MB / 1.069 GB, free: 312.8 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.425e-05/1.2, allocations: 35.12 kB / 1.069 GB, free: 312.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/1.202, allocations: 256.2 kB / 1.07 GB, free: 312.6 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002215/1.202, allocations: 111.1 kB / 1.07 GB, free: 312.6 MB / 0.795 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.001158/1.203, allocations: 0.7958 MB / 1.071 GB, free: 312.2 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006144/1.204, allocations: 299 kB / 1.071 GB, free: 312 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00576/1.21, allocations: 4.42 MB / 1.075 GB, free: 310.2 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/1.21, allocations: 45.67 kB / 1.075 GB, free: 310.2 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/1.21, allocations: 0 / 1.075 GB, free: 310.2 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004278/1.214, allocations: 3.788 MB / 1.079 GB, free: 308.7 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/1.225, allocations: 8.641 MB / 1.087 GB, free: 303.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/1.225, allocations: 7.938 kB / 1.087 GB, free: 303.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002883/1.228, allocations: 0.7168 MB / 1.088 GB, free: 302.8 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.151e-05/1.228, allocations: 16 kB / 1.088 GB, free: 302.8 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002171/1.228, allocations: 91.69 kB / 1.088 GB, free: 302.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.812e-05/1.228, allocations: 16 kB / 1.088 GB, free: 302.7 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.228, allocations: 0 / 1.088 GB, free: 302.7 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007302/1.235, allocations: 6.577 MB / 1.095 GB, free: 296 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/1.237, allocations: 0.7933 MB / 1.095 GB, free: 295.2 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005244/1.237, allocations: 72 kB / 1.095 GB, free: 295.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002006/1.239, allocations: 90.16 kB / 1.096 GB, free: 295.1 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003201/1.24, allocations: 234.6 kB / 1.096 GB, free: 294.8 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001887/1.24, allocations: 115.9 kB / 1.096 GB, free: 294.7 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001377/1.241, allocations: 1.153 MB / 1.097 GB, free: 293.6 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/1.241, allocations: 0 / 1.097 GB, free: 293.6 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002246/1.244, allocations: 1.234 MB / 1.098 GB, free: 292.3 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.medium.Xi[1],volBotEas.dynBal.U,volBotEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.medium.Xi[1],volBotWes.dynBal.U,volBotWes.dynBal.m,oriEasTop.mExc,volTopEas.dynBal.medium.Xi[1],volTopEas.dynBal.U,volTopEas.dynBal.m,volTopWes.dynBal.medium.Xi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,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.007872/1.251, allocations: 7.49 MB / 1.105 GB, free: 284.8 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004607/1.256, allocations: 3.943 MB / 1.109 GB, free: 280.9 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.256, allocations: 0 / 1.109 GB, free: 280.9 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002223/1.258, allocations: 2.16 MB / 1.111 GB, free: 278.7 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005788/1.264, allocations: 1.594 MB / 1.113 GB, free: 277.2 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03102/1.295, allocations: 25.7 MB / 1.138 GB, free: 251.6 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001622/1.297, allocations: 2.203 MB / 1.14 GB, free: 249.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00321/1.3, allocations: 1.205 MB / 1.141 GB, free: 248.1 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001703/1.302, allocations: 1.39 MB / 1.143 GB, free: 246.8 MB / 0.795 GB Notification: Performance of SimCode: time 6.42e-07/1.302, allocations: 0 / 1.143 GB, free: 246.8 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1051/1.407, allocations: 86.97 MB / 1.228 GB, free: 160.5 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/14.4, allocations: 4 kB / 1.228 GB, free: 160.4 MB / 0.795 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)