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.001232/0.001232, allocations: 108.7 kB / 16.45 MB, free: 6.035 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.001251/0.001251, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.385/1.385, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.002585/0.002585, allocations: 282 kB / 303 MB, free: 9.484 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.248/1.248, allocations: 180.9 MB / 0.5261 GB, free: 14.76 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: "" <> 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: Performance of FrontEnd - loaded program: time 0.002683/0.002683, allocations: 103.1 kB / 0.7248 GB, free: 39.95 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.186, allocations: 94.15 MB / 0.8167 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.863/1.049, allocations: 315.5 MB / 1.125 GB, free: 0.5156 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02863/1.078, allocations: 18.51 MB / 1.143 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00608/1.084, allocations: 89.81 kB / 1.143 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.006803/1.09, allocations: 2.257 MB / 1.145 GB, free: 9.293 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.02147/1.112, allocations: 7.533 MB / 1.152 GB, free: 5.492 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01028/1.122, allocations: 3.279 MB / 1.156 GB, free: 3.281 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01505/1.137, allocations: 9.101 MB / 1.165 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005157/1.142, allocations: 2.624 MB / 1.167 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008401/1.151, allocations: 3.391 MB / 1.17 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007923/1.159, allocations: 3.412 MB / 1.174 GB, free: 1.262 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001594/1.16, allocations: 404 kB / 1.174 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01759/1.178, allocations: 7.435 MB / 1.181 GB, free: 9.414 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003183/1.181, allocations: 1.726 MB / 1.183 GB, free: 7.684 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.005685/1.187, allocations: 2.299 MB / 1.185 GB, free: 5.375 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.021/1.208, allocations: 8.224 MB / 1.193 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/1.208, allocations: 0 / 1.193 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.495e-06/1.208, allocations: 0 / 1.193 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002193/1.208, allocations: 4 kB / 1.193 GB, free: 13.12 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.01589/1.224, allocations: 5.11 MB / 1.198 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/1.224, allocations: 15.97 kB / 1.198 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008973/1.225, allocations: 455.5 kB / 1.199 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007145/1.232, allocations: 1.032 MB / 1.2 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006033/1.238, allocations: 2.269 MB / 1.202 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002752/1.238, allocations: 251 kB / 1.202 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001034/1.239, allocations: 323.9 kB / 1.203 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008657/1.248, allocations: 4.239 MB / 1.207 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.299e-05/1.248, allocations: 0 / 1.207 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003447/1.248, allocations: 136 kB / 1.207 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002013/1.249, allocations: 174.3 kB / 1.207 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/1.259, allocations: 4.776 MB / 1.212 GB, free: 10.12 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.02962/1.288, allocations: 14.49 MB / 1.226 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008048/1.296, allocations: 4.283 MB / 1.23 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004736/1.301, allocations: 2.233 MB / 1.232 GB, free: 4.148 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002222/1.303, allocations: 1.612 MB / 1.234 GB, free: 2.203 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001076/1.304, allocations: 73.64 kB / 1.234 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=392): time 8.646e-06/1.304, allocations: 4 kB / 1.234 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of matching and sorting (n=392): time 0.0132/1.317, allocations: 5.548 MB / 1.239 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.748e-05/1.317, allocations: 98.36 kB / 1.239 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003388/1.32, allocations: 1.682 MB / 1.241 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0007596/1.321, allocations: 93.7 kB / 1.241 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001164/1.322, allocations: 1.153 MB / 1.242 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.002217/1.324, allocations: 1.39 MB / 1.244 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002042/1.326, allocations: 0.5508 MB / 1.244 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.327, allocations: 301.1 kB / 1.244 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003334/1.33, allocations: 1.564 MB / 1.246 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003804/1.334, allocations: 1.92 MB / 1.248 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007122/1.341, allocations: 3.762 MB / 1.251 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.978e-05/1.341, allocations: 4 kB / 1.252 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008665/1.35, allocations: 4.194 MB / 1.256 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/1.35, allocations: 5.875 kB / 1.256 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/1.35, allocations: 8 kB / 1.256 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.734e-05/1.35, allocations: 16 kB / 1.256 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003557/1.353, allocations: 0.695 MB / 1.256 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.343e-05/1.353, allocations: 27.92 kB / 1.256 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002875/1.356, allocations: 265.9 kB / 1.257 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004792/1.357, allocations: 116 kB / 1.257 GB, free: 10.45 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.00209/1.359, allocations: 0.8015 MB / 1.257 GB, free: 9.633 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00115/1.36, allocations: 306.1 kB / 1.258 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008862/1.369, allocations: 4.425 MB / 1.262 GB, free: 4.871 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.921e-05/1.369, allocations: 40 kB / 1.262 GB, free: 4.832 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.939e-05/1.369, allocations: 0 / 1.262 GB, free: 4.832 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006601/1.375, allocations: 3.803 MB / 1.266 GB, free: 0.9609 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01923/1.395, allocations: 8.641 MB / 1.274 GB, free: 8.156 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/1.395, allocations: 0 / 1.274 GB, free: 8.156 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003731/1.398, allocations: 0.7298 MB / 1.275 GB, free: 7.426 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.22e-05/1.398, allocations: 16 kB / 1.275 GB, free: 7.41 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005766/1.399, allocations: 83.97 kB / 1.275 GB, free: 7.328 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.126e-05/1.399, allocations: 16 kB / 1.275 GB, free: 7.312 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/1.399, allocations: 7.938 kB / 1.275 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01269/1.412, allocations: 6.593 MB / 1.282 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002932/1.415, allocations: 0.8029 MB / 1.282 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0011/1.416, allocations: 79.98 kB / 1.282 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00281/1.419, allocations: 81.55 kB / 1.282 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007447/1.419, allocations: 234.6 kB / 1.283 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004661/1.42, allocations: 116 kB / 1.283 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002466/1.422, allocations: 1.157 MB / 1.284 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of sort global known variables: time 8e-08/1.422, allocations: 0 / 1.284 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.004345/1.427, allocations: 1.236 MB / 1.285 GB, free: 12.88 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.0148/1.441, allocations: 7.496 MB / 1.292 GB, free: 5.285 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.008082/1.449, allocations: 3.726 MB / 1.296 GB, free: 1.547 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/1.449, allocations: 4.438 kB / 1.296 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.004638/1.454, allocations: 1.988 MB / 1.298 GB, free: 15.55 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009916/1.464, allocations: 1.596 MB / 1.3 GB, free: 13.98 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05876/1.523, allocations: 25.82 MB / 1.325 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003328/1.526, allocations: 2.201 MB / 1.327 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.00555/1.532, allocations: 1.208 MB / 1.328 GB, free: 352 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003306/1.535, allocations: 1.382 MB / 1.33 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of SimCode: time 2.114e-06/1.535, allocations: 0 / 1.33 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6016/2.137, allocations: 86.08 MB / 1.414 GB, free: 421.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/16.13, allocations: 3.109 kB / 1.414 GB, free: 421.1 MB / 0.9981 GB " [Timeout remaining time 644] (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: 20.591600073035806] Failed to read output from testmodel.py, exit status != 0: 16.265425994992256 16.27475964 15.064582333 Calling exit ...