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.001325/0.001325, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001634/0.001634, allocations: 219.6 kB / 23.03 MB, free: 4.922 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.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.002541/0.002541, allocations: 290.4 kB / 313.5 MB, free: 2.629 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.188/1.188, allocations: 180.6 MB / 0.5377 GB, free: 14.55 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="cs",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.002741/0.002741, allocations: 93.11 kB / 0.7402 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1737, allocations: 95.39 MB / 0.8334 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7098/0.8835, allocations: 279.7 MB / 1.107 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02739/0.9109, allocations: 17.23 MB / 1.123 GB, free: 9.273 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003969/0.9149, allocations: 117.1 kB / 1.124 GB, free: 9.219 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.005778/0.9206, allocations: 2.03 MB / 1.126 GB, free: 7.484 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.02024/0.9409, allocations: 7.65 MB / 1.133 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01015/0.951, allocations: 3.316 MB / 1.136 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01401/0.965, allocations: 9.271 MB / 1.145 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005206/0.9703, allocations: 2.37 MB / 1.148 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008034/0.9783, allocations: 3.477 MB / 1.151 GB, free: 13.27 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007488/0.9858, allocations: 3.421 MB / 1.154 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001802/0.9876, allocations: 400 kB / 1.155 GB, free: 9.469 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01381/1.001, allocations: 5.824 MB / 1.16 GB, free: 3.629 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002969/1.004, allocations: 1.737 MB / 1.162 GB, free: 1.887 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004895/1.009, allocations: 1.942 MB / 1.164 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01691/1.026, allocations: 8.021 MB / 1.172 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/1.026, allocations: 3.938 kB / 1.172 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.754e-06/1.026, allocations: 0 / 1.172 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001966/1.026, allocations: 4 kB / 1.172 GB, free: 7.883 MB / 0.8106 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.0157/1.042, allocations: 5.031 MB / 1.177 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/1.042, allocations: 13.94 kB / 1.177 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001153/1.042, allocations: 82.45 kB / 1.177 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001323/1.044, allocations: 459.5 kB / 1.177 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007737/1.051, allocations: 1.036 MB / 1.178 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005586/1.057, allocations: 2.166 MB / 1.18 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002635/1.057, allocations: 254.4 kB / 1.181 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001015/1.058, allocations: 320 kB / 1.181 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009844/1.068, allocations: 4.637 MB / 1.185 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000131/1.068, allocations: 15.88 kB / 1.185 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006655/1.069, allocations: 132 kB / 1.186 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002253/1.069, allocations: 174.3 kB / 1.186 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/1.079, allocations: 4.776 MB / 1.19 GB, free: 4.5 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.02337/1.103, allocations: 9.989 MB / 1.2 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007145/1.11, allocations: 4.258 MB / 1.204 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004038/1.114, allocations: 2.232 MB / 1.207 GB, free: 3.879 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/1.115, allocations: 258.9 kB / 1.207 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.93e-05/1.115, allocations: 77.64 kB / 1.207 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=392): time 7.173e-06/1.115, allocations: 0 / 1.207 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of matching and sorting (n=392): time 0.01071/1.126, allocations: 5.556 MB / 1.212 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.172e-05/1.126, allocations: 98.47 kB / 1.212 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002874/1.129, allocations: 1.677 MB / 1.214 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003399/1.129, allocations: 89.7 kB / 1.214 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000978/1.13, allocations: 1.157 MB / 1.215 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.001488/1.132, allocations: 1.39 MB / 1.217 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00116/1.133, allocations: 0.5508 MB / 1.217 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.133, allocations: 308.9 kB / 1.217 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002922/1.136, allocations: 1.564 MB / 1.219 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003302/1.139, allocations: 1.966 MB / 1.221 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006375/1.145, allocations: 3.766 MB / 1.225 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-05/1.146, allocations: 4 kB / 1.225 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008303/1.154, allocations: 4.19 MB / 1.229 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/1.154, allocations: 8 kB / 1.229 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/1.154, allocations: 4.656 kB / 1.229 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.77e-05/1.154, allocations: 20 kB / 1.229 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003364/1.157, allocations: 0.6982 MB / 1.229 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.035e-05/1.157, allocations: 19.94 kB / 1.229 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002871/1.16, allocations: 265.9 kB / 1.23 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004513/1.161, allocations: 120 kB / 1.23 GB, free: 11.79 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.001876/1.163, allocations: 0.7944 MB / 1.231 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009191/1.163, allocations: 310.1 kB / 1.231 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008828/1.172, allocations: 4.439 MB / 1.235 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.512e-05/1.172, allocations: 36 kB / 1.235 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/1.172, allocations: 3.938 kB / 1.235 GB, free: 6.172 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006702/1.179, allocations: 3.792 MB / 1.239 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01765/1.197, allocations: 7.961 MB / 1.247 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/1.197, allocations: 0 / 1.247 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003892/1.201, allocations: 0.7218 MB / 1.247 GB, free: 9.492 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.844e-05/1.201, allocations: 12.19 kB / 1.247 GB, free: 9.48 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005972/1.201, allocations: 87.98 kB / 1.247 GB, free: 9.395 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.159e-05/1.201, allocations: 19.94 kB / 1.247 GB, free: 9.375 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/1.201, allocations: 4 kB / 1.247 GB, free: 9.371 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01311/1.214, allocations: 6.591 MB / 1.254 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002792/1.217, allocations: 0.7314 MB / 1.255 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001325/1.219, allocations: 71.98 kB / 1.255 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003316/1.222, allocations: 83.97 kB / 1.255 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008823/1.223, allocations: 246.5 kB / 1.255 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005133/1.223, allocations: 116 kB / 1.255 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002626/1.226, allocations: 1.161 MB / 1.256 GB, free: 268 kB / 0.8887 GB Notification: Performance of sort global known variables: time 9.1e-08/1.226, allocations: 0 / 1.256 GB, free: 268 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.004626/1.23, allocations: 1.236 MB / 1.257 GB, free: 15.02 MB / 0.9044 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.01266/1.243, allocations: 7.49 MB / 1.265 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006521/1.25, allocations: 3.725 MB / 1.268 GB, free: 3.699 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.25, allocations: 0 / 1.268 GB, free: 3.699 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.003328/1.253, allocations: 1.989 MB / 1.27 GB, free: 1.711 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007269/1.26, allocations: 1.606 MB / 1.272 GB, free: 136 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04388/1.304, allocations: 25.79 MB / 1.297 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00185/1.306, allocations: 1.648 MB / 1.299 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.003794/1.31, allocations: 1.208 MB / 1.3 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002258/1.312, allocations: 1.386 MB / 1.301 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of SimCode: time 9.11e-07/1.312, allocations: 4 kB / 1.301 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.479/1.791, allocations: 92.92 MB / 1.392 GB, free: 408.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.66/19.45, allocations: 6.406 kB / 1.392 GB, free: 408.5 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 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: 23.811454833019525] Failed to read output from testmodel.py, exit status != 0: 19.670478462940082 19.690696509 18.659939681 Calling exit ...