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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 106.6 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 223.9 kB / 22.26 MB, free: 5.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.386/1.386, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002486/0.002486, allocations: 277 kB / 312.7 MB, free: 2.805 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.216/1.216, allocations: 180.6 MB / 0.5369 GB, free: 13.07 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002871/0.002871, allocations: 110.3 kB / 0.7396 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2028, allocations: 95.38 MB / 0.8327 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.773/0.9758, allocations: 319.9 MB / 1.145 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03426/1.01, allocations: 18.54 MB / 1.163 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007163/1.017, allocations: 119.1 kB / 1.163 GB, free: 8.059 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0107/1.028, allocations: 2.269 MB / 1.166 GB, free: 5.777 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.03225/1.06, allocations: 7.682 MB / 1.173 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.009737/1.07, allocations: 3.36 MB / 1.176 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01509/1.085, allocations: 9.268 MB / 1.185 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005023/1.09, allocations: 2.382 MB / 1.188 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007946/1.098, allocations: 3.442 MB / 1.191 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01039/1.108, allocations: 3.424 MB / 1.194 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.002324/1.111, allocations: 404 kB / 1.195 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02325/1.134, allocations: 7.567 MB / 1.202 GB, free: 128 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.004184/1.138, allocations: 1.733 MB / 1.204 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.00667/1.145, allocations: 2.307 MB / 1.206 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.02465/1.169, allocations: 8.216 MB / 1.214 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/1.169, allocations: 0 / 1.214 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.913e-06/1.169, allocations: 0 / 1.214 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002437/1.17, allocations: 4 kB / 1.214 GB, free: 3.824 MB / 0.8419 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.02408/1.194, allocations: 5.054 MB / 1.219 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.422e-05/1.194, allocations: 9.344 kB / 1.219 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001539/1.195, allocations: 455.5 kB / 1.22 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01147/1.207, allocations: 1.036 MB / 1.221 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00785/1.215, allocations: 2.154 MB / 1.223 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003515/1.215, allocations: 246.4 kB / 1.223 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001408/1.216, allocations: 327.9 kB / 1.223 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0126/1.229, allocations: 4.235 MB / 1.227 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000111/1.229, allocations: 11.89 kB / 1.227 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004834/1.23, allocations: 136 kB / 1.227 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002879/1.23, allocations: 174.4 kB / 1.228 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01309/1.243, allocations: 4.779 MB / 1.232 GB, free: 1.02 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.02956/1.273, allocations: 14.35 MB / 1.246 GB, free: 1.699 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007985/1.281, allocations: 4.276 MB / 1.251 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004645/1.285, allocations: 2.241 MB / 1.253 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001405/1.287, allocations: 266.8 kB / 1.253 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.619e-05/1.287, allocations: 81.62 kB / 1.253 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=392): time 8.656e-06/1.287, allocations: 0 / 1.253 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of matching and sorting (n=392): time 0.01347/1.3, allocations: 5.552 MB / 1.258 GB, free: 5.242 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.885e-05/1.3, allocations: 94.48 kB / 1.259 GB, free: 5.137 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003768/1.304, allocations: 1.685 MB / 1.26 GB, free: 3.41 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0006988/1.305, allocations: 93.7 kB / 1.26 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001182/1.306, allocations: 1.157 MB / 1.261 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.002144/1.308, allocations: 1.379 MB / 1.263 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002075/1.31, allocations: 0.5508 MB / 1.263 GB, free: 200 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001619/1.31, allocations: 309.1 kB / 1.264 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003343/1.314, allocations: 1.564 MB / 1.265 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003543/1.317, allocations: 1.923 MB / 1.267 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007166/1.324, allocations: 3.758 MB / 1.271 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.2e-05/1.324, allocations: 0 / 1.271 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009759/1.334, allocations: 4.194 MB / 1.275 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.541e-05/1.334, allocations: 8.656 kB / 1.275 GB, free: 4.262 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-05/1.334, allocations: 8 kB / 1.275 GB, free: 4.254 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.61e-05/1.334, allocations: 20 kB / 1.275 GB, free: 4.234 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003414/1.338, allocations: 0.6904 MB / 1.275 GB, free: 3.543 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-05/1.338, allocations: 25.16 kB / 1.275 GB, free: 3.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00306/1.341, allocations: 265.9 kB / 1.276 GB, free: 3.258 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005964/1.341, allocations: 119.9 kB / 1.276 GB, free: 3.141 MB / 0.9044 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.002276/1.344, allocations: 0.8022 MB / 1.277 GB, free: 2.328 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/1.345, allocations: 306.1 kB / 1.277 GB, free: 2.027 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009265/1.354, allocations: 4.432 MB / 1.281 GB, free: 13.56 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.866e-05/1.354, allocations: 40 kB / 1.281 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/1.354, allocations: 0 / 1.281 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006999/1.361, allocations: 3.788 MB / 1.285 GB, free: 9.668 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01873/1.38, allocations: 8.541 MB / 1.293 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/1.38, allocations: 8.312 kB / 1.293 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003742/1.384, allocations: 0.7218 MB / 1.294 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.013e-05/1.384, allocations: 19.94 kB / 1.294 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005422/1.384, allocations: 87.97 kB / 1.294 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.99e-05/1.384, allocations: 15.94 kB / 1.294 GB, free: 140 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/1.384, allocations: 8 kB / 1.294 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01247/1.397, allocations: 6.585 MB / 1.301 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003004/1.4, allocations: 0.7314 MB / 1.301 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001077/1.401, allocations: 72 kB / 1.301 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002827/1.404, allocations: 86.81 kB / 1.301 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000733/1.404, allocations: 246.5 kB / 1.302 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004624/1.405, allocations: 119.9 kB / 1.302 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002167/1.407, allocations: 1.153 MB / 1.303 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.407, allocations: 0 / 1.303 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.004205/1.411, allocations: 1.236 MB / 1.304 GB, free: 5.789 MB / 0.9356 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.01253/1.424, allocations: 7.479 MB / 1.311 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.006909/1.431, allocations: 3.73 MB / 1.315 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/1.431, allocations: 4 kB / 1.315 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.003435/1.434, allocations: 1.988 MB / 1.317 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007583/1.442, allocations: 1.603 MB / 1.319 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04693/1.489, allocations: 25.83 MB / 1.344 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002247/1.491, allocations: 2.201 MB / 1.346 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.004076/1.495, allocations: 1.212 MB / 1.347 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002449/1.497, allocations: 1.386 MB / 1.349 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of SimCode: time 1.673e-06/1.497, allocations: 0 / 1.349 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.545/2.042, allocations: 88.59 MB / 1.435 GB, free: 345.2 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.89/19.93, allocations: 7.844 kB / 1.435 GB, free: 345.2 MB / 0.9825 GB " [Timeout remaining time 640] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.435918147002667] Failed to read output from testmodel.py, exit status != 0: 20.096871929999907 20.114818314 18.941328089 Calling exit ...