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.007242/0.007242, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001666/0.001666, allocations: 195.1 kB / 16.67 MB, free: 5.969 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.817/0.817, allocations: 143.1 MB / 433.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 59.7 kB / 0.5951 GB, free: 12.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1282, allocations: 82.02 MB / 0.6752 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.5743/0.7026, allocations: 314.6 MB / 0.9824 GB, free: 3.062 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02433/0.727, allocations: 18.49 MB / 1 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003377/0.7304, allocations: 87.56 kB / 1.001 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.005166/0.7356, allocations: 2.246 MB / 1.003 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0168/0.7524, allocations: 7.534 MB / 1.01 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.008057/0.7605, allocations: 3.266 MB / 1.013 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01073/0.7713, allocations: 9.116 MB / 1.022 GB, free: 10.23 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004898/0.7762, allocations: 3.094 MB / 1.025 GB, free: 7.078 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006147/0.7824, allocations: 3.403 MB / 1.028 GB, free: 3.664 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005551/0.7879, allocations: 3.244 MB / 1.032 GB, free: 432 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001204/0.7892, allocations: 400 kB / 1.032 GB, free: 32 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01317/0.8023, allocations: 7.038 MB / 1.039 GB, free: 8.977 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002411/0.8048, allocations: 1.687 MB / 1.041 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00435/0.8092, allocations: 2.306 MB / 1.043 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01503/0.8242, allocations: 8.469 MB / 1.051 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.8243, allocations: 0 / 1.051 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8243, allocations: 0 / 1.051 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001883/0.8245, allocations: 0 / 1.051 GB, free: 12.47 MB / 0.8262 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.01367/0.8381, allocations: 5.126 MB / 1.056 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.8382, allocations: 12.03 kB / 1.056 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006561/0.8389, allocations: 459.5 kB / 1.057 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006787/0.8456, allocations: 1.028 MB / 1.058 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004766/0.8504, allocations: 2.277 MB / 1.06 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001708/0.8506, allocations: 242.5 kB / 1.06 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006678/0.8513, allocations: 323.9 kB / 1.06 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2788/1.13, allocations: 4.233 MB / 1.064 GB, free: 312.9 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.58e-05/1.13, allocations: 4.594 kB / 1.064 GB, free: 312.9 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003497/1.131, allocations: 134.1 kB / 1.065 GB, free: 312.9 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002166/1.131, allocations: 175.4 kB / 1.065 GB, free: 312.9 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009032/1.14, allocations: 4.779 MB / 1.069 GB, free: 311.9 MB / 0.8262 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.02076/1.161, allocations: 14.49 MB / 1.084 GB, free: 302.9 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005803/1.166, allocations: 4.551 MB / 1.088 GB, free: 300.9 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00338/1.17, allocations: 2.456 MB / 1.09 GB, free: 300 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001242/1.171, allocations: 1.607 MB / 1.092 GB, free: 298.3 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/1.171, allocations: 84.2 kB / 1.092 GB, free: 298.2 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=392): time 5.961e-06/1.171, allocations: 0 / 1.092 GB, free: 298.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=392): time 0.008571/1.18, allocations: 5.552 MB / 1.097 GB, free: 296 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/1.18, allocations: 90.14 kB / 1.098 GB, free: 295.9 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/1.182, allocations: 1.684 MB / 1.099 GB, free: 295 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002823/1.182, allocations: 93.55 kB / 1.099 GB, free: 294.9 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005369/1.183, allocations: 1.158 MB / 1.1 GB, free: 294 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008334/1.184, allocations: 1.386 MB / 1.102 GB, free: 293 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007119/1.184, allocations: 0.5511 MB / 1.102 GB, free: 292.7 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 3.57e-05/1.184, allocations: 301.1 kB / 1.103 GB, free: 292.4 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001966/1.186, allocations: 1.563 MB / 1.104 GB, free: 291.6 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002154/1.188, allocations: 1.925 MB / 1.106 GB, free: 290.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004499/1.193, allocations: 3.764 MB / 1.11 GB, free: 288.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/1.193, allocations: 0 / 1.11 GB, free: 288.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005665/1.199, allocations: 4.191 MB / 1.114 GB, free: 286.4 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/1.199, allocations: 15.7 kB / 1.114 GB, free: 286.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/1.199, allocations: 3.969 kB / 1.114 GB, free: 286.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-05/1.199, allocations: 23.53 kB / 1.114 GB, free: 286.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002747/1.201, allocations: 0.6968 MB / 1.115 GB, free: 286.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.361e-05/1.202, allocations: 19.06 kB / 1.115 GB, free: 286.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002556/1.204, allocations: 261.1 kB / 1.115 GB, free: 286.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000228/1.204, allocations: 120.9 kB / 1.115 GB, free: 286.1 MB / 0.8262 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.001334/1.206, allocations: 0.8002 MB / 1.116 GB, free: 285.6 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005785/1.206, allocations: 310.9 kB / 1.116 GB, free: 285.4 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00575/1.212, allocations: 4.423 MB / 1.12 GB, free: 280.9 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/1.212, allocations: 43.92 kB / 1.12 GB, free: 280.9 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/1.212, allocations: 0 / 1.12 GB, free: 280.9 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004289/1.216, allocations: 3.792 MB / 1.124 GB, free: 277 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/1.228, allocations: 8.659 MB / 1.132 GB, free: 268.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/1.228, allocations: 0 / 1.132 GB, free: 268.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00307/1.231, allocations: 0.7251 MB / 1.133 GB, free: 267.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.197e-05/1.231, allocations: 19.94 kB / 1.133 GB, free: 267.6 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002212/1.231, allocations: 87.28 kB / 1.133 GB, free: 267.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.6e-05/1.231, allocations: 19.94 kB / 1.133 GB, free: 267.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.231, allocations: 4 kB / 1.133 GB, free: 267.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007647/1.239, allocations: 6.586 MB / 1.14 GB, free: 260.9 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00173/1.24, allocations: 0.8208 MB / 1.141 GB, free: 260.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004686/1.241, allocations: 71.94 kB / 1.141 GB, free: 260 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002042/1.243, allocations: 80.91 kB / 1.141 GB, free: 259.9 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003446/1.243, allocations: 233.5 kB / 1.141 GB, free: 259.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00019/1.243, allocations: 112 kB / 1.141 GB, free: 259.6 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001277/1.245, allocations: 1.157 MB / 1.142 GB, free: 258.4 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.61e-07/1.245, allocations: 3.938 kB / 1.142 GB, free: 258.4 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002367/1.247, allocations: 1.238 MB / 1.143 GB, free: 257.2 MB / 0.8262 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.008232/1.255, allocations: 7.52 MB / 1.151 GB, free: 249.6 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004936/1.26, allocations: 3.943 MB / 1.155 GB, free: 245.7 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.26, allocations: 4 kB / 1.155 GB, free: 245.7 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002341/1.263, allocations: 2.152 MB / 1.157 GB, free: 243.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006674/1.269, allocations: 1.602 MB / 1.158 GB, free: 242 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03058/1.3, allocations: 25.81 MB / 1.183 GB, free: 216 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/1.301, allocations: 2.205 MB / 1.186 GB, free: 213.8 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003303/1.305, allocations: 1.216 MB / 1.187 GB, free: 212.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001705/1.306, allocations: 1.386 MB / 1.188 GB, free: 211.2 MB / 0.8262 GB Notification: Performance of SimCode: time 7.62e-07/1.306, allocations: 0 / 1.188 GB, free: 211.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1053/1.412, allocations: 85.78 MB / 1.272 GB, free: 126.1 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/15, allocations: 15.22 kB / 1.272 GB, free: 126.1 MB / 0.8262 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)