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.001288/0.001288, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001091/0.001091, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.025/1.025, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.001664/0.001664, allocations: 230.5 kB / 259.4 MB, free: 13.03 MB / 250.7 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 0.7424/0.7424, allocations: 138.4 MB / 454.3 MB, free: 30.03 MB / 410.7 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: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.078e-05/5.308e-05, allocations: 9.375 kB / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6991/0.6992, allocations: 279.2 MB / 0.9189 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0308/0.73, allocations: 17.27 MB / 0.9358 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006342/0.7363, allocations: 115.1 kB / 0.9359 GB, free: 2 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.6288/1.365, allocations: 2.052 MB / 0.9379 GB, free: 2.695 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.02123/1.386, allocations: 7.817 MB / 0.9456 GB, free: 2.621 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.009665/1.396, allocations: 3.371 MB / 0.9489 GB, free: 2.523 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01703/1.413, allocations: 9.389 MB / 0.958 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005128/1.418, allocations: 2.376 MB / 0.9603 GB, free: 17.03 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01308/1.431, allocations: 4.566 MB / 0.9648 GB, free: 16.64 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008535/1.44, allocations: 3.051 MB / 0.9678 GB, free: 16.36 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.00133/1.441, allocations: 402.6 kB / 0.9682 GB, free: 16.36 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01902/1.46, allocations: 5.867 MB / 0.9739 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.004676/1.465, allocations: 1.817 MB / 0.9757 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.006774/1.472, allocations: 1.686 MB / 0.9773 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.02575/1.497, allocations: 8.338 MB / 0.9855 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/1.497, allocations: 0 / 0.9855 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.076e-06/1.497, allocations: 0 / 0.9855 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002233/1.498, allocations: 0.9062 kB / 0.9855 GB, free: 14.66 MB / 0.7761 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.01382/1.511, allocations: 5.009 MB / 0.9904 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 7.348e-05/1.511, allocations: 11.28 kB / 0.9904 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005773/1.512, allocations: 460.8 kB / 0.9908 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004213/1.516, allocations: 1.033 MB / 0.9918 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004137/1.52, allocations: 2.17 MB / 0.9939 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/1.52, allocations: 248.2 kB / 0.9942 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004008/1.521, allocations: 328.5 kB / 0.9945 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006461/1.527, allocations: 4.639 MB / 0.999 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001098/1.527, allocations: 6.969 kB / 0.999 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003252/1.528, allocations: 136.5 kB / 0.9991 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001396/1.528, allocations: 170.1 kB / 0.9993 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006073/1.534, allocations: 4.735 MB / 1.004 GB, free: 11.05 MB / 0.7761 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.01428/1.548, allocations: 9.987 MB / 1.014 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004528/1.553, allocations: 4.252 MB / 1.018 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002289/1.555, allocations: 2.242 MB / 1.02 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006533/1.556, allocations: 258.3 kB / 1.02 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.975e-05/1.556, allocations: 79.2 kB / 1.02 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=392): time 5.31e-06/1.556, allocations: 0.875 kB / 1.02 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of matching and sorting (n=392): time 0.006536/1.562, allocations: 5.553 MB / 1.026 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/1.562, allocations: 97.33 kB / 1.026 GB, free: 8.207 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002023/1.564, allocations: 1.691 MB / 1.028 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001904/1.565, allocations: 96.7 kB / 1.028 GB, free: 7.848 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005809/1.565, allocations: 1.155 MB / 1.029 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009281/1.566, allocations: 1.369 MB / 1.03 GB, free: 6.262 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006597/1.567, allocations: 0.5504 MB / 1.031 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 7.683e-05/1.567, allocations: 301.1 kB / 1.031 GB, free: 5.883 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001785/1.569, allocations: 1.567 MB / 1.032 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001875/1.571, allocations: 1.962 MB / 1.034 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004011/1.575, allocations: 3.771 MB / 1.038 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.736e-05/1.575, allocations: 1.969 kB / 1.038 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00569/1.58, allocations: 4.189 MB / 1.042 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/1.58, allocations: 9.531 kB / 1.042 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/1.58, allocations: 5.656 kB / 1.042 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.318e-05/1.58, allocations: 23.44 kB / 1.042 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/1.582, allocations: 0.6974 MB / 1.043 GB, free: 3.742 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.439e-05/1.582, allocations: 27.36 kB / 1.043 GB, free: 3.742 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/1.584, allocations: 263.8 kB / 1.043 GB, free: 3.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/1.585, allocations: 115.5 kB / 1.043 GB, free: 3.586 MB / 0.7761 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.001905/1.586, allocations: 0.7978 MB / 1.044 GB, free: 3.383 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004333/1.587, allocations: 304.7 kB / 1.044 GB, free: 3.227 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005392/1.592, allocations: 4.431 MB / 1.049 GB, free: 1.273 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-05/1.592, allocations: 43.34 kB / 1.049 GB, free: 1.258 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/1.592, allocations: 0 / 1.049 GB, free: 1.258 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004058/1.596, allocations: 3.789 MB / 1.052 GB, free: 13.41 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/1.607, allocations: 7.955 MB / 1.06 GB, free: 5.434 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/1.607, allocations: 0 / 1.06 GB, free: 5.434 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001858/1.609, allocations: 0.7226 MB / 1.061 GB, free: 4.75 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.982e-05/1.609, allocations: 17.5 kB / 1.061 GB, free: 4.734 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001805/1.609, allocations: 84.88 kB / 1.061 GB, free: 4.652 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.366e-05/1.609, allocations: 19.09 kB / 1.061 GB, free: 4.637 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.609, allocations: 4.656 kB / 1.061 GB, free: 4.633 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007161/1.616, allocations: 6.578 MB / 1.067 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001623/1.618, allocations: 0.7364 MB / 1.068 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002957/1.618, allocations: 78.75 kB / 1.068 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/1.619, allocations: 86.52 kB / 1.068 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003576/1.62, allocations: 253.5 kB / 1.069 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001802/1.62, allocations: 109 kB / 1.069 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001424/1.621, allocations: 1.157 MB / 1.07 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/1.621, allocations: 0 / 1.07 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002655/1.624, allocations: 1.241 MB / 1.071 GB, free: 10.3 MB / 0.8073 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.007884/1.632, allocations: 7.49 MB / 1.078 GB, free: 2.812 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.004548/1.637, allocations: 3.727 MB / 1.082 GB, free: 15.13 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.637, allocations: 4 kB / 1.082 GB, free: 15.13 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002221/1.639, allocations: 1.99 MB / 1.084 GB, free: 13.22 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0041/1.643, allocations: 1.595 MB / 1.085 GB, free: 11.72 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03015/1.673, allocations: 25.52 MB / 1.11 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/1.674, allocations: 1.646 MB / 1.112 GB, free: 240 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.003226/1.678, allocations: 1.212 MB / 1.113 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001624/1.679, allocations: 1.383 MB / 1.114 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of SimCode: time 2.054e-06/1.679, allocations: 0 / 1.114 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1124/1.792, allocations: 92.21 MB / 1.205 GB, free: 3.047 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/12.59, allocations: 4.062 kB / 1.205 GB, free: 3.043 MB / 0.9323 GB " [Timeout remaining time 647] (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: 15.895676714368165] Failed to read output from testmodel.py, exit status != 0: 12.721916158683598 12.736436161 11.236263388 Calling exit ...