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.001136/0.001136, 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.001071/0.001071, allocations: 192.3 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.9487/0.9487, allocations: 143 MB / 433.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.89 kB / 0.5143 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1501, allocations: 82.04 MB / 0.5944 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.8441/0.9942, allocations: 314.6 MB / 0.9016 GB, free: 1.473 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02439/1.019, allocations: 18.49 MB / 0.9196 GB, free: 1.336 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004136/1.023, allocations: 89.72 kB / 0.9197 GB, free: 1.336 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004441/1.027, allocations: 2.145 MB / 0.9218 GB, free: 1.293 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01759/1.045, allocations: 7.314 MB / 0.929 GB, free: 0.9766 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007457/1.052, allocations: 3.206 MB / 0.9321 GB, free: 0.8789 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009997/1.062, allocations: 9.105 MB / 0.941 GB, free: 0.8555 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003424/1.066, allocations: 3.113 MB / 0.944 GB, free: 16.44 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005016/1.071, allocations: 3.301 MB / 0.9472 GB, free: 16.42 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004077/1.075, allocations: 3.24 MB / 0.9504 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004996/1.075, allocations: 402.8 kB / 0.9508 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01178/1.087, allocations: 6.995 MB / 0.9576 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001442/1.089, allocations: 1.681 MB / 0.9593 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002544/1.091, allocations: 2.308 MB / 0.9615 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01253/1.104, allocations: 8.392 MB / 0.9697 GB, free: 8.656 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.104, allocations: 0 / 0.9697 GB, free: 8.656 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.617e-06/1.104, allocations: 0 / 0.9697 GB, free: 8.656 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001058/1.104, allocations: 3.938 kB / 0.9697 GB, free: 8.652 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.01278/1.117, allocations: 4.994 MB / 0.9746 GB, free: 3.719 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/1.117, allocations: 8.031 kB / 0.9746 GB, free: 3.711 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005284/1.117, allocations: 458.5 kB / 0.975 GB, free: 3.254 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005957/1.123, allocations: 1.01 MB / 0.976 GB, free: 2.25 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/1.126, allocations: 2.167 MB / 0.9781 GB, free: 156 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/1.127, allocations: 250.2 kB / 0.9784 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004278/1.127, allocations: 327.8 kB / 0.9787 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005998/1.133, allocations: 4.241 MB / 0.9828 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.784e-05/1.133, allocations: 4 kB / 0.9828 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002948/1.133, allocations: 130.7 kB / 0.983 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001491/1.134, allocations: 170.8 kB / 0.9831 GB, free: 11 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006927/1.141, allocations: 4.782 MB / 0.9878 GB, free: 6.223 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.01629/1.157, allocations: 14.56 MB / 1.002 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005458/1.162, allocations: 4.554 MB / 1.006 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003091/1.165, allocations: 2.447 MB / 1.009 GB, free: 28 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001517/1.167, allocations: 1.609 MB / 1.01 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/1.167, allocations: 77.64 kB / 1.011 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=392): time 4.859e-06/1.167, allocations: 0 / 1.011 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=392): time 0.008412/1.175, allocations: 5.538 MB / 1.016 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/1.176, allocations: 98.42 kB / 1.016 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/1.178, allocations: 1.681 MB / 1.018 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001887/1.178, allocations: 89.7 kB / 1.018 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007955/1.179, allocations: 1.135 MB / 1.019 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009946/1.18, allocations: 1.318 MB / 1.02 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007741/1.18, allocations: 0.5585 MB / 1.021 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.868e-05/1.18, allocations: 301.1 kB / 1.021 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002221/1.183, allocations: 1.564 MB / 1.022 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002501/1.185, allocations: 1.916 MB / 1.024 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005256/1.19, allocations: 3.766 MB / 1.028 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/1.19, allocations: 0 / 1.028 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006177/1.197, allocations: 4.179 MB / 1.032 GB, free: 7.648 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/1.197, allocations: 8 kB / 1.032 GB, free: 7.641 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/1.197, allocations: 7.938 kB / 1.032 GB, free: 7.633 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.033e-05/1.197, allocations: 20 kB / 1.032 GB, free: 7.613 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002751/1.199, allocations: 0.6947 MB / 1.033 GB, free: 6.961 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.666e-05/1.199, allocations: 20.27 kB / 1.033 GB, free: 6.941 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/1.202, allocations: 265 kB / 1.033 GB, free: 6.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/1.202, allocations: 119.6 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.00136/1.203, allocations: 0.7957 MB / 1.034 GB, free: 5.801 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004783/1.204, allocations: 288.5 kB / 1.034 GB, free: 5.516 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006655/1.211, allocations: 4.445 MB / 1.039 GB, free: 1.047 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-05/1.211, allocations: 36 kB / 1.039 GB, free: 1.012 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/1.211, allocations: 0 / 1.039 GB, free: 1.012 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005083/1.216, allocations: 3.795 MB / 1.042 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0126/1.228, allocations: 8.649 MB / 1.051 GB, free: 4.453 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/1.228, allocations: 0 / 1.051 GB, free: 4.453 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003137/1.231, allocations: 0.7241 MB / 1.052 GB, free: 3.766 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.124e-05/1.232, allocations: 16 kB / 1.052 GB, free: 3.75 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002349/1.232, allocations: 83.98 kB / 1.052 GB, free: 3.668 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.392e-05/1.232, allocations: 23.55 kB / 1.052 GB, free: 3.648 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/1.232, allocations: 7.938 kB / 1.052 GB, free: 3.641 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009076/1.241, allocations: 6.56 MB / 1.058 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/1.242, allocations: 0.8011 MB / 1.059 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005147/1.243, allocations: 75.98 kB / 1.059 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002003/1.245, allocations: 91.17 kB / 1.059 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004527/1.245, allocations: 236.6 kB / 1.059 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002276/1.246, allocations: 116 kB / 1.059 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001693/1.247, allocations: 1.149 MB / 1.06 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.6e-07/1.247, allocations: 4 kB / 1.06 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002586/1.25, allocations: 1.228 MB / 1.062 GB, free: 9.258 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.009823/1.26, allocations: 7.497 MB / 1.069 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.02004/1.28, allocations: 9.836 MB / 1.079 GB, free: 7.969 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.28, allocations: 4.062 kB / 1.079 GB, free: 7.965 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003183/1.283, allocations: 2.149 MB / 1.081 GB, free: 5.895 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00713/1.29, allocations: 1.609 MB / 1.082 GB, free: 4.332 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0382/1.328, allocations: 28.84 MB / 1.11 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001902/1.33, allocations: 2.198 MB / 1.113 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.004025/1.334, allocations: 1.208 MB / 1.114 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001936/1.336, allocations: 1.39 MB / 1.115 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of SimCode: time 7.01e-07/1.336, allocations: 0 / 1.115 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.522/2.858, allocations: 85.03 MB / 1.198 GB, free: 402.4 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/16.44, allocations: 5.094 kB / 1.198 GB, free: 402.4 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)