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.001303/0.001303, allocations: 109.6 kB / 16.41 MB, free: 6.461 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.001216/0.001217, allocations: 195 kB / 17.34 MB, free: 5.715 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7666/0.7666, allocations: 126.7 MB / 417.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 59.5 kB / 0.5735 GB, free: 27.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1305, allocations: 78.87 MB / 0.6506 GB, free: 3.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6015/0.7321, allocations: 314.3 MB / 0.9574 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02656/0.7587, allocations: 18.46 MB / 0.9755 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003372/0.7621, allocations: 87.56 kB / 0.9755 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005359/0.7675, allocations: 2.152 MB / 0.9776 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01713/0.7847, allocations: 7.308 MB / 0.9848 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.008068/0.7928, allocations: 3.226 MB / 0.9879 GB, free: 9.258 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01179/0.8046, allocations: 9.089 MB / 0.9968 GB, free: 152 kB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004624/0.8092, allocations: 3.122 MB / 0.9999 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006935/0.8162, allocations: 3.602 MB / 1.003 GB, free: 9.359 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006089/0.8223, allocations: 3.206 MB / 1.007 GB, free: 6.156 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001091/0.8234, allocations: 400 kB / 1.007 GB, free: 5.766 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01368/0.8371, allocations: 6.983 MB / 1.014 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002414/0.8396, allocations: 1.687 MB / 1.015 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003937/0.8435, allocations: 2.303 MB / 1.018 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01533/0.8589, allocations: 8.228 MB / 1.026 GB, free: 2.508 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.8589, allocations: 0 / 1.026 GB, free: 2.508 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8589, allocations: 4 kB / 1.026 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001391/0.8591, allocations: 0 / 1.026 GB, free: 2.504 MB / 0.7794 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.01315/0.8723, allocations: 5.118 MB / 1.031 GB, free: 13.31 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.8723, allocations: 12.03 kB / 1.031 GB, free: 13.3 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006783/0.873, allocations: 455.5 kB / 1.031 GB, free: 12.84 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006635/0.8796, allocations: 1.036 MB / 1.032 GB, free: 11.8 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00445/0.8841, allocations: 2.261 MB / 1.034 GB, free: 9.488 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/0.8844, allocations: 246.4 kB / 1.035 GB, free: 9.246 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006684/0.885, allocations: 323.9 kB / 1.035 GB, free: 8.93 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007553/0.8926, allocations: 4.243 MB / 1.039 GB, free: 4.602 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.481e-05/0.8927, allocations: 4 kB / 1.039 GB, free: 4.598 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003297/0.893, allocations: 135.9 kB / 1.039 GB, free: 4.465 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001845/0.8932, allocations: 178.3 kB / 1.039 GB, free: 4.289 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00839/0.9016, allocations: 4.779 MB / 1.044 GB, free: 15.5 MB / 0.8106 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.2777/1.179, allocations: 14.77 MB / 1.058 GB, free: 317.8 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006264/1.186, allocations: 4.544 MB / 1.063 GB, free: 317.1 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003583/1.189, allocations: 2.464 MB / 1.065 GB, free: 316.2 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001326/1.191, allocations: 1.605 MB / 1.067 GB, free: 314.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.907e-05/1.191, allocations: 78.53 kB / 1.067 GB, free: 314.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=392): time 6.051e-06/1.191, allocations: 0 / 1.067 GB, free: 314.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=392): time 0.009014/1.2, allocations: 5.548 MB / 1.072 GB, free: 312.6 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.485e-05/1.2, allocations: 92.33 kB / 1.072 GB, free: 312.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002245/1.202, allocations: 1.681 MB / 1.074 GB, free: 311.8 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002043/1.202, allocations: 93.7 kB / 1.074 GB, free: 311.8 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006203/1.203, allocations: 1.157 MB / 1.075 GB, free: 311.1 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008793/1.204, allocations: 1.389 MB / 1.077 GB, free: 310.2 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008346/1.205, allocations: 0.5527 MB / 1.077 GB, free: 309.9 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 4.419e-05/1.205, allocations: 306.1 kB / 1.077 GB, free: 309.6 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002389/1.207, allocations: 1.565 MB / 1.079 GB, free: 309.1 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002537/1.21, allocations: 1.917 MB / 1.081 GB, free: 308.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004863/1.215, allocations: 3.764 MB / 1.085 GB, free: 306.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/1.215, allocations: 0.8438 kB / 1.085 GB, free: 306.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005396/1.22, allocations: 4.19 MB / 1.089 GB, free: 304.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/1.22, allocations: 11.16 kB / 1.089 GB, free: 304.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/1.22, allocations: 7.906 kB / 1.089 GB, free: 304.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/1.22, allocations: 23.5 kB / 1.089 GB, free: 304.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002579/1.223, allocations: 0.6898 MB / 1.089 GB, free: 304.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.542e-05/1.223, allocations: 26.62 kB / 1.089 GB, free: 304.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/1.225, allocations: 279.3 kB / 1.09 GB, free: 304.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/1.225, allocations: 114.7 kB / 1.09 GB, free: 304.7 MB / 0.8106 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.001146/1.226, allocations: 0.7991 MB / 1.091 GB, free: 304.2 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003848/1.227, allocations: 304 kB / 1.091 GB, free: 304.1 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005573/1.232, allocations: 4.43 MB / 1.095 GB, free: 302.3 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/1.232, allocations: 34.91 kB / 1.095 GB, free: 302.3 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/1.232, allocations: 1.281 kB / 1.095 GB, free: 302.3 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004194/1.236, allocations: 3.803 MB / 1.099 GB, free: 300.7 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009413/1.246, allocations: 8.641 MB / 1.107 GB, free: 294.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/1.246, allocations: 0 / 1.107 GB, free: 294.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002816/1.249, allocations: 0.7295 MB / 1.108 GB, free: 293.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.436e-05/1.249, allocations: 12 kB / 1.108 GB, free: 293.7 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001807/1.249, allocations: 87.97 kB / 1.108 GB, free: 293.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-05/1.249, allocations: 16 kB / 1.108 GB, free: 293.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.249, allocations: 7.938 kB / 1.108 GB, free: 293.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006865/1.256, allocations: 6.584 MB / 1.115 GB, free: 286.9 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/1.257, allocations: 0.8145 MB / 1.115 GB, free: 286.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003586/1.257, allocations: 72 kB / 1.115 GB, free: 286.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/1.259, allocations: 85.44 kB / 1.116 GB, free: 286 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003513/1.259, allocations: 234.6 kB / 1.116 GB, free: 285.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001807/1.26, allocations: 116 kB / 1.116 GB, free: 285.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001132/1.261, allocations: 1.149 MB / 1.117 GB, free: 284.5 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/1.261, allocations: 1.969 kB / 1.117 GB, free: 284.5 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001842/1.263, allocations: 1.237 MB / 1.118 GB, free: 283.3 MB / 0.8106 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.007534/1.27, allocations: 7.498 MB / 1.125 GB, free: 275.8 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004497/1.275, allocations: 3.945 MB / 1.129 GB, free: 271.8 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.275, allocations: 4 kB / 1.129 GB, free: 271.8 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002174/1.277, allocations: 2.148 MB / 1.131 GB, free: 269.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006333/1.283, allocations: 1.606 MB / 1.133 GB, free: 268.2 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02694/1.31, allocations: 25.82 MB / 1.158 GB, free: 242.3 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/1.311, allocations: 2.201 MB / 1.16 GB, free: 240.1 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002921/1.314, allocations: 1.204 MB / 1.162 GB, free: 238.9 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001524/1.316, allocations: 1.39 MB / 1.163 GB, free: 237.5 MB / 0.8106 GB Notification: Performance of SimCode: time 8.41e-07/1.316, allocations: 0 / 1.163 GB, free: 237.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1026/1.418, allocations: 85.53 MB / 1.246 GB, free: 152.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.86/15.27, allocations: 5.312 kB / 1.246 GB, free: 152.7 MB / 0.8106 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)