Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="BuildingSystems_BuildingSystems_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.005199/0.005199, allocations: 101.5 kB / 15.73 MB, free: 6.039 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.001288/0.001288, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002459/0.002459, allocations: 282.1 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.135/1.135, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004404/0.004404, allocations: 104.2 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1982, allocations: 86.97 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6505/0.8488, allocations: 314.1 MB / 1.073 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02712/0.8759, allocations: 18.46 MB / 1.091 GB, free: 5.957 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003255/0.8792, allocations: 87.56 kB / 1.091 GB, free: 5.871 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.005271/0.8845, allocations: 2.148 MB / 1.093 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.4415/1.326, allocations: 7.305 MB / 1.1 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.008225/1.334, allocations: 3.222 MB / 1.103 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01281/1.347, allocations: 9.1 MB / 1.112 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00537/1.353, allocations: 3.114 MB / 1.115 GB, free: 20.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007937/1.361, allocations: 3.313 MB / 1.118 GB, free: 20.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007128/1.368, allocations: 3.229 MB / 1.121 GB, free: 20.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001418/1.369, allocations: 402.3 kB / 1.122 GB, free: 20.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01591/1.385, allocations: 6.997 MB / 1.129 GB, free: 20.73 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003845/1.389, allocations: 1.688 MB / 1.13 GB, free: 20.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.006861/1.396, allocations: 2.304 MB / 1.133 GB, free: 20.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0156/1.411, allocations: 8.229 MB / 1.141 GB, free: 19.81 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.412, allocations: 0.9688 kB / 1.141 GB, free: 19.81 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.833e-06/1.412, allocations: 0 / 1.141 GB, free: 19.81 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001322/1.412, allocations: 2.969 kB / 1.141 GB, free: 19.81 MB / 0.8575 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.01238/1.424, allocations: 5.119 MB / 1.146 GB, free: 17.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/1.424, allocations: 7.531 kB / 1.146 GB, free: 17.77 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005904/1.425, allocations: 465 kB / 1.146 GB, free: 17.71 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006403/1.431, allocations: 1.027 MB / 1.147 GB, free: 17.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004306/1.435, allocations: 2.261 MB / 1.149 GB, free: 16.9 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/1.436, allocations: 247.2 kB / 1.15 GB, free: 16.89 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006105/1.436, allocations: 327.9 kB / 1.15 GB, free: 16.89 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007649/1.444, allocations: 4.239 MB / 1.154 GB, free: 16.59 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.705e-05/1.444, allocations: 10.7 kB / 1.154 GB, free: 16.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003985/1.444, allocations: 141.8 kB / 1.154 GB, free: 16.58 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001567/1.445, allocations: 165.9 kB / 1.154 GB, free: 16.57 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007777/1.452, allocations: 4.784 MB / 1.159 GB, free: 16.54 MB / 0.8575 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.02118/1.474, allocations: 14.46 MB / 1.173 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006147/1.48, allocations: 4.555 MB / 1.178 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003703/1.484, allocations: 2.464 MB / 1.18 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001938/1.486, allocations: 1.608 MB / 1.182 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.697e-05/1.486, allocations: 76.05 kB / 1.182 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=392): time 5.31e-06/1.486, allocations: 0.9062 kB / 1.182 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of matching and sorting (n=392): time 0.009392/1.495, allocations: 5.55 MB / 1.187 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.018e-05/1.495, allocations: 99.02 kB / 1.187 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/1.497, allocations: 1.683 MB / 1.189 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0005225/1.498, allocations: 92.17 kB / 1.189 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007935/1.499, allocations: 1.154 MB / 1.19 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.001518/1.5, allocations: 1.389 MB / 1.191 GB, free: 6 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008957/1.501, allocations: 0.5483 MB / 1.192 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.501, allocations: 302 kB / 1.192 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002407/1.504, allocations: 1.566 MB / 1.194 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002924/1.507, allocations: 1.919 MB / 1.196 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005812/1.513, allocations: 3.763 MB / 1.199 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.337e-05/1.513, allocations: 4 kB / 1.199 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00767/1.52, allocations: 4.191 MB / 1.203 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/1.52, allocations: 11.62 kB / 1.203 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/1.52, allocations: 8 kB / 1.203 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.377e-05/1.52, allocations: 20.44 kB / 1.203 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003143/1.524, allocations: 0.6959 MB / 1.204 GB, free: 296 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.111e-05/1.524, allocations: 25.05 kB / 1.204 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/1.526, allocations: 274.5 kB / 1.204 GB, free: 56 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003708/1.527, allocations: 111.7 kB / 1.204 GB, free: 15.97 MB / 0.8731 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.001659/1.528, allocations: 0.8012 MB / 1.205 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008166/1.529, allocations: 314 kB / 1.205 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007803/1.537, allocations: 4.425 MB / 1.21 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.123e-05/1.537, allocations: 36 kB / 1.21 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-05/1.537, allocations: 0.8438 kB / 1.21 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00613/1.543, allocations: 3.795 MB / 1.214 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01738/1.561, allocations: 8.647 MB / 1.222 GB, free: 1.199 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/1.561, allocations: 7.734 kB / 1.222 GB, free: 1.195 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003417/1.564, allocations: 0.7201 MB / 1.223 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.455e-05/1.564, allocations: 16 kB / 1.223 GB, free: 0.4961 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003232/1.565, allocations: 83.97 kB / 1.223 GB, free: 424 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.986e-05/1.565, allocations: 19.94 kB / 1.223 GB, free: 404 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.565, allocations: 7.094 kB / 1.223 GB, free: 400 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01082/1.575, allocations: 6.587 MB / 1.229 GB, free: 9.715 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001974/1.577, allocations: 0.8068 MB / 1.23 GB, free: 8.887 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005097/1.578, allocations: 68 kB / 1.23 GB, free: 8.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002024/1.58, allocations: 93.88 kB / 1.23 GB, free: 8.73 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004598/1.58, allocations: 237.8 kB / 1.23 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002512/1.581, allocations: 112 kB / 1.231 GB, free: 8.391 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001768/1.582, allocations: 1.157 MB / 1.232 GB, free: 7.211 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.01e-07/1.582, allocations: 0 / 1.232 GB, free: 7.211 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003023/1.586, allocations: 1.233 MB / 1.233 GB, free: 5.977 MB / 0.8887 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.0119/1.597, allocations: 7.499 MB / 1.24 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.007532/1.605, allocations: 3.949 MB / 1.244 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.605, allocations: 0 / 1.244 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.003961/1.609, allocations: 2.152 MB / 1.246 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008394/1.617, allocations: 1.601 MB / 1.248 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0441/1.662, allocations: 25.82 MB / 1.273 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002185/1.664, allocations: 2.205 MB / 1.275 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.00443/1.668, allocations: 1.212 MB / 1.276 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002571/1.671, allocations: 1.386 MB / 1.278 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of SimCode: time 1.092e-06/1.671, allocations: 0 / 1.278 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.15/1.821, allocations: 85.57 MB / 1.361 GB, free: 3.488 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/16.27, allocations: 14.52 kB / 1.361 GB, free: 3.477 MB / 1.014 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)