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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 188.3 kB / 22.23 MB, free: 5.098 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 251 MB, free: 13.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002483/0.002483, allocations: 271.8 kB / 306.5 MB, free: 8.363 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.271/1.271, allocations: 180.9 MB / 0.53 GB, free: 14.42 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 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: translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002809/0.002809, allocations: 103.3 kB / 0.7308 GB, free: 38.8 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2182, allocations: 94.2 MB / 0.8228 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.9002/1.118, allocations: 316.7 MB / 1.132 GB, free: 0.7773 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.03517/1.154, allocations: 18.56 MB / 1.15 GB, free: 7.707 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006627/1.16, allocations: 115.4 kB / 1.15 GB, free: 7.707 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.008107/1.168, allocations: 2.265 MB / 1.153 GB, free: 6.469 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.02488/1.193, allocations: 7.686 MB / 1.16 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01224/1.205, allocations: 3.347 MB / 1.163 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01704/1.222, allocations: 9.27 MB / 1.172 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005362/1.228, allocations: 2.386 MB / 1.175 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008946/1.237, allocations: 3.446 MB / 1.178 GB, free: 212 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008036/1.245, allocations: 3.422 MB / 1.181 GB, free: 12.79 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001752/1.247, allocations: 404 kB / 1.182 GB, free: 12.39 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01981/1.266, allocations: 7.559 MB / 1.189 GB, free: 4.816 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003618/1.27, allocations: 1.737 MB / 1.191 GB, free: 3.074 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.007083/1.277, allocations: 2.299 MB / 1.193 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.02467/1.302, allocations: 8.224 MB / 1.201 GB, free: 8.512 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/1.302, allocations: 0 / 1.201 GB, free: 8.512 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.623e-06/1.302, allocations: 0 / 1.201 GB, free: 8.512 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002734/1.302, allocations: 0 / 1.201 GB, free: 8.512 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.0187/1.321, allocations: 5.035 MB / 1.206 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.719e-05/1.321, allocations: 12.03 kB / 1.206 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009122/1.33, allocations: 1.039 MB / 1.207 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008194/1.338, allocations: 2.158 MB / 1.209 GB, free: 160 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003233/1.338, allocations: 245.3 kB / 1.209 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001354/1.34, allocations: 331.9 kB / 1.21 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01212/1.352, allocations: 4.232 MB / 1.214 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001659/1.352, allocations: 8 kB / 1.214 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001023/1.353, allocations: 136 kB / 1.214 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002759/1.353, allocations: 174.3 kB / 1.214 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01193/1.365, allocations: 4.779 MB / 1.219 GB, free: 6.176 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.03027/1.396, allocations: 14.36 MB / 1.233 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00859/1.404, allocations: 4.262 MB / 1.237 GB, free: 2.578 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004829/1.409, allocations: 2.248 MB / 1.239 GB, free: 336 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001367/1.41, allocations: 270.8 kB / 1.24 GB, free: 64 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001162/1.411, allocations: 77.62 kB / 1.24 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=392): time 9.929e-06/1.411, allocations: 0 / 1.24 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of matching and sorting (n=392): time 0.0141/1.425, allocations: 5.545 MB / 1.245 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/1.425, allocations: 98.48 kB / 1.245 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004144/1.429, allocations: 1.688 MB / 1.247 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.001164/1.43, allocations: 93.7 kB / 1.247 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001755/1.432, allocations: 1.154 MB / 1.248 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.003246/1.435, allocations: 1.382 MB / 1.249 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003168/1.438, allocations: 0.5547 MB / 1.25 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002793/1.438, allocations: 309.1 kB / 1.25 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003828/1.442, allocations: 1.564 MB / 1.252 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00427/1.447, allocations: 1.916 MB / 1.254 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008007/1.455, allocations: 3.762 MB / 1.257 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.18e-05/1.455, allocations: 0 / 1.257 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01042/1.465, allocations: 4.187 MB / 1.261 GB, free: 9.434 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/1.465, allocations: 8.656 kB / 1.261 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/1.465, allocations: 8 kB / 1.261 GB, free: 9.418 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.091e-05/1.465, allocations: 23.94 kB / 1.261 GB, free: 9.395 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003664/1.469, allocations: 0.6905 MB / 1.262 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.716e-05/1.469, allocations: 23.94 kB / 1.262 GB, free: 8.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003824/1.473, allocations: 273.8 kB / 1.262 GB, free: 8.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006951/1.473, allocations: 116 kB / 1.262 GB, free: 8.297 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.002648/1.476, allocations: 0.8061 MB / 1.263 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001455/1.478, allocations: 302.1 kB / 1.264 GB, free: 7.184 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/1.488, allocations: 4.434 MB / 1.268 GB, free: 2.715 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-05/1.488, allocations: 36 kB / 1.268 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/1.488, allocations: 0 / 1.268 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007092/1.495, allocations: 3.796 MB / 1.272 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01937/1.514, allocations: 8.553 MB / 1.28 GB, free: 6.129 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/1.514, allocations: 8.312 kB / 1.28 GB, free: 6.121 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003811/1.518, allocations: 0.7217 MB / 1.281 GB, free: 5.398 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.535e-05/1.518, allocations: 16 kB / 1.281 GB, free: 5.383 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005541/1.519, allocations: 83.98 kB / 1.281 GB, free: 5.301 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-05/1.519, allocations: 19.98 kB / 1.281 GB, free: 5.281 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.519, allocations: 7.938 kB / 1.281 GB, free: 5.273 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01274/1.531, allocations: 6.585 MB / 1.287 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002827/1.534, allocations: 0.7392 MB / 1.288 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009676/1.535, allocations: 72 kB / 1.288 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002917/1.538, allocations: 83.97 kB / 1.288 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006525/1.539, allocations: 250.5 kB / 1.288 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004178/1.539, allocations: 112 kB / 1.288 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002548/1.542, allocations: 1.153 MB / 1.29 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/1.542, allocations: 0 / 1.29 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.004303/1.546, allocations: 1.233 MB / 1.291 GB, free: 10.93 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.001576/1.548, allocations: 478.7 kB / 1.291 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.007941/1.556, allocations: 3.722 MB / 1.295 GB, free: 6.734 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/1.556, allocations: 4.375 kB / 1.295 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.004135/1.56, allocations: 1.984 MB / 1.297 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01035/1.57, allocations: 1.612 MB / 1.298 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01859/1.589, allocations: 7.766 MB / 1.306 GB, free: 11.32 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003374/1.592, allocations: 2.205 MB / 1.308 GB, free: 9.078 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.006102/1.598, allocations: 1.208 MB / 1.309 GB, free: 7.863 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002023/1.6, allocations: 267.4 kB / 1.31 GB, free: 7.602 MB / 0.92 GB Notification: Performance of SimCode: time 1.202e-06/1.6, allocations: 0 / 1.31 GB, free: 7.602 MB / 0.92 GB Notification: Performance of Templates: time 0.128/1.728, allocations: 65.35 MB / 1.373 GB, free: 7.004 MB / 0.9825 GB " [Timeout remaining time 658] make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.101156718097627] Failed to read output from testmodel.py, exit status != 0: 1.7386610778048635 1.7547771570000001 0.44937539600000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f172d56d7b0>