Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_9_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.001265/0.001266, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.011/0.011, allocations: 168.4 kB / 16.26 MB, free: 6.648 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.539/1.539, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.485/2.485, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000464/0.0004642, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7672/0.7677, allocations: 142.4 MB / 0.9552 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.118/1.885, allocations: 307.7 MB / 1.256 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03129/1.917, allocations: 18.5 MB / 1.274 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00686/1.924, allocations: 76.61 kB / 1.274 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006704/1.93, allocations: 1.875 MB / 1.276 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01866/1.949, allocations: 6.906 MB / 1.282 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00896/1.958, allocations: 2.92 MB / 1.285 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0166/1.975, allocations: 13.13 MB / 1.298 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005473/1.98, allocations: 2.587 MB / 1.301 GB, free: 17.96 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008304/1.989, allocations: 2.801 MB / 1.303 GB, free: 17.95 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007884/1.997, allocations: 3.268 MB / 1.306 GB, free: 17.93 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00151/1.998, allocations: 204.3 kB / 1.307 GB, free: 17.93 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01872/2.017, allocations: 8.1 MB / 1.315 GB, free: 17.86 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.003363/2.02, allocations: 1.47 MB / 1.316 GB, free: 17.86 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.006294/2.027, allocations: 2.08 MB / 1.318 GB, free: 17.82 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02087/2.047, allocations: 8.379 MB / 1.326 GB, free: 17.38 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/2.047, allocations: 0 / 1.326 GB, free: 17.38 MB / 1.014 GB Notification: Performance of FrontEnd: time 5.39e-06/2.048, allocations: 0 / 1.326 GB, free: 17.38 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003131/2.048, allocations: 4 kB / 1.326 GB, free: 17.37 MB / 1.014 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.01579/2.064, allocations: 4.317 MB / 1.33 GB, free: 14.92 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/2.064, allocations: 9.156 kB / 1.33 GB, free: 14.92 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00211/2.066, allocations: 461.3 kB / 1.331 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008306/2.074, allocations: 1.01 MB / 1.332 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005862/2.08, allocations: 2.164 MB / 1.334 GB, free: 13.44 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002888/2.08, allocations: 246.8 kB / 1.334 GB, free: 13.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001565/2.082, allocations: 324.3 kB / 1.335 GB, free: 13.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01254/2.095, allocations: 4.24 MB / 1.339 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001384/2.095, allocations: 9.781 kB / 1.339 GB, free: 12.29 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005845/2.095, allocations: 134.8 kB / 1.339 GB, free: 12.29 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002145/2.096, allocations: 168.4 kB / 1.339 GB, free: 12.27 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01151/2.107, allocations: 4.781 MB / 1.344 GB, free: 11.38 MB / 1.014 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.03197/2.139, allocations: 14.39 MB / 1.358 GB, free: 2.664 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008388/2.148, allocations: 4.576 MB / 1.362 GB, free: 2.031 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005197/2.153, allocations: 2.448 MB / 1.365 GB, free: 1.695 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002335/2.155, allocations: 1.612 MB / 1.366 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001077/2.155, allocations: 80.17 kB / 1.366 GB, free: 15.89 MB / 1.029 GB Notification: Performance of pre-optimization done (n=392): time 6.602e-06/2.155, allocations: 0 / 1.366 GB, free: 15.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=392): time 0.01325/2.169, allocations: 5.539 MB / 1.372 GB, free: 14.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.967e-05/2.169, allocations: 93.89 kB / 1.372 GB, free: 14.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002665/2.171, allocations: 1.682 MB / 1.373 GB, free: 14.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004951/2.172, allocations: 94.45 kB / 1.373 GB, free: 14.4 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008393/2.173, allocations: 1.137 MB / 1.375 GB, free: 13.86 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001428/2.174, allocations: 1.311 MB / 1.376 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000347/2.175, allocations: 273.8 kB / 1.376 GB, free: 12.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001116/2.175, allocations: 305.1 kB / 1.376 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002298/2.177, allocations: 1.565 MB / 1.378 GB, free: 12.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002748/2.18, allocations: 1.918 MB / 1.38 GB, free: 11.51 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006273/2.186, allocations: 3.759 MB / 1.383 GB, free: 8.137 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.846e-05/2.186, allocations: 4 kB / 1.383 GB, free: 8.133 MB / 1.029 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008394/2.194, allocations: 4.184 MB / 1.388 GB, free: 3.953 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.377e-05/2.195, allocations: 6.844 kB / 1.388 GB, free: 3.949 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/2.195, allocations: 11.98 kB / 1.388 GB, free: 3.938 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.851e-05/2.195, allocations: 16 kB / 1.388 GB, free: 3.922 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003299/2.198, allocations: 0.6943 MB / 1.388 GB, free: 3.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-05/2.198, allocations: 20 kB / 1.388 GB, free: 3.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004703/2.203, allocations: 484.9 kB / 1.389 GB, free: 2.773 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004128/2.203, allocations: 116 kB / 1.389 GB, free: 2.66 MB / 1.029 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.001914/2.205, allocations: 0.8015 MB / 1.39 GB, free: 1.891 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007725/2.206, allocations: 288.5 kB / 1.39 GB, free: 1.605 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007446/2.213, allocations: 4.44 MB / 1.394 GB, free: 13.13 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.158e-05/2.213, allocations: 36 kB / 1.394 GB, free: 13.09 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/2.213, allocations: 0 / 1.394 GB, free: 13.09 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005535/2.219, allocations: 3.794 MB / 1.398 GB, free: 9.234 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/2.234, allocations: 8.639 MB / 1.406 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/2.234, allocations: 0 / 1.406 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003282/2.238, allocations: 0.7245 MB / 1.407 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.23e-05/2.238, allocations: 19.94 kB / 1.407 GB, free: 15.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000248/2.238, allocations: 88.09 kB / 1.407 GB, free: 15.76 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.019e-05/2.238, allocations: 16 kB / 1.407 GB, free: 15.74 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/2.238, allocations: 10.53 kB / 1.407 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/2.248, allocations: 6.566 MB / 1.414 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002527/2.251, allocations: 0.7894 MB / 1.414 GB, free: 8.266 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008565/2.251, allocations: 75.98 kB / 1.415 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003243/2.255, allocations: 266.1 kB / 1.415 GB, free: 7.934 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005016/2.255, allocations: 233.3 kB / 1.415 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002839/2.256, allocations: 116 kB / 1.415 GB, free: 7.594 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002469/2.258, allocations: 1.153 MB / 1.416 GB, free: 6.418 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.8e-07/2.258, allocations: 0 / 1.416 GB, free: 6.418 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003973/2.262, allocations: 1.24 MB / 1.417 GB, free: 5.176 MB / 1.061 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.0123/2.274, allocations: 7.481 MB / 1.425 GB, free: 13.67 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.007446/2.282, allocations: 3.926 MB / 1.429 GB, free: 9.781 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.395e-06/2.282, allocations: 0 / 1.429 GB, free: 9.781 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003639/2.285, allocations: 2.15 MB / 1.431 GB, free: 7.711 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01035/2.296, allocations: 1.536 MB / 1.432 GB, free: 6.188 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07785/2.374, allocations: 30.52 MB / 1.462 GB, free: 6.242 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003743/2.378, allocations: 2.197 MB / 1.464 GB, free: 4.008 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0073/2.385, allocations: 1.204 MB / 1.465 GB, free: 2.797 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004385/2.389, allocations: 1.386 MB / 1.467 GB, free: 1.41 MB / 1.107 GB Notification: Performance of SimCode: time 1.503e-06/2.389, allocations: 0 / 1.467 GB, free: 1.41 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2363/2.626, allocations: 81.17 MB / 1.546 GB, free: 1.219 MB / 1.186 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000316/2.626, allocations: 245.4 kB / 1.546 GB, free: 0.9609 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.695/7.321, allocations: 0 / 1.546 GB, free: 0.9609 MB / 1.186 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)