Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004547/0.004547, allocations: 96.7 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 194.8 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.343/2.343, allocations: 437.1 MB / 0.7106 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 59.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2722, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.8391/1.111, allocations: 314.2 MB / 1.473 GB, free: 10.43 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.03408/1.145, allocations: 18.46 MB / 1.491 GB, free: 7.926 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002528/1.148, allocations: 91.5 kB / 1.491 GB, free: 7.836 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.004671/1.153, allocations: 2.156 MB / 1.493 GB, free: 5.668 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01499/1.168, allocations: 7.3 MB / 1.5 GB, free: 14.34 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.006752/1.174, allocations: 3.222 MB / 1.503 GB, free: 11.12 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.011/1.185, allocations: 9.1 MB / 1.512 GB, free: 1.992 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005251/1.191, allocations: 3.109 MB / 1.515 GB, free: 14.83 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006393/1.197, allocations: 3.309 MB / 1.519 GB, free: 11.51 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006604/1.204, allocations: 3.229 MB / 1.522 GB, free: 8.281 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0008144/1.205, allocations: 404 kB / 1.522 GB, free: 7.887 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01305/1.218, allocations: 7.003 MB / 1.529 GB, free: 0.8672 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001575/1.219, allocations: 1.691 MB / 1.531 GB, free: 15.17 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002425/1.222, allocations: 2.295 MB / 1.533 GB, free: 12.87 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01078/1.232, allocations: 8.22 MB / 1.541 GB, free: 4.621 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.232, allocations: 4 kB / 1.541 GB, free: 4.617 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.303e-06/1.232, allocations: 3.938 kB / 1.541 GB, free: 4.613 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.321e-05/1.233, allocations: 0 / 1.541 GB, free: 4.613 MB / 1.201 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.01033/1.243, allocations: 5.114 MB / 1.546 GB, free: 15.42 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/1.243, allocations: 8.031 kB / 1.546 GB, free: 15.41 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005122/1.243, allocations: 459.5 kB / 1.546 GB, free: 14.95 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008645/1.252, allocations: 1.036 MB / 1.547 GB, free: 13.91 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005439/1.258, allocations: 2.261 MB / 1.55 GB, free: 11.6 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002656/1.258, allocations: 242.4 kB / 1.55 GB, free: 11.36 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007005/1.259, allocations: 327.9 kB / 1.55 GB, free: 11.04 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009947/1.268, allocations: 4.237 MB / 1.554 GB, free: 6.723 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.603e-05/1.269, allocations: 11.98 kB / 1.554 GB, free: 6.711 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000467/1.269, allocations: 132 kB / 1.554 GB, free: 6.582 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002685/1.269, allocations: 178.3 kB / 1.555 GB, free: 6.406 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008592/1.278, allocations: 4.78 MB / 1.559 GB, free: 1.617 MB / 1.217 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.01643/1.294, allocations: 14.48 MB / 1.573 GB, free: 2.172 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005713/1.3, allocations: 4.555 MB / 1.578 GB, free: 13.62 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003313/1.303, allocations: 2.455 MB / 1.58 GB, free: 11.16 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001623/1.305, allocations: 1.612 MB / 1.582 GB, free: 9.211 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.438e-05/1.305, allocations: 73.64 kB / 1.582 GB, free: 9.129 MB / 1.248 GB Notification: Performance of pre-optimization done (n=392): time 4.499e-06/1.305, allocations: 0 / 1.582 GB, free: 9.129 MB / 1.248 GB Notification: Performance of matching and sorting (n=392): time 0.009977/1.315, allocations: 5.545 MB / 1.587 GB, free: 3.562 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/1.315, allocations: 94.48 kB / 1.587 GB, free: 3.457 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/1.317, allocations: 1.686 MB / 1.589 GB, free: 1.73 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001805/1.317, allocations: 93.7 kB / 1.589 GB, free: 1.633 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008215/1.318, allocations: 1.157 MB / 1.59 GB, free: 476 kB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001063/1.319, allocations: 1.383 MB / 1.592 GB, free: 15.07 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008243/1.32, allocations: 0.5547 MB / 1.592 GB, free: 14.5 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001085/1.32, allocations: 308.9 kB / 1.592 GB, free: 14.2 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002359/1.323, allocations: 1.56 MB / 1.594 GB, free: 12.64 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00266/1.325, allocations: 1.923 MB / 1.596 GB, free: 10.65 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005325/1.331, allocations: 3.769 MB / 1.6 GB, free: 6.793 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/1.331, allocations: 0 / 1.6 GB, free: 6.793 MB / 1.264 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006091/1.337, allocations: 4.183 MB / 1.604 GB, free: 2.586 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/1.337, allocations: 8.656 kB / 1.604 GB, free: 2.578 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/1.337, allocations: 7.984 kB / 1.604 GB, free: 2.57 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/1.337, allocations: 28 kB / 1.604 GB, free: 2.543 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00269/1.34, allocations: 0.6943 MB / 1.604 GB, free: 1.848 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-05/1.34, allocations: 31.81 kB / 1.604 GB, free: 1.816 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/1.342, allocations: 261.9 kB / 1.605 GB, free: 1.559 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000222/1.342, allocations: 120 kB / 1.605 GB, free: 1.441 MB / 1.264 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.001178/1.343, allocations: 0.8015 MB / 1.606 GB, free: 0.6289 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000448/1.343, allocations: 302.1 kB / 1.606 GB, free: 340 kB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006756/1.35, allocations: 4.429 MB / 1.61 GB, free: 11.86 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-05/1.35, allocations: 40 kB / 1.61 GB, free: 11.82 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/1.35, allocations: 3.938 kB / 1.61 GB, free: 11.82 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005243/1.355, allocations: 3.796 MB / 1.614 GB, free: 7.957 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/1.367, allocations: 8.633 MB / 1.622 GB, free: 15.16 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/1.367, allocations: 4.312 kB / 1.622 GB, free: 15.16 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003039/1.37, allocations: 0.7217 MB / 1.623 GB, free: 14.44 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.847e-05/1.37, allocations: 19.94 kB / 1.623 GB, free: 14.42 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001971/1.371, allocations: 83.98 kB / 1.623 GB, free: 14.34 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.019e-05/1.371, allocations: 19.98 kB / 1.623 GB, free: 14.32 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.371, allocations: 4 kB / 1.623 GB, free: 14.31 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008982/1.38, allocations: 6.589 MB / 1.63 GB, free: 7.625 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/1.381, allocations: 0.8068 MB / 1.63 GB, free: 6.797 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000367/1.381, allocations: 72 kB / 1.63 GB, free: 6.727 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001702/1.383, allocations: 86.22 kB / 1.631 GB, free: 6.645 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004325/1.383, allocations: 238.5 kB / 1.631 GB, free: 6.41 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002124/1.384, allocations: 112 kB / 1.631 GB, free: 6.301 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001458/1.385, allocations: 1.157 MB / 1.632 GB, free: 5.121 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.5e-07/1.385, allocations: 0 / 1.632 GB, free: 5.121 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002177/1.387, allocations: 1.236 MB / 1.633 GB, free: 3.883 MB / 1.295 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.009805/1.397, allocations: 7.501 MB / 1.64 GB, free: 12.29 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.005543/1.403, allocations: 3.948 MB / 1.644 GB, free: 8.324 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/1.403, allocations: 4 kB / 1.644 GB, free: 8.32 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.002774/1.405, allocations: 2.152 MB / 1.646 GB, free: 6.168 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005776/1.411, allocations: 1.606 MB / 1.648 GB, free: 4.59 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03392/1.445, allocations: 25.81 MB / 1.673 GB, free: 10.41 MB / 1.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001824/1.447, allocations: 2.205 MB / 1.675 GB, free: 8.168 MB / 1.342 GB Notification: Performance of simCode: alias equations: time 0.003181/1.45, allocations: 1.208 MB / 1.677 GB, free: 6.953 MB / 1.342 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00192/1.452, allocations: 1.39 MB / 1.678 GB, free: 5.562 MB / 1.342 GB Notification: Performance of SimCode: time 4.71e-07/1.452, allocations: 0 / 1.678 GB, free: 5.562 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.276/4.728, allocations: 85.55 MB / 1.761 GB, free: 0.8594 MB / 1.42 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.66/25.38, allocations: 10.3 kB / 1.761 GB, free: 0.8516 MB / 1.42 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)