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.001245/0.001245, 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.001649/0.001649, allocations: 165.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.217/1.217, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.00195/0.00195, allocations: 233.6 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.833/0.833, allocations: 138.4 MB / 454.3 MB, free: 29.99 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 1.833e-06/1.833e-06, allocations: 0 / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.316e-05, allocations: 13.17 kB / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7917/0.7918, allocations: 279.2 MB / 0.9189 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0298/0.8216, allocations: 17.28 MB / 0.9358 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006729/0.8283, allocations: 115.8 kB / 0.9359 GB, free: 1.988 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.7301/1.558, allocations: 2.048 MB / 0.9379 GB, free: 2.656 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.02823/1.587, allocations: 7.822 MB / 0.9456 GB, free: 2.578 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.01146/1.598, allocations: 3.362 MB / 0.9488 GB, free: 2.484 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0216/1.62, allocations: 9.39 MB / 0.958 GB, free: 1.23 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007632/1.627, allocations: 2.371 MB / 0.9603 GB, free: 16.99 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0211/1.648, allocations: 4.566 MB / 0.9648 GB, free: 16.6 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01299/1.661, allocations: 3.056 MB / 0.9678 GB, free: 16.32 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.003511/1.665, allocations: 403.8 kB / 0.9682 GB, free: 16.32 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02146/1.686, allocations: 5.864 MB / 0.9739 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.006936/1.693, allocations: 1.82 MB / 0.9757 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.009215/1.703, allocations: 1.68 MB / 0.9773 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.03115/1.734, allocations: 8.339 MB / 0.9854 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/1.734, allocations: 0 / 0.9854 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.467e-06/1.734, allocations: 1 kB / 0.9855 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001586/1.734, allocations: 0 / 0.9855 GB, free: 14.62 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.01388/1.748, allocations: 5.011 MB / 0.9903 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/1.748, allocations: 13.8 kB / 0.9904 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004499/1.748, allocations: 459.3 kB / 0.9908 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00422/1.752, allocations: 1.034 MB / 0.9918 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003953/1.756, allocations: 2.165 MB / 0.9939 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/1.757, allocations: 248.4 kB / 0.9942 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004752/1.757, allocations: 326.2 kB / 0.9945 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006097/1.763, allocations: 4.641 MB / 0.999 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.846e-05/1.763, allocations: 5.781 kB / 0.999 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002495/1.763, allocations: 142.3 kB / 0.9991 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001103/1.764, allocations: 171.7 kB / 0.9993 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00617/1.77, allocations: 4.735 MB / 1.004 GB, free: 11.01 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.01525/1.785, allocations: 9.98 MB / 1.014 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005416/1.79, allocations: 4.262 MB / 1.018 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002741/1.793, allocations: 2.234 MB / 1.02 GB, free: 8.594 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009703/1.794, allocations: 264.1 kB / 1.02 GB, free: 8.586 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.321e-05/1.794, allocations: 75.17 kB / 1.02 GB, free: 8.543 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=392): time 5.681e-06/1.794, allocations: 1.031 kB / 1.02 GB, free: 8.543 MB / 0.7761 GB Notification: Performance of matching and sorting (n=392): time 0.008118/1.802, allocations: 5.55 MB / 1.026 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/1.802, allocations: 92.8 kB / 1.026 GB, free: 8.176 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/1.804, allocations: 1.691 MB / 1.028 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001835/1.805, allocations: 96.7 kB / 1.028 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001173/1.806, allocations: 1.16 MB / 1.029 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009853/1.807, allocations: 1.368 MB / 1.03 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007885/1.808, allocations: 0.5457 MB / 1.031 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002031/1.808, allocations: 304 kB / 1.031 GB, free: 5.875 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002029/1.81, allocations: 1.568 MB / 1.032 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002215/1.812, allocations: 1.97 MB / 1.034 GB, free: 5.094 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004484/1.817, allocations: 3.765 MB / 1.038 GB, free: 4.508 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/1.817, allocations: 2.969 kB / 1.038 GB, free: 4.508 MB / 0.7761 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005645/1.822, allocations: 4.189 MB / 1.042 GB, free: 3.816 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.079e-05/1.822, allocations: 6.562 kB / 1.042 GB, free: 3.816 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/1.822, allocations: 6.438 kB / 1.042 GB, free: 3.816 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.906e-05/1.822, allocations: 24.12 kB / 1.042 GB, free: 3.812 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/1.824, allocations: 0.7026 MB / 1.043 GB, free: 3.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.854e-05/1.824, allocations: 20.92 kB / 1.043 GB, free: 3.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/1.827, allocations: 270.3 kB / 1.043 GB, free: 3.574 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/1.827, allocations: 113.5 kB / 1.043 GB, free: 3.57 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.001743/1.829, allocations: 0.802 MB / 1.044 GB, free: 3.367 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003545/1.829, allocations: 305.6 kB / 1.044 GB, free: 3.211 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005769/1.835, allocations: 4.43 MB / 1.049 GB, free: 1.254 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.119e-05/1.835, allocations: 45.12 kB / 1.049 GB, free: 1.227 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/1.835, allocations: 1.375 kB / 1.049 GB, free: 1.227 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004328/1.839, allocations: 3.793 MB / 1.052 GB, free: 13.37 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/1.851, allocations: 7.95 MB / 1.06 GB, free: 5.402 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/1.851, allocations: 0.9375 kB / 1.06 GB, free: 5.402 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002437/1.854, allocations: 0.7223 MB / 1.061 GB, free: 4.719 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.769e-05/1.854, allocations: 16 kB / 1.061 GB, free: 4.703 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/1.854, allocations: 81.08 kB / 1.061 GB, free: 4.625 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-05/1.854, allocations: 19.98 kB / 1.061 GB, free: 4.605 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.854, allocations: 7.188 kB / 1.061 GB, free: 4.602 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0077/1.862, allocations: 6.584 MB / 1.067 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001955/1.863, allocations: 0.7342 MB / 1.068 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002789/1.864, allocations: 72.75 kB / 1.068 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/1.865, allocations: 86.86 kB / 1.068 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003122/1.865, allocations: 249.6 kB / 1.068 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/1.865, allocations: 117 kB / 1.069 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001604/1.867, allocations: 1.151 MB / 1.07 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.1e-07/1.867, allocations: 0 / 1.07 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002619/1.869, allocations: 1.241 MB / 1.071 GB, free: 10.28 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.008504/1.878, allocations: 7.483 MB / 1.078 GB, free: 2.789 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.005929/1.884, allocations: 3.731 MB / 1.082 GB, free: 15.11 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/1.884, allocations: 4.562 kB / 1.082 GB, free: 15.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002124/1.886, allocations: 1.993 MB / 1.084 GB, free: 13.19 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004558/1.891, allocations: 1.599 MB / 1.085 GB, free: 11.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03563/1.926, allocations: 25.52 MB / 1.11 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/1.928, allocations: 1.653 MB / 1.112 GB, free: 208 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00329/1.931, allocations: 1.208 MB / 1.113 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001594/1.933, allocations: 1.387 MB / 1.114 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of SimCode: time 2.545e-06/1.933, allocations: 0 / 1.114 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1335/2.066, allocations: 92.2 MB / 1.205 GB, free: 3.023 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/13.93, allocations: 14.11 kB / 1.205 GB, free: 3.016 MB / 0.9323 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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: 17.758381337858737] Failed to read output from testmodel.py, exit status != 0: 14.057543662376702 14.065795949 12.329476478 Calling exit ...