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.0016/0.0016, allocations: 107.6 kB / 16.27 MB, free: 5.984 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.001884/0.001884, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.254/1.254, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7002/0.7002, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 64.14 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2827, 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.496/0.7788, allocations: 314.1 MB / 0.874 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02239/0.8012, allocations: 18.45 MB / 0.8921 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002087/0.8034, allocations: 92.03 kB / 0.8921 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004/0.8074, allocations: 2.154 MB / 0.8943 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01357/0.821, allocations: 7.307 MB / 0.9014 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006241/0.8272, allocations: 3.206 MB / 0.9045 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007855/0.8351, allocations: 9.109 MB / 0.9134 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002987/0.8381, allocations: 3.101 MB / 0.9164 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003613/0.8417, allocations: 3.306 MB / 0.9197 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003593/0.8453, allocations: 3.232 MB / 0.9228 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000496/0.8458, allocations: 400 kB / 0.9232 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01074/0.8566, allocations: 7.003 MB / 0.93 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001287/0.8579, allocations: 1.687 MB / 0.9317 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002037/0.8599, allocations: 2.303 MB / 0.9339 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009051/0.869, allocations: 8.13 MB / 0.9419 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.869, allocations: 0 / 0.9419 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.322e-06/0.869, allocations: 0 / 0.9419 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.921e-05/0.869, allocations: 0 / 0.9419 GB, free: 7.008 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.01063/0.8797, allocations: 4.997 MB / 0.9468 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.8797, allocations: 12.56 kB / 0.9468 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005373/0.8803, allocations: 463.5 kB / 0.9472 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006251/0.8865, allocations: 1.002 MB / 0.9482 GB, free: 468 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003475/0.89, allocations: 2.166 MB / 0.9503 GB, free: 14.24 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/0.8902, allocations: 242.4 kB / 0.9505 GB, free: 14 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000443/0.8906, allocations: 331.9 kB / 0.9509 GB, free: 13.68 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006244/0.8969, allocations: 4.239 MB / 0.955 GB, free: 9.352 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.927e-05/0.8969, allocations: 7.938 kB / 0.955 GB, free: 9.344 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000295/0.8972, allocations: 136 kB / 0.9551 GB, free: 9.211 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001537/0.8974, allocations: 170.3 kB / 0.9553 GB, free: 9.043 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007256/0.9047, allocations: 4.776 MB / 0.96 GB, free: 4.258 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.01632/0.921, allocations: 14.53 MB / 0.9742 GB, free: 4.754 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005404/0.9264, allocations: 4.557 MB / 0.9786 GB, free: 192 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003062/0.9295, allocations: 2.448 MB / 0.981 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001458/0.931, allocations: 1.608 MB / 0.9826 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.877e-05/0.931, allocations: 73.64 kB / 0.9826 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=392): time 4.599e-06/0.931, allocations: 3.938 kB / 0.9826 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of matching and sorting (n=392): time 0.007928/0.939, allocations: 5.539 MB / 0.988 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.939, allocations: 98.42 kB / 0.9881 GB, free: 6.039 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.9409, allocations: 1.685 MB / 0.9898 GB, free: 4.312 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001737/0.941, allocations: 93.64 kB / 0.9899 GB, free: 4.215 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006937/0.9417, allocations: 1.132 MB / 0.991 GB, free: 3.07 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008843/0.9426, allocations: 1.32 MB / 0.9923 GB, free: 1.73 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007552/0.9434, allocations: 0.5585 MB / 0.9928 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.534e-05/0.9435, allocations: 305.1 kB / 0.9931 GB, free: 0.8633 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00217/0.9457, allocations: 1.564 MB / 0.9946 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002425/0.9481, allocations: 1.912 MB / 0.9965 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004897/0.953, allocations: 3.766 MB / 1 GB, free: 9.465 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.953, allocations: 0 / 1 GB, free: 9.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005786/0.9588, allocations: 4.174 MB / 1.004 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.9589, allocations: 8 kB / 1.004 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.9589, allocations: 4 kB / 1.004 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.936e-05/0.9589, allocations: 23.94 kB / 1.004 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002743/0.9617, allocations: 0.6904 MB / 1.005 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.668e-05/0.9617, allocations: 24.28 kB / 1.005 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/0.9639, allocations: 269 kB / 1.005 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002118/0.9641, allocations: 116 kB / 1.005 GB, free: 4.137 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.001135/0.9652, allocations: 0.7976 MB / 1.006 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004425/0.9657, allocations: 288.5 kB / 1.006 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006508/0.9722, allocations: 4.433 MB / 1.011 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.577e-05/0.9722, allocations: 39.94 kB / 1.011 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.9722, allocations: 0 / 1.011 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005052/0.9773, allocations: 3.796 MB / 1.014 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01158/0.9889, allocations: 8.636 MB / 1.023 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.9889, allocations: 4 kB / 1.023 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003029/0.9919, allocations: 0.7259 MB / 1.024 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.138e-05/0.992, allocations: 12 kB / 1.024 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002226/0.9922, allocations: 87.97 kB / 1.024 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.677e-05/0.9922, allocations: 16 kB / 1.024 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.9922, allocations: 7.938 kB / 1.024 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2139/1.206, allocations: 6.563 MB / 1.03 GB, free: 312.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/1.208, allocations: 0.7965 MB / 1.031 GB, free: 311.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005364/1.208, allocations: 77.56 kB / 1.031 GB, free: 311.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/1.21, allocations: 82.67 kB / 1.031 GB, free: 311.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004177/1.211, allocations: 231.9 kB / 1.031 GB, free: 311.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002158/1.211, allocations: 116.7 kB / 1.031 GB, free: 311.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001535/1.212, allocations: 1.151 MB / 1.033 GB, free: 311.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.212, allocations: 5.062 kB / 1.033 GB, free: 311.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00234/1.215, allocations: 1.236 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.008823/1.224, allocations: 7.474 MB / 1.041 GB, free: 307.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01663/1.24, allocations: 9.839 MB / 1.051 GB, free: 306.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.24, allocations: 0 / 1.051 GB, free: 306.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002177/1.242, allocations: 2.15 MB / 1.053 GB, free: 305.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005536/1.248, allocations: 1.613 MB / 1.054 GB, free: 305.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02598/1.274, allocations: 28.85 MB / 1.083 GB, free: 278.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/1.275, allocations: 2.209 MB / 1.085 GB, free: 276.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002907/1.278, allocations: 1.2 MB / 1.086 GB, free: 275.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001399/1.279, allocations: 1.39 MB / 1.087 GB, free: 274 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/1.279, allocations: 0 / 1.087 GB, free: 274 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.348/3.628, allocations: 84.77 MB / 1.17 GB, free: 189.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/16.51, allocations: 3.938 kB / 1.17 GB, free: 189.9 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 & /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)