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.001733/0.001733, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002188/0.002188, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 7.781 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.002534/0.002534, allocations: 293.2 kB / 312.7 MB, free: 2.574 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.19/1.19, allocations: 180.6 MB / 0.5369 GB, free: 14.39 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.002916/0.002916, allocations: 105.8 kB / 0.7395 GB, free: 28.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1753, allocations: 95.39 MB / 0.8326 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7091/0.8845, allocations: 280 MB / 1.106 GB, free: 5.957 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.03121/0.9157, allocations: 17.27 MB / 1.123 GB, free: 9.062 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004405/0.9201, allocations: 115 kB / 1.123 GB, free: 9.008 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.006757/0.9268, allocations: 2.035 MB / 1.125 GB, free: 7.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0218/0.9486, allocations: 7.636 MB / 1.132 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.009966/0.9586, allocations: 3.289 MB / 1.136 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01304/0.9716, allocations: 9.213 MB / 1.145 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004857/0.9765, allocations: 2.366 MB / 1.147 GB, free: 0.5117 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007147/0.9836, allocations: 3.47 MB / 1.15 GB, free: 13.03 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006527/0.9902, allocations: 3.27 MB / 1.154 GB, free: 9.762 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001382/0.9916, allocations: 404 kB / 1.154 GB, free: 9.367 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01341/1.005, allocations: 5.769 MB / 1.16 GB, free: 3.586 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002697/1.008, allocations: 1.73 MB / 1.161 GB, free: 1.852 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004496/1.012, allocations: 1.953 MB / 1.163 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01782/1.03, allocations: 8.009 MB / 1.171 GB, free: 7.855 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/1.03, allocations: 4 kB / 1.171 GB, free: 7.852 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.844e-06/1.03, allocations: 4 kB / 1.171 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002416/1.03, allocations: 0 / 1.171 GB, free: 7.848 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.01637/1.047, allocations: 5.037 MB / 1.176 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.047, allocations: 9.344 kB / 1.176 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00132/1.048, allocations: 459.5 kB / 1.176 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007599/1.056, allocations: 1.028 MB / 1.177 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006098/1.062, allocations: 2.17 MB / 1.18 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002678/1.062, allocations: 246.4 kB / 1.18 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001059/1.063, allocations: 327.9 kB / 1.18 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/1.073, allocations: 4.641 MB / 1.185 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001275/1.073, allocations: 4 kB / 1.185 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006604/1.074, allocations: 132 kB / 1.185 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002156/1.074, allocations: 174.4 kB / 1.185 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/1.085, allocations: 4.736 MB / 1.19 GB, free: 4.598 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.02425/1.109, allocations: 9.986 MB / 1.199 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007664/1.116, allocations: 4.249 MB / 1.203 GB, free: 6.219 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004773/1.121, allocations: 2.24 MB / 1.206 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001358/1.123, allocations: 266.8 kB / 1.206 GB, free: 3.719 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/1.123, allocations: 81.58 kB / 1.206 GB, free: 3.629 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=392): time 6.802e-06/1.123, allocations: 0 / 1.206 GB, free: 3.629 MB / 0.8419 GB Notification: Performance of matching and sorting (n=392): time 0.01232/1.135, allocations: 5.548 MB / 1.211 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.314e-05/1.135, allocations: 94.48 kB / 1.211 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003029/1.138, allocations: 1.685 MB / 1.213 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0005583/1.139, allocations: 93.7 kB / 1.213 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001049/1.14, allocations: 1.153 MB / 1.214 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.001706/1.141, allocations: 1.394 MB / 1.216 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001385/1.143, allocations: 0.5508 MB / 1.216 GB, free: 9 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.143, allocations: 305.1 kB / 1.217 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003024/1.146, allocations: 1.568 MB / 1.218 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003511/1.149, allocations: 1.972 MB / 1.22 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006748/1.156, allocations: 3.766 MB / 1.224 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-05/1.156, allocations: 0 / 1.224 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008396/1.165, allocations: 4.183 MB / 1.228 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/1.165, allocations: 11.98 kB / 1.228 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/1.165, allocations: 4.656 kB / 1.228 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.215e-05/1.165, allocations: 23.94 kB / 1.228 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00327/1.168, allocations: 0.6982 MB / 1.228 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-05/1.168, allocations: 20 kB / 1.228 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003377/1.171, allocations: 273.8 kB / 1.229 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007032/1.172, allocations: 116 kB / 1.229 GB, free: 11.88 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.00261/1.175, allocations: 0.7944 MB / 1.23 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001224/1.176, allocations: 310.1 kB / 1.23 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008967/1.185, allocations: 4.434 MB / 1.234 GB, free: 6.301 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.759e-05/1.185, allocations: 43.98 kB / 1.234 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/1.185, allocations: 0 / 1.234 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006669/1.192, allocations: 3.792 MB / 1.238 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01686/1.209, allocations: 7.957 MB / 1.246 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/1.209, allocations: 4 kB / 1.246 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003591/1.212, allocations: 0.7178 MB / 1.246 GB, free: 9.582 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.576e-05/1.212, allocations: 16 kB / 1.246 GB, free: 9.566 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003477/1.213, allocations: 92.06 kB / 1.247 GB, free: 9.477 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.617e-05/1.213, allocations: 16 kB / 1.247 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.213, allocations: 0 / 1.247 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01197/1.225, allocations: 6.589 MB / 1.253 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00242/1.227, allocations: 0.7237 MB / 1.254 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006939/1.228, allocations: 75.98 kB / 1.254 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002381/1.23, allocations: 89.7 kB / 1.254 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005028/1.231, allocations: 250.4 kB / 1.254 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002866/1.231, allocations: 120 kB / 1.254 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00187/1.233, allocations: 1.153 MB / 1.255 GB, free: 360 kB / 0.8887 GB Notification: Performance of sort global known variables: time 1.9e-07/1.233, allocations: 3.938 kB / 1.255 GB, free: 356 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002994/1.236, allocations: 1.233 MB / 1.257 GB, free: 15.11 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.01204/1.248, allocations: 7.483 MB / 1.264 GB, free: 7.535 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006618/1.254, allocations: 3.732 MB / 1.268 GB, free: 3.789 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/1.254, allocations: 4 kB / 1.268 GB, free: 3.785 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.003235/1.258, allocations: 1.986 MB / 1.269 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007166/1.265, allocations: 1.604 MB / 1.271 GB, free: 224 kB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0446/1.309, allocations: 25.79 MB / 1.296 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001954/1.311, allocations: 1.644 MB / 1.298 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.004277/1.316, allocations: 1.2 MB / 1.299 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002602/1.318, allocations: 1.394 MB / 1.3 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of SimCode: time 1.172e-06/1.318, allocations: 0 / 1.3 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4922/1.81, allocations: 92.45 MB / 1.391 GB, free: 408.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.94/16.75, allocations: 7.875 kB / 1.391 GB, free: 408.5 MB / 0.9981 GB " [Timeout remaining time 643] (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: 21.049819164909422] Failed to read output from testmodel.py, exit status != 0: 16.913106713443995 16.924304909 15.891811706 Calling exit ...