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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001551/0.001551, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002718/0.002718, allocations: 196.9 kB / 16.14 MB, free: 6.719 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.532/1.532, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.845/2.845, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 67.89 kB / 0.8686 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1/1.102, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.233/2.335, allocations: 312 MB / 1.321 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02917/2.364, allocations: 18.66 MB / 1.34 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007006/2.371, allocations: 80.66 kB / 1.34 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006769/2.378, allocations: 1.877 MB / 1.342 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01864/2.397, allocations: 6.9 MB / 1.348 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009306/2.406, allocations: 2.939 MB / 1.351 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01666/2.423, allocations: 13.11 MB / 1.364 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005368/2.428, allocations: 2.655 MB / 1.367 GB, free: 16.09 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008752/2.437, allocations: 2.883 MB / 1.369 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008708/2.446, allocations: 3.359 MB / 1.373 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002033/2.448, allocations: 228.3 kB / 1.373 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02083/2.469, allocations: 8.138 MB / 1.381 GB, free: 12.12 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004413/2.473, allocations: 1.515 MB / 1.382 GB, free: 11.18 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.008629/2.482, allocations: 2.121 MB / 1.384 GB, free: 9.941 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02552/2.507, allocations: 8.484 MB / 1.393 GB, free: 5.285 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/2.507, allocations: 0 / 1.393 GB, free: 5.285 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.354e-06/2.507, allocations: 0 / 1.393 GB, free: 5.285 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002955/2.508, allocations: 0 / 1.393 GB, free: 5.285 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.01988/2.528, allocations: 4.993 MB / 1.398 GB, free: 2.059 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/2.528, allocations: 7.906 kB / 1.398 GB, free: 2.059 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001777/2.529, allocations: 461.1 kB / 1.398 GB, free: 1.719 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008324/2.538, allocations: 1.012 MB / 1.399 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006045/2.544, allocations: 2.16 MB / 1.401 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002875/2.544, allocations: 244 kB / 1.401 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001524/2.546, allocations: 331.6 kB / 1.402 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01468/2.56, allocations: 4.24 MB / 1.406 GB, free: 9.824 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002397/2.561, allocations: 7.906 kB / 1.406 GB, free: 9.816 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001493/2.562, allocations: 134.1 kB / 1.406 GB, free: 9.688 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003071/2.563, allocations: 173.4 kB / 1.406 GB, free: 9.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01477/2.577, allocations: 4.776 MB / 1.411 GB, free: 4.746 MB / 1.029 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.03513/2.613, allocations: 14.38 MB / 1.425 GB, free: 5.691 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009182/2.622, allocations: 4.571 MB / 1.429 GB, free: 1.141 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005697/2.628, allocations: 2.444 MB / 1.432 GB, free: 14.69 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002579/2.63, allocations: 1.611 MB / 1.433 GB, free: 12.76 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/2.63, allocations: 73.64 kB / 1.433 GB, free: 12.68 MB / 1.061 GB Notification: Performance of pre-optimization done (n=392): time 2.224e-05/2.63, allocations: 0 / 1.433 GB, free: 12.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=392): time 0.01696/2.647, allocations: 5.546 MB / 1.439 GB, free: 7.113 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/2.648, allocations: 94.48 kB / 1.439 GB, free: 7.008 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004061/2.652, allocations: 1.684 MB / 1.44 GB, free: 5.281 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.001003/2.653, allocations: 93.7 kB / 1.441 GB, free: 5.184 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001194/2.654, allocations: 1.134 MB / 1.442 GB, free: 4.039 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.002473/2.656, allocations: 1.319 MB / 1.443 GB, free: 2.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002836/2.659, allocations: 0.5468 MB / 1.443 GB, free: 2.176 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001472/2.659, allocations: 301.1 kB / 1.444 GB, free: 1.879 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003903/2.663, allocations: 1.568 MB / 1.445 GB, free: 316 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004497/2.668, allocations: 1.918 MB / 1.447 GB, free: 14.32 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009033/2.677, allocations: 3.764 MB / 1.451 GB, free: 10.49 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.213e-05/2.677, allocations: 4 kB / 1.451 GB, free: 10.49 MB / 1.076 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01294/2.69, allocations: 4.183 MB / 1.455 GB, free: 6.309 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.581e-05/2.69, allocations: 4 kB / 1.455 GB, free: 6.305 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/2.69, allocations: 8.656 kB / 1.455 GB, free: 6.297 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.608e-05/2.69, allocations: 16 kB / 1.455 GB, free: 6.281 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004509/2.695, allocations: 0.6979 MB / 1.456 GB, free: 5.625 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001292/2.695, allocations: 24.03 kB / 1.456 GB, free: 5.605 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005768/2.701, allocations: 472.9 kB / 1.456 GB, free: 5.141 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001222/2.702, allocations: 120 kB / 1.456 GB, free: 5.023 MB / 1.076 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.004028/2.706, allocations: 0.793 MB / 1.457 GB, free: 4.262 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001722/2.708, allocations: 296.5 kB / 1.457 GB, free: 3.969 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01096/2.719, allocations: 4.44 MB / 1.462 GB, free: 15.49 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.994e-05/2.719, allocations: 40 kB / 1.462 GB, free: 15.45 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.125e-05/2.719, allocations: 0 / 1.462 GB, free: 15.45 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007808/2.727, allocations: 3.795 MB / 1.465 GB, free: 11.59 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02157/2.748, allocations: 8.635 MB / 1.474 GB, free: 2.914 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.169e-05/2.748, allocations: 0 / 1.474 GB, free: 2.914 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004207/2.753, allocations: 0.7265 MB / 1.474 GB, free: 2.223 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.809e-05/2.753, allocations: 12 kB / 1.474 GB, free: 2.211 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008032/2.754, allocations: 87.92 kB / 1.475 GB, free: 2.125 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-05/2.754, allocations: 23.17 kB / 1.475 GB, free: 2.105 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/2.754, allocations: 4 kB / 1.475 GB, free: 2.102 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01635/2.77, allocations: 6.561 MB / 1.481 GB, free: 11.45 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003041/2.773, allocations: 0.8011 MB / 1.482 GB, free: 10.62 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001302/2.775, allocations: 75.94 kB / 1.482 GB, free: 10.55 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004025/2.779, allocations: 259.5 kB / 1.482 GB, free: 10.3 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007851/2.779, allocations: 234.2 kB / 1.482 GB, free: 10.07 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005375/2.78, allocations: 116 kB / 1.482 GB, free: 9.957 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002766/2.783, allocations: 1.157 MB / 1.484 GB, free: 8.777 MB / 1.107 GB Notification: Performance of sort global known variables: time 2.7e-07/2.783, allocations: 0 / 1.484 GB, free: 8.777 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.004982/2.788, allocations: 1.224 MB / 1.485 GB, free: 7.551 MB / 1.107 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.01389/2.802, allocations: 7.491 MB / 1.492 GB, free: 20 kB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.008301/2.81, allocations: 3.929 MB / 1.496 GB, free: 12.13 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/2.81, allocations: 0 / 1.496 GB, free: 12.13 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.004379/2.814, allocations: 2.147 MB / 1.498 GB, free: 10.06 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01122/2.826, allocations: 1.528 MB / 1.5 GB, free: 8.551 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06605/2.892, allocations: 30.2 MB / 1.529 GB, free: 8.848 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003115/2.895, allocations: 2.201 MB / 1.531 GB, free: 6.609 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.006155/2.901, allocations: 1.216 MB / 1.532 GB, free: 5.387 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003406/2.905, allocations: 1.386 MB / 1.534 GB, free: 4 MB / 1.154 GB Notification: Performance of SimCode: time 1.964e-06/2.905, allocations: 0 / 1.534 GB, free: 4 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1875/3.092, allocations: 81.89 MB / 1.614 GB, free: 3.066 MB / 1.232 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/3.092, allocations: 247.4 kB / 1.614 GB, free: 2.809 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.965/8.057, allocations: 0 / 1.614 GB, free: 2.809 MB / 1.232 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=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)