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.001557/0.001557, allocations: 105.9 kB / 16.46 MB, free: 6.512 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.001343/0.001343, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.33/1.33, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 179] 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.002368/0.002368, allocations: 285.2 kB / 309.1 MB, free: 3.961 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.143/1.143, allocations: 180.9 MB / 0.5333 GB, free: 13.8 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.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.002611/0.002611, allocations: 108.3 kB / 0.7343 GB, free: 28.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1444, allocations: 95.33 MB / 0.8274 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6365/0.7809, allocations: 318.6 MB / 1.139 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02779/0.8087, allocations: 18.48 MB / 1.157 GB, free: 11.03 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003514/0.8122, allocations: 115.1 kB / 1.157 GB, free: 10.92 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.005827/0.818, allocations: 2.261 MB / 1.159 GB, free: 8.645 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0182/0.8362, allocations: 7.537 MB / 1.166 GB, free: 1.078 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00837/0.8446, allocations: 3.267 MB / 1.169 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01221/0.8568, allocations: 9.097 MB / 1.178 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004257/0.8611, allocations: 2.631 MB / 1.181 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005882/0.867, allocations: 3.434 MB / 1.184 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005883/0.8728, allocations: 3.412 MB / 1.188 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001031/0.8739, allocations: 404 kB / 1.188 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01384/0.8877, allocations: 7.454 MB / 1.195 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002473/0.8902, allocations: 1.718 MB / 1.197 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.004589/0.8948, allocations: 2.299 MB / 1.199 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01768/0.9125, allocations: 8.224 MB / 1.207 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.9125, allocations: 0 / 1.207 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.007e-06/0.9125, allocations: 7.938 kB / 1.207 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002069/0.9127, allocations: 0 / 1.207 GB, free: 6.988 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.01437/0.927, allocations: 5.114 MB / 1.212 GB, free: 1.797 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.9271, allocations: 12.03 kB / 1.212 GB, free: 1.785 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006528/0.9277, allocations: 451.5 kB / 1.213 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006512/0.9342, allocations: 1.039 MB / 1.214 GB, free: 296 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004509/0.9388, allocations: 2.261 MB / 1.216 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/0.9389, allocations: 246.4 kB / 1.216 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005592/0.9395, allocations: 331.9 kB / 1.216 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006846/0.9463, allocations: 4.235 MB / 1.221 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-05/0.9464, allocations: 11.94 kB / 1.221 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000308/0.9467, allocations: 132 kB / 1.221 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001701/0.9469, allocations: 170.4 kB / 1.221 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007875/0.9548, allocations: 4.783 MB / 1.226 GB, free: 3.992 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.0193/0.9741, allocations: 14.46 MB / 1.24 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005897/0.98, allocations: 4.285 MB / 1.244 GB, free: 276 kB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003377/0.9833, allocations: 2.237 MB / 1.246 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001698/0.985, allocations: 1.616 MB / 1.248 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.321e-05/0.9851, allocations: 84.11 kB / 1.248 GB, free: 11.99 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=392): time 4.729e-06/0.9851, allocations: 0 / 1.248 GB, free: 11.99 MB / 0.8887 GB Notification: Performance of matching and sorting (n=392): time 0.009135/0.9942, allocations: 5.541 MB / 1.253 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/0.9943, allocations: 90.48 kB / 1.253 GB, free: 6.328 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.9965, allocations: 1.692 MB / 1.255 GB, free: 4.594 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002224/0.9968, allocations: 93.7 kB / 1.255 GB, free: 4.496 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008552/0.9976, allocations: 1.15 MB / 1.256 GB, free: 3.336 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.001192/0.9988, allocations: 1.394 MB / 1.257 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008573/0.9997, allocations: 0.543 MB / 1.258 GB, free: 1.379 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.9998, allocations: 305.1 kB / 1.258 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002489/1.002, allocations: 1.568 MB / 1.26 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002809/1.005, allocations: 1.916 MB / 1.262 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005673/1.011, allocations: 3.77 MB / 1.265 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/1.011, allocations: 0 / 1.265 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006965/1.018, allocations: 4.19 MB / 1.269 GB, free: 5.453 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/1.018, allocations: 8 kB / 1.269 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/1.018, allocations: 4.656 kB / 1.269 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.978e-05/1.018, allocations: 23.98 kB / 1.269 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002944/1.021, allocations: 0.6982 MB / 1.27 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.143e-05/1.021, allocations: 23.94 kB / 1.27 GB, free: 4.695 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/1.023, allocations: 265.9 kB / 1.27 GB, free: 4.434 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002359/1.024, allocations: 119.9 kB / 1.27 GB, free: 4.316 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.001458/1.025, allocations: 0.7938 MB / 1.271 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006385/1.026, allocations: 310.1 kB / 1.272 GB, free: 3.207 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007507/1.033, allocations: 4.429 MB / 1.276 GB, free: 14.74 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.158e-05/1.033, allocations: 40 kB / 1.276 GB, free: 14.7 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/1.033, allocations: 0 / 1.276 GB, free: 14.7 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005561/1.039, allocations: 3.792 MB / 1.28 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01332/1.052, allocations: 8.645 MB / 1.288 GB, free: 2.035 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/1.052, allocations: 4 kB / 1.288 GB, free: 2.031 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003211/1.055, allocations: 0.7259 MB / 1.289 GB, free: 1.305 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.188e-05/1.055, allocations: 16 kB / 1.289 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002083/1.056, allocations: 83.98 kB / 1.289 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.211e-05/1.056, allocations: 19.98 kB / 1.289 GB, free: 1.188 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.056, allocations: 0 / 1.289 GB, free: 1.188 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009764/1.065, allocations: 6.585 MB / 1.295 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001662/1.067, allocations: 0.8107 MB / 1.296 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004015/1.067, allocations: 71.94 kB / 1.296 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001893/1.069, allocations: 86.55 kB / 1.296 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004713/1.07, allocations: 246.5 kB / 1.297 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002255/1.07, allocations: 108 kB / 1.297 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001653/1.072, allocations: 1.157 MB / 1.298 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.072, allocations: 0 / 1.298 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002684/1.074, allocations: 1.233 MB / 1.299 GB, free: 6.762 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.01052/1.085, allocations: 7.485 MB / 1.306 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005923/1.091, allocations: 3.726 MB / 1.31 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.091, allocations: 4.125 kB / 1.31 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002914/1.094, allocations: 1.984 MB / 1.312 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006608/1.1, allocations: 1.609 MB / 1.313 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03917/1.139, allocations: 25.81 MB / 1.339 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001886/1.141, allocations: 2.197 MB / 1.341 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.003372/1.145, allocations: 1.208 MB / 1.342 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002165/1.147, allocations: 1.39 MB / 1.343 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/1.147, allocations: 0 / 1.343 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4342/1.581, allocations: 86.04 MB / 1.427 GB, free: 350 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/15.2, allocations: 13.19 kB / 1.427 GB, free: 350 MB / 0.9825 GB " [Timeout remaining time 645] (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: 19.26876866305247] Failed to read output from testmodel.py, exit status != 0: 15.319980266038328 15.338540384 14.422561235 Calling exit ...