Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.001722/0.001722, allocations: 118.1 kB / 17.16 MB, free: 5.895 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.002036/0.002036, allocations: 212 kB / 20.13 MB, free: 2.949 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.434/1.434, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.824/2.824, allocations: 0.49 GB / 0.7923 GB, free: 1.297 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001952/0.001952, allocations: 71.91 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.97/0.9719, allocations: 176.1 MB / 1.321 GB, free: 24.69 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.3851/1.357, allocations: 318.8 MB / 1.633 GB, free: 10.06 MB / 1.311 GB Notification: Performance of NFInst.instExpressions: time 0.03101/1.388, allocations: 18.5 MB / 1.651 GB, free: 7.52 MB / 1.326 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00466/1.393, allocations: 115.1 kB / 1.651 GB, free: 7.406 MB / 1.326 GB Notification: Performance of NFTyping.typeComponents: time 0.007017/1.4, allocations: 2.257 MB / 1.653 GB, free: 5.137 MB / 1.326 GB Notification: Performance of NFTyping.typeBindings: time 0.02194/1.422, allocations: 7.542 MB / 1.661 GB, free: 13.56 MB / 1.342 GB Notification: Performance of NFTyping.typeClassSections: time 0.01052/1.432, allocations: 3.26 MB / 1.664 GB, free: 10.3 MB / 1.342 GB Notification: Performance of NFFlatten.flatten: time 0.01461/1.447, allocations: 9.102 MB / 1.673 GB, free: 1.18 MB / 1.342 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005471/1.452, allocations: 2.624 MB / 1.675 GB, free: 14.49 MB / 1.357 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009518/1.462, allocations: 3.754 MB / 1.679 GB, free: 10.73 MB / 1.357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007411/1.469, allocations: 3.376 MB / 1.682 GB, free: 7.352 MB / 1.357 GB Notification: Performance of NFPackage.collectConstants: time 0.001409/1.471, allocations: 400 kB / 1.682 GB, free: 6.961 MB / 1.357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01604/1.487, allocations: 7.411 MB / 1.69 GB, free: 15.53 MB / 1.373 GB Notification: Performance of NFScalarize.scalarize: time 0.002932/1.49, allocations: 1.683 MB / 1.691 GB, free: 13.84 MB / 1.373 GB Notification: Performance of NFVerifyModel.verify: time 0.005082/1.495, allocations: 2.283 MB / 1.694 GB, free: 11.55 MB / 1.373 GB Notification: Performance of NFConvertDAE.convert: time 0.0197/1.514, allocations: 8.204 MB / 1.702 GB, free: 3.32 MB / 1.373 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/1.514, allocations: 0 / 1.702 GB, free: 3.32 MB / 1.373 GB Notification: Performance of FrontEnd: time 2.375e-06/1.514, allocations: 0 / 1.702 GB, free: 3.32 MB / 1.373 GB Notification: Performance of Transformations before backend: time 0.0002369/1.515, allocations: 0 / 1.702 GB, free: 3.32 MB / 1.373 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 885 * Number of variables: 885 Notification: Performance of Generate backend data structure: time 0.01562/1.53, allocations: 5.044 MB / 1.707 GB, free: 14.2 MB / 1.389 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/1.53, allocations: 15.98 kB / 1.707 GB, free: 14.18 MB / 1.389 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001065/1.53, allocations: 86.5 kB / 1.707 GB, free: 14.1 MB / 1.389 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007386/1.531, allocations: 476.6 kB / 1.707 GB, free: 13.62 MB / 1.389 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006835/1.538, allocations: 1.032 MB / 1.708 GB, free: 12.59 MB / 1.389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004872/1.543, allocations: 2.197 MB / 1.71 GB, free: 10.34 MB / 1.389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002279/1.543, allocations: 246.5 kB / 1.71 GB, free: 10.09 MB / 1.389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006965/1.544, allocations: 324 kB / 1.711 GB, free: 9.777 MB / 1.389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00826/1.552, allocations: 4.399 MB / 1.715 GB, free: 5.297 MB / 1.389 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.477e-05/1.552, allocations: 7.891 kB / 1.715 GB, free: 5.289 MB / 1.389 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003453/1.552, allocations: 139.9 kB / 1.715 GB, free: 5.152 MB / 1.389 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002365/1.553, allocations: 206.7 kB / 1.715 GB, free: 4.949 MB / 1.389 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00924/1.562, allocations: 5.058 MB / 1.72 GB, free: 15.88 MB / 1.404 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.02411/1.586, allocations: 15.08 MB / 1.735 GB, free: 15.77 MB / 1.42 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007387/1.593, allocations: 4.258 MB / 1.739 GB, free: 11.51 MB / 1.42 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006081/1.599, allocations: 2.241 MB / 1.741 GB, free: 9.262 MB / 1.42 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002118/1.602, allocations: 1.608 MB / 1.743 GB, free: 7.32 MB / 1.42 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.17e-05/1.602, allocations: 77.64 kB / 1.743 GB, free: 7.234 MB / 1.42 GB Notification: Performance of pre-optimization done (n=392): time 5.15e-06/1.602, allocations: 4 kB / 1.743 GB, free: 7.23 MB / 1.42 GB Notification: Performance of matching and sorting (n=392): time 0.01078/1.612, allocations: 5.548 MB / 1.748 GB, free: 1.656 MB / 1.42 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.266e-05/1.612, allocations: 90.48 kB / 1.749 GB, free: 1.555 MB / 1.42 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002666/1.615, allocations: 1.717 MB / 1.75 GB, free: 15.79 MB / 1.436 GB Notification: Performance of collectPreVariables (initialization): time 0.0003018/1.615, allocations: 97.7 kB / 1.75 GB, free: 15.69 MB / 1.436 GB Notification: Performance of collectInitialEqns (initialization): time 0.001026/1.616, allocations: 1.242 MB / 1.752 GB, free: 14.44 MB / 1.436 GB Notification: Performance of collectInitialBindings (initialization): time 0.001448/1.618, allocations: 1.394 MB / 1.753 GB, free: 13.04 MB / 1.436 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/1.619, allocations: 0.6182 MB / 1.754 GB, free: 12.41 MB / 1.436 GB Notification: Performance of setup shared object (initialization): time 0.0001371/1.619, allocations: 301.1 kB / 1.754 GB, free: 12.11 MB / 1.436 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002758/1.622, allocations: 1.663 MB / 1.755 GB, free: 10.45 MB / 1.436 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003107/1.625, allocations: 2.037 MB / 1.757 GB, free: 8.348 MB / 1.436 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006735/1.632, allocations: 3.92 MB / 1.761 GB, free: 4.348 MB / 1.436 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-05/1.632, allocations: 4 kB / 1.761 GB, free: 4.344 MB / 1.436 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.009499/1.641, allocations: 4.456 MB / 1.766 GB, free: 15.87 MB / 1.451 GB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/1.641, allocations: 4 kB / 1.766 GB, free: 15.87 MB / 1.451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-05/1.641, allocations: 15.97 kB / 1.766 GB, free: 15.85 MB / 1.451 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.398e-05/1.641, allocations: 20 kB / 1.766 GB, free: 15.83 MB / 1.451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003831/1.645, allocations: 0.7652 MB / 1.766 GB, free: 15.07 MB / 1.451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.706e-05/1.645, allocations: 20 kB / 1.766 GB, free: 15.05 MB / 1.451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004143/1.649, allocations: 309.5 kB / 1.767 GB, free: 14.74 MB / 1.451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005442/1.65, allocations: 124 kB / 1.767 GB, free: 14.62 MB / 1.451 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 (472): * Single equations (assignments): 472 * 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.002746/1.653, allocations: 0.8093 MB / 1.768 GB, free: 13.8 MB / 1.451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001663/1.654, allocations: 306.1 kB / 1.768 GB, free: 13.5 MB / 1.451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01149/1.666, allocations: 4.433 MB / 1.772 GB, free: 9.031 MB / 1.451 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-05/1.666, allocations: 43.94 kB / 1.772 GB, free: 8.988 MB / 1.451 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.858e-05/1.666, allocations: 7.875 kB / 1.772 GB, free: 8.98 MB / 1.451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006601/1.672, allocations: 3.792 MB / 1.776 GB, free: 5.121 MB / 1.451 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01809/1.691, allocations: 8.645 MB / 1.784 GB, free: 12.31 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/1.691, allocations: 0 / 1.784 GB, free: 12.31 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003585/1.694, allocations: 0.7221 MB / 1.785 GB, free: 11.59 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.968e-05/1.694, allocations: 12 kB / 1.785 GB, free: 11.58 MB / 1.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004228/1.695, allocations: 87.97 kB / 1.785 GB, free: 11.49 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.67e-05/1.695, allocations: 19.94 kB / 1.785 GB, free: 11.47 MB / 1.467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/1.695, allocations: 4 kB / 1.785 GB, free: 11.47 MB / 1.467 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/1.707, allocations: 6.593 MB / 1.792 GB, free: 4.781 MB / 1.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002646/1.709, allocations: 0.8067 MB / 1.792 GB, free: 3.953 MB / 1.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001011/1.71, allocations: 72 kB / 1.793 GB, free: 3.883 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002869/1.713, allocations: 85.78 kB / 1.793 GB, free: 3.801 MB / 1.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006309/1.714, allocations: 234.6 kB / 1.793 GB, free: 3.57 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003772/1.714, allocations: 124 kB / 1.793 GB, free: 3.449 MB / 1.467 GB Notification: Performance of sorting global known variables: time 0.002323/1.716, allocations: 1.146 MB / 1.794 GB, free: 2.281 MB / 1.467 GB Notification: Performance of sort global known variables: time 1.1e-07/1.716, allocations: 4 kB / 1.794 GB, free: 2.277 MB / 1.467 GB Notification: Performance of remove unused functions: time 0.003779/1.72, allocations: 1.272 MB / 1.795 GB, free: 1.004 MB / 1.467 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.01278/1.733, allocations: 7.483 MB / 1.803 GB, free: 9.414 MB / 1.482 GB Notification: Performance of simCode: created initialization part: time 0.007378/1.74, allocations: 3.867 MB / 1.806 GB, free: 5.535 MB / 1.482 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.74, allocations: 0 / 1.806 GB, free: 5.535 MB / 1.482 GB Notification: Performance of simCode: created simulation system equations: time 0.003596/1.744, allocations: 1.986 MB / 1.808 GB, free: 3.551 MB / 1.482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008703/1.753, allocations: 1.599 MB / 1.81 GB, free: 1.98 MB / 1.482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05161/1.804, allocations: 26.11 MB / 1.835 GB, free: 7.527 MB / 1.514 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002642/1.807, allocations: 2.201 MB / 1.838 GB, free: 5.289 MB / 1.514 GB Notification: Performance of simCode: alias equations: time 0.004809/1.812, allocations: 1.271 MB / 1.839 GB, free: 4.012 MB / 1.514 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002956/1.815, allocations: 1.394 MB / 1.84 GB, free: 2.617 MB / 1.514 GB Notification: Performance of SimCode: time 1.052e-06/1.815, allocations: 0 / 1.84 GB, free: 2.617 MB / 1.514 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8759/2.691, allocations: 86.38 MB / 1.925 GB, free: 477.1 MB / 1.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/17.8, allocations: 10.84 kB / 1.925 GB, free: 477.1 MB / 1.545 GB " [Timeout remaining time 282] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 24.074666478962172] Failed to read output from testmodel.py, exit status != 0: 17.98837605799781 18.000395011 16.483226112 Calling exit ...