Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="BuildSysPro_BuildSysPro_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.001106/0.001106, 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.0011/0.0011, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.158/1.158, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8407/0.8407, allocations: 143.1 MB / 433.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 63.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1223, allocations: 82.03 MB / 0.5944 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7241/0.8464, allocations: 314.6 MB / 0.9016 GB, free: 1.512 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02045/0.8669, allocations: 18.49 MB / 0.9196 GB, free: 1.371 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002759/0.8697, allocations: 89.28 kB / 0.9197 GB, free: 1.371 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003596/0.8733, allocations: 2.151 MB / 0.9218 GB, free: 1.328 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0135/0.8868, allocations: 7.312 MB / 0.929 GB, free: 1.012 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006372/0.8932, allocations: 3.206 MB / 0.9321 GB, free: 0.9102 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008246/0.9015, allocations: 9.106 MB / 0.941 GB, free: 0.8906 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003101/0.9046, allocations: 3.111 MB / 0.944 GB, free: 16.47 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004639/0.9092, allocations: 3.297 MB / 0.9472 GB, free: 16.45 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004184/0.9134, allocations: 3.24 MB / 0.9504 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004892/0.9139, allocations: 409.8 kB / 0.9508 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01129/0.9252, allocations: 6.991 MB / 0.9576 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001458/0.9267, allocations: 1.684 MB / 0.9593 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002623/0.9293, allocations: 2.304 MB / 0.9615 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01082/0.9401, allocations: 8.39 MB / 0.9697 GB, free: 8.676 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.9402, allocations: 0 / 0.9697 GB, free: 8.676 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.042e-06/0.9402, allocations: 0 / 0.9697 GB, free: 8.676 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.162e-05/0.9402, allocations: 0 / 0.9697 GB, free: 8.676 MB / 0.6856 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.01012/0.9503, allocations: 4.999 MB / 0.9746 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.9504, allocations: 12.03 kB / 0.9746 GB, free: 3.711 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004876/0.9509, allocations: 462.3 kB / 0.975 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005667/0.9566, allocations: 1.004 MB / 0.976 GB, free: 2.25 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003004/0.9596, allocations: 2.168 MB / 0.9781 GB, free: 156 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/0.9597, allocations: 247 kB / 0.9784 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004127/0.9602, allocations: 337.4 kB / 0.9787 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005642/0.9658, allocations: 4.23 MB / 0.9828 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.69e-05/0.9659, allocations: 10.62 kB / 0.9828 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002972/0.9662, allocations: 135.3 kB / 0.983 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001423/0.9663, allocations: 168.2 kB / 0.9831 GB, free: 11 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006609/0.9729, allocations: 4.785 MB / 0.9878 GB, free: 6.215 MB / 0.7012 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.01564/0.9886, allocations: 14.56 MB / 1.002 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005291/0.9939, allocations: 4.552 MB / 1.006 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00301/0.9969, allocations: 2.447 MB / 1.009 GB, free: 28 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001467/0.9984, allocations: 1.61 MB / 1.01 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/0.9985, allocations: 76.64 kB / 1.01 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=392): time 4.749e-06/0.9985, allocations: 4 kB / 1.01 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=392): time 0.007909/1.006, allocations: 5.531 MB / 1.016 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/1.006, allocations: 94.42 kB / 1.016 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001949/1.008, allocations: 1.685 MB / 1.018 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001962/1.009, allocations: 93.7 kB / 1.018 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000704/1.009, allocations: 1.128 MB / 1.019 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009811/1.01, allocations: 1.327 MB / 1.02 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007864/1.011, allocations: 0.5546 MB / 1.021 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.236e-05/1.011, allocations: 304.4 kB / 1.021 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002258/1.013, allocations: 1.568 MB / 1.022 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002504/1.016, allocations: 1.912 MB / 1.024 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004987/1.021, allocations: 3.763 MB / 1.028 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/1.021, allocations: 4 kB / 1.028 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.0059/1.027, allocations: 4.172 MB / 1.032 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.027, allocations: 4 kB / 1.032 GB, free: 7.648 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/1.027, allocations: 11.94 kB / 1.032 GB, free: 7.637 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.774e-05/1.027, allocations: 23.94 kB / 1.032 GB, free: 7.613 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002652/1.03, allocations: 0.6986 MB / 1.033 GB, free: 6.957 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.813e-05/1.03, allocations: 23.09 kB / 1.033 GB, free: 6.938 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/1.032, allocations: 265 kB / 1.033 GB, free: 6.676 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002097/1.032, allocations: 112 kB / 1.033 GB, free: 6.566 MB / 0.7481 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.001177/1.033, allocations: 0.7949 MB / 1.034 GB, free: 5.801 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005024/1.034, allocations: 292.5 kB / 1.034 GB, free: 5.512 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006515/1.04, allocations: 4.44 MB / 1.039 GB, free: 1.047 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.078e-05/1.04, allocations: 39.98 kB / 1.039 GB, free: 1.008 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/1.04, allocations: 4 kB / 1.039 GB, free: 1.004 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004992/1.045, allocations: 3.798 MB / 1.042 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/1.057, allocations: 8.65 MB / 1.051 GB, free: 4.445 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/1.057, allocations: 4 kB / 1.051 GB, free: 4.441 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002911/1.06, allocations: 0.7257 MB / 1.052 GB, free: 3.754 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.58e-05/1.06, allocations: 16 kB / 1.052 GB, free: 3.738 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002163/1.06, allocations: 87.92 kB / 1.052 GB, free: 3.652 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.646e-05/1.06, allocations: 12 kB / 1.052 GB, free: 3.641 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.06, allocations: 7.938 kB / 1.052 GB, free: 3.633 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008484/1.069, allocations: 6.566 MB / 1.058 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/1.07, allocations: 0.805 MB / 1.059 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004112/1.07, allocations: 68 kB / 1.059 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/1.072, allocations: 87.16 kB / 1.059 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003994/1.073, allocations: 237.4 kB / 1.059 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002071/1.073, allocations: 116 kB / 1.059 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001454/1.074, allocations: 1.157 MB / 1.06 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/1.074, allocations: 0 / 1.06 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002274/1.077, allocations: 1.224 MB / 1.062 GB, free: 9.25 MB / 0.7794 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.009539/1.086, allocations: 7.496 MB / 1.069 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01858/1.105, allocations: 9.838 MB / 1.079 GB, free: 7.961 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.105, allocations: 0 / 1.079 GB, free: 7.961 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002701/1.107, allocations: 2.149 MB / 1.081 GB, free: 5.891 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006105/1.114, allocations: 1.608 MB / 1.082 GB, free: 4.328 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03522/1.149, allocations: 28.84 MB / 1.11 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/1.151, allocations: 2.21 MB / 1.113 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003585/1.154, allocations: 1.2 MB / 1.114 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001826/1.156, allocations: 1.393 MB / 1.115 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of SimCode: time 5.21e-07/1.156, allocations: 0 / 1.115 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3051/1.461, allocations: 85.02 MB / 1.198 GB, free: 402.3 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.623/10.08, allocations: 12 kB / 1.198 GB, free: 402.3 MB / 0.8731 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)