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.0009736/0.0009736, allocations: 106.1 kB / 16.27 MB, free: 6.41 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.0009607/0.0009607, allocations: 184.1 kB / 17.2 MB, free: 5.953 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.218/1.218, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7309/0.7309, allocations: 122.8 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 55.91 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3165, allocations: 77.93 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.5515/0.868, allocations: 314.1 MB / 0.874 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02695/0.895, allocations: 18.45 MB / 0.8921 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004102/0.8991, allocations: 85.59 kB / 0.8921 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005753/0.9049, allocations: 2.153 MB / 0.8943 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01954/0.9245, allocations: 7.307 MB / 0.9014 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.008744/0.9333, allocations: 3.2 MB / 0.9045 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01149/0.9448, allocations: 9.107 MB / 0.9134 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005598/0.9504, allocations: 3.115 MB / 0.9164 GB, free: 1.051 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006779/0.9572, allocations: 3.298 MB / 0.9197 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006101/0.9634, allocations: 3.235 MB / 0.9228 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0016/0.965, allocations: 407.9 kB / 0.9232 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01433/0.9793, allocations: 6.995 MB / 0.93 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002559/0.9819, allocations: 1.687 MB / 0.9317 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004771/0.9867, allocations: 2.303 MB / 0.9339 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01683/1.004, allocations: 8.13 MB / 0.9419 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/1.004, allocations: 4 kB / 0.9419 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.874e-06/1.004, allocations: 0 / 0.9419 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002238/1.004, allocations: 0 / 0.9419 GB, free: 6.938 MB / 0.6544 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.01453/1.018, allocations: 4.989 MB / 0.9468 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/1.018, allocations: 12.62 kB / 0.9468 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001147/1.02, allocations: 463.5 kB / 0.9472 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006803/1.026, allocations: 1.006 MB / 0.9482 GB, free: 400 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004283/1.031, allocations: 2.166 MB / 0.9503 GB, free: 14.17 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002274/1.031, allocations: 242.4 kB / 0.9505 GB, free: 13.93 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008655/1.032, allocations: 327.9 kB / 0.9509 GB, free: 13.61 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007778/1.04, allocations: 4.235 MB / 0.955 GB, free: 9.293 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.917e-05/1.04, allocations: 7.938 kB / 0.955 GB, free: 9.285 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003538/1.04, allocations: 136 kB / 0.9551 GB, free: 9.152 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000158/1.04, allocations: 166.4 kB / 0.9553 GB, free: 8.988 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007217/1.048, allocations: 4.783 MB / 0.96 GB, free: 4.195 MB / 0.67 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.01737/1.065, allocations: 14.53 MB / 0.9741 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005564/1.07, allocations: 4.563 MB / 0.9786 GB, free: 124 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00319/1.074, allocations: 2.448 MB / 0.981 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001566/1.075, allocations: 1.612 MB / 0.9826 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.691e-05/1.075, allocations: 69.64 kB / 0.9826 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=392): time 5.801e-06/1.075, allocations: 0 / 0.9826 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of matching and sorting (n=392): time 0.008392/1.084, allocations: 5.539 MB / 0.988 GB, free: 6.086 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/1.084, allocations: 98.42 kB / 0.9881 GB, free: 5.977 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/1.086, allocations: 1.685 MB / 0.9898 GB, free: 4.25 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002989/1.086, allocations: 93.7 kB / 0.9899 GB, free: 4.152 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00109/1.087, allocations: 1.128 MB / 0.991 GB, free: 3.012 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001059/1.088, allocations: 1.324 MB / 0.9923 GB, free: 1.668 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000793/1.089, allocations: 0.5507 MB / 0.9928 GB, free: 1.109 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.813e-05/1.089, allocations: 301.1 kB / 0.9931 GB, free: 0.8125 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002283/1.092, allocations: 1.568 MB / 0.9946 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002625/1.094, allocations: 1.92 MB / 0.9965 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005302/1.1, allocations: 3.766 MB / 1 GB, free: 9.402 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/1.1, allocations: 4 kB / 1 GB, free: 9.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007205/1.107, allocations: 4.174 MB / 1.004 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/1.107, allocations: 4 kB / 1.004 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.097e-05/1.107, allocations: 9.562 kB / 1.004 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.882e-05/1.107, allocations: 19.94 kB / 1.004 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003141/1.11, allocations: 0.6943 MB / 1.005 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-05/1.11, allocations: 27.92 kB / 1.005 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003005/1.113, allocations: 261.1 kB / 1.005 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003156/1.114, allocations: 116 kB / 1.005 GB, free: 4.074 MB / 0.7169 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.001571/1.115, allocations: 0.7946 MB / 1.006 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007194/1.116, allocations: 292.5 kB / 1.006 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006969/1.123, allocations: 4.437 MB / 1.011 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-05/1.123, allocations: 39.94 kB / 1.011 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/1.123, allocations: 0 / 1.011 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005137/1.128, allocations: 3.792 MB / 1.014 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/1.142, allocations: 8.644 MB / 1.023 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/1.142, allocations: 4 kB / 1.023 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003148/1.145, allocations: 0.7217 MB / 1.024 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.458e-05/1.145, allocations: 16 kB / 1.024 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002141/1.145, allocations: 84.08 kB / 1.024 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.508e-05/1.145, allocations: 16 kB / 1.024 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/1.145, allocations: 4 kB / 1.024 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2385/1.384, allocations: 6.563 MB / 1.03 GB, free: 312.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001915/1.386, allocations: 0.7946 MB / 1.031 GB, free: 311.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005744/1.386, allocations: 74.09 kB / 1.031 GB, free: 311.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002093/1.389, allocations: 89.2 kB / 1.031 GB, free: 311.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004435/1.389, allocations: 235.1 kB / 1.031 GB, free: 311.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002175/1.389, allocations: 115.9 kB / 1.031 GB, free: 311.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001643/1.391, allocations: 1.151 MB / 1.033 GB, free: 311.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/1.391, allocations: 0.5625 kB / 1.033 GB, free: 311.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002799/1.394, allocations: 1.239 MB / 1.034 GB, free: 311.1 MB / 0.7325 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.00995/1.404, allocations: 7.477 MB / 1.041 GB, free: 307.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01909/1.423, allocations: 9.838 MB / 1.051 GB, free: 306.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/1.423, allocations: 0.6562 kB / 1.051 GB, free: 306.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002735/1.426, allocations: 2.149 MB / 1.053 GB, free: 305.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006721/1.432, allocations: 1.616 MB / 1.054 GB, free: 305.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02861/1.461, allocations: 28.85 MB / 1.083 GB, free: 278.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/1.462, allocations: 2.205 MB / 1.085 GB, free: 276.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003515/1.466, allocations: 1.204 MB / 1.086 GB, free: 275.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001511/1.467, allocations: 1.386 MB / 1.087 GB, free: 273.9 MB / 0.7325 GB Notification: Performance of SimCode: time 6.51e-07/1.467, allocations: 0 / 1.087 GB, free: 273.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09658/1.564, allocations: 84.76 MB / 1.17 GB, free: 189.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.188/10.75, allocations: 9.906 kB / 1.17 GB, free: 189.8 MB / 0.7325 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 & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)