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.00104/0.00104, allocations: 101.6 kB / 15.98 MB, free: 6.344 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.001052/0.001052, allocations: 195.1 kB / 16.91 MB, free: 6.188 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.239/1.239, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6881/0.6881, allocations: 115.3 MB / 406.1 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 59.91 kB / 493.2 MB, free: 0.6172 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.329, allocations: 76.17 MB / 0.556 GB, free: 36.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6042/0.9332, allocations: 310.6 MB / 0.8593 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02347/0.9567, allocations: 18.37 MB / 0.8772 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003953/0.9607, allocations: 76.41 kB / 0.8773 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005308/0.966, allocations: 1.936 MB / 0.8792 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0173/0.9834, allocations: 6.886 MB / 0.8859 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007926/0.9913, allocations: 2.961 MB / 0.8888 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01231/1.004, allocations: 9.121 MB / 0.8977 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004744/1.008, allocations: 3.041 MB / 0.9007 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006465/1.015, allocations: 3.359 MB / 0.904 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006624/1.022, allocations: 3.437 MB / 0.9073 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001246/1.023, allocations: 404 kB / 0.9077 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01406/1.037, allocations: 7.295 MB / 0.9148 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002495/1.039, allocations: 1.695 MB / 0.9165 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004652/1.044, allocations: 2.303 MB / 0.9187 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01492/1.059, allocations: 8.632 MB / 0.9272 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/1.059, allocations: 4 kB / 0.9272 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.412e-06/1.059, allocations: 0 / 0.9272 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002042/1.059, allocations: 0 / 0.9272 GB, free: 9.66 MB / 0.6387 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.01391/1.073, allocations: 4.997 MB / 0.932 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/1.073, allocations: 8.031 kB / 0.9321 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001003/1.074, allocations: 459.5 kB / 0.9325 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006696/1.081, allocations: 1.006 MB / 0.9335 GB, free: 3.113 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004193/1.085, allocations: 2.166 MB / 0.9356 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001896/1.085, allocations: 246.4 kB / 0.9358 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007048/1.086, allocations: 327.9 kB / 0.9361 GB, free: 340 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007825/1.094, allocations: 4.235 MB / 0.9403 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.844e-05/1.094, allocations: 7.938 kB / 0.9403 GB, free: 12 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004338/1.094, allocations: 132 kB / 0.9404 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001654/1.095, allocations: 174.4 kB / 0.9406 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00785/1.102, allocations: 4.783 MB / 0.9452 GB, free: 6.91 MB / 0.6544 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.01843/1.121, allocations: 14.37 MB / 0.9593 GB, free: 7.566 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005924/1.127, allocations: 4.55 MB / 0.9637 GB, free: 3.02 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003301/1.13, allocations: 2.463 MB / 0.9661 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001618/1.132, allocations: 1.608 MB / 0.9677 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.797e-05/1.132, allocations: 77.58 kB / 0.9678 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=392): time 5.36e-06/1.132, allocations: 0 / 0.9678 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of matching and sorting (n=392): time 0.008666/1.141, allocations: 5.543 MB / 0.9732 GB, free: 8.953 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/1.141, allocations: 90.48 kB / 0.9733 GB, free: 8.852 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/1.143, allocations: 1.689 MB / 0.9749 GB, free: 7.121 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000227/1.143, allocations: 93.7 kB / 0.975 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007629/1.144, allocations: 1.128 MB / 0.9761 GB, free: 5.883 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.00105/1.145, allocations: 1.32 MB / 0.9774 GB, free: 4.543 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008542/1.146, allocations: 0.5508 MB / 0.9779 GB, free: 3.984 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.839e-05/1.146, allocations: 305.1 kB / 0.9782 GB, free: 3.684 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002378/1.148, allocations: 1.56 MB / 0.9798 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002643/1.151, allocations: 1.923 MB / 0.9816 GB, free: 132 kB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005332/1.156, allocations: 3.758 MB / 0.9853 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/1.156, allocations: 4 kB / 0.9853 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006534/1.163, allocations: 4.181 MB / 0.9894 GB, free: 8.07 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/1.163, allocations: 5.875 kB / 0.9894 GB, free: 8.066 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/1.163, allocations: 11.94 kB / 0.9894 GB, free: 8.055 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.881e-05/1.163, allocations: 16 kB / 0.9894 GB, free: 8.039 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002905/1.166, allocations: 0.6982 MB / 0.9901 GB, free: 7.34 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.867e-05/1.166, allocations: 20 kB / 0.9901 GB, free: 7.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003155/1.169, allocations: 480.9 kB / 0.9906 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002548/1.169, allocations: 120 kB / 0.9907 GB, free: 6.73 MB / 0.7012 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.001411/1.171, allocations: 0.7976 MB / 0.9915 GB, free: 5.922 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007255/1.172, allocations: 292.5 kB / 0.9918 GB, free: 5.633 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007028/1.179, allocations: 4.429 MB / 0.9961 GB, free: 1.168 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.902e-05/1.179, allocations: 39.98 kB / 0.9961 GB, free: 1.129 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/1.179, allocations: 0 / 0.9961 GB, free: 1.129 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005476/1.184, allocations: 3.792 MB / 0.9998 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01469/1.199, allocations: 8.641 MB / 1.008 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/1.199, allocations: 0 / 1.008 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003174/1.202, allocations: 0.7218 MB / 1.009 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.815e-05/1.202, allocations: 15.94 kB / 1.009 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002644/1.202, allocations: 88.06 kB / 1.009 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.45e-05/1.202, allocations: 27.94 kB / 1.009 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.202, allocations: 7.938 kB / 1.009 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009316/1.212, allocations: 6.558 MB / 1.015 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001822/1.214, allocations: 0.8049 MB / 1.016 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006185/1.214, allocations: 72 kB / 1.016 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002747/1.217, allocations: 261.2 kB / 1.017 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004368/1.217, allocations: 238.6 kB / 1.017 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002458/1.218, allocations: 116 kB / 1.017 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001819/1.22, allocations: 1.157 MB / 1.018 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.22, allocations: 0 / 1.018 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002754/1.222, allocations: 1.232 MB / 1.019 GB, free: 9.039 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.01077/1.233, allocations: 7.46 MB / 1.027 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.2355/1.469, allocations: 9.841 MB / 1.036 GB, free: 318.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/1.469, allocations: 5.641 kB / 1.036 GB, free: 318.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002782/1.471, allocations: 2.15 MB / 1.038 GB, free: 317.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006375/1.478, allocations: 1.6 MB / 1.04 GB, free: 317.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03783/1.516, allocations: 30.2 MB / 1.069 GB, free: 300.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/1.517, allocations: 2.215 MB / 1.071 GB, free: 300 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003623/1.521, allocations: 1.205 MB / 1.073 GB, free: 299.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/1.522, allocations: 1.38 MB / 1.074 GB, free: 298.8 MB / 0.7325 GB Notification: Performance of SimCode: time 9.22e-07/1.522, allocations: 0 / 1.074 GB, free: 298.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2981/1.82, allocations: 84.27 MB / 1.156 GB, free: 217.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/1.821, allocations: 246.3 kB / 1.157 GB, free: 217 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.071/5.891, allocations: 0 / 1.157 GB, free: 217 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)