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.001364/0.001364, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001601/0.001601, allocations: 214.3 kB / 22.25 MB, free: 5.082 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.382/1.382, allocations: 230.6 MB / 256 MB, free: 8.031 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.002479/0.002479, allocations: 284 kB / 312.7 MB, free: 2.828 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.174/1.174, allocations: 180.6 MB / 0.5369 GB, free: 12.89 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.002701/0.002701, allocations: 99.16 kB / 0.7396 GB, free: 28.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1892, allocations: 95.39 MB / 0.8327 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7997/0.9889, allocations: 319.9 MB / 1.145 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03295/1.022, allocations: 18.54 MB / 1.163 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006027/1.028, allocations: 115.1 kB / 1.163 GB, free: 8.141 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.007484/1.035, allocations: 2.269 MB / 1.166 GB, free: 5.859 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.02182/1.057, allocations: 7.688 MB / 1.173 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.009557/1.067, allocations: 3.352 MB / 1.176 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01413/1.081, allocations: 9.264 MB / 1.185 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00506/1.086, allocations: 2.39 MB / 1.188 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008261/1.094, allocations: 3.438 MB / 1.191 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007696/1.102, allocations: 3.431 MB / 1.194 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.00197/1.104, allocations: 404 kB / 1.195 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01688/1.121, allocations: 7.571 MB / 1.202 GB, free: 200 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003094/1.124, allocations: 1.733 MB / 1.204 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005403/1.129, allocations: 2.299 MB / 1.206 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01871/1.148, allocations: 8.212 MB / 1.214 GB, free: 3.91 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/1.148, allocations: 4 kB / 1.214 GB, free: 3.906 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.064e-06/1.148, allocations: 3.938 kB / 1.214 GB, free: 3.902 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.000279/1.148, allocations: 4 kB / 1.214 GB, free: 3.898 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.01632/1.165, allocations: 5.047 MB / 1.219 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/1.165, allocations: 9.344 kB / 1.219 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001436/1.166, allocations: 463.5 kB / 1.22 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007473/1.174, allocations: 1.031 MB / 1.221 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006395/1.18, allocations: 2.154 MB / 1.223 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003056/1.18, allocations: 246.4 kB / 1.223 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001226/1.181, allocations: 327.9 kB / 1.223 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/1.193, allocations: 4.235 MB / 1.227 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001774/1.193, allocations: 11.94 kB / 1.227 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009763/1.194, allocations: 132 kB / 1.227 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002638/1.194, allocations: 178.3 kB / 1.228 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/1.205, allocations: 4.776 MB / 1.232 GB, free: 1.102 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.02677/1.232, allocations: 14.35 MB / 1.246 GB, free: 1.777 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007412/1.239, allocations: 4.279 MB / 1.251 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00451/1.244, allocations: 2.237 MB / 1.253 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001355/1.245, allocations: 266.8 kB / 1.253 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/1.245, allocations: 89.56 kB / 1.253 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=392): time 8.947e-06/1.245, allocations: 0 / 1.253 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of matching and sorting (n=392): time 0.01195/1.257, allocations: 5.545 MB / 1.258 GB, free: 5.328 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.868e-05/1.257, allocations: 90.48 kB / 1.259 GB, free: 5.227 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003312/1.261, allocations: 1.688 MB / 1.26 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.000482/1.261, allocations: 93.7 kB / 1.26 GB, free: 3.398 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001194/1.262, allocations: 1.157 MB / 1.261 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.001987/1.264, allocations: 1.386 MB / 1.263 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001514/1.266, allocations: 0.5547 MB / 1.263 GB, free: 276 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001779/1.266, allocations: 305.1 kB / 1.264 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003031/1.269, allocations: 1.564 MB / 1.265 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003318/1.272, allocations: 1.92 MB / 1.267 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006759/1.279, allocations: 3.766 MB / 1.271 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/1.279, allocations: 0 / 1.271 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007901/1.287, allocations: 4.19 MB / 1.275 GB, free: 4.348 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/1.287, allocations: 8 kB / 1.275 GB, free: 4.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/1.287, allocations: 4.656 kB / 1.275 GB, free: 4.336 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.142e-05/1.287, allocations: 20 kB / 1.275 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003302/1.29, allocations: 0.6943 MB / 1.275 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-05/1.29, allocations: 27.92 kB / 1.275 GB, free: 3.594 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/1.293, allocations: 269.9 kB / 1.276 GB, free: 3.328 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003988/1.294, allocations: 116 kB / 1.276 GB, free: 3.215 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.001918/1.296, allocations: 0.8022 MB / 1.277 GB, free: 2.402 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009851/1.297, allocations: 310 kB / 1.277 GB, free: 2.098 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008301/1.305, allocations: 4.429 MB / 1.281 GB, free: 13.63 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.582e-05/1.305, allocations: 40 kB / 1.281 GB, free: 13.59 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/1.305, allocations: 0 / 1.281 GB, free: 13.59 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006137/1.311, allocations: 3.796 MB / 1.285 GB, free: 9.727 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01663/1.328, allocations: 8.53 MB / 1.293 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/1.328, allocations: 4 kB / 1.293 GB, free: 1.059 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003505/1.331, allocations: 0.7259 MB / 1.294 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.647e-05/1.331, allocations: 16 kB / 1.294 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004067/1.332, allocations: 87.97 kB / 1.294 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.667e-05/1.332, allocations: 12 kB / 1.294 GB, free: 224 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.332, allocations: 4 kB / 1.294 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01145/1.343, allocations: 6.595 MB / 1.301 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002325/1.346, allocations: 0.7314 MB / 1.301 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007231/1.346, allocations: 72 kB / 1.301 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002368/1.349, allocations: 86.61 kB / 1.301 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005137/1.349, allocations: 254.4 kB / 1.302 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003077/1.35, allocations: 116 kB / 1.302 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002358/1.352, allocations: 1.153 MB / 1.303 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.352, allocations: 0 / 1.303 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003604/1.355, allocations: 1.24 MB / 1.304 GB, free: 5.859 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.01235/1.368, allocations: 7.479 MB / 1.311 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.006939/1.375, allocations: 3.729 MB / 1.315 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/1.375, allocations: 4.438 kB / 1.315 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.003721/1.379, allocations: 1.996 MB / 1.317 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008589/1.387, allocations: 1.591 MB / 1.319 GB, free: 6.977 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05014/1.437, allocations: 25.82 MB / 1.344 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003166/1.44, allocations: 2.201 MB / 1.346 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.004706/1.445, allocations: 1.208 MB / 1.347 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002903/1.448, allocations: 1.39 MB / 1.349 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of SimCode: time 1.222e-06/1.448, allocations: 0 / 1.349 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5289/1.977, allocations: 88.59 MB / 1.435 GB, free: 345.3 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.66/19.63, allocations: 11.88 kB / 1.435 GB, free: 345.3 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 & /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.90292514883913] Failed to read output from testmodel.py, exit status != 0: 19.805551829980686 19.823779331 18.672039488 Calling exit ...