Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_latest_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.001246/0.001247, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.494/1.494, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.995/2.995, allocations: 461.9 MB / 0.7347 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 65.14 kB / 0.8992 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4338/0.4353, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.136/1.571, allocations: 314.2 MB / 1.36 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03684/1.608, allocations: 18.45 MB / 1.378 GB, free: 388 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008871/1.617, allocations: 88.44 kB / 1.378 GB, free: 388 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00918/1.626, allocations: 2.155 MB / 1.38 GB, free: 332 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.03196/1.658, allocations: 7.314 MB / 1.387 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01512/1.673, allocations: 3.204 MB / 1.39 GB, free: 13.89 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01936/1.693, allocations: 9.103 MB / 1.399 GB, free: 9.574 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008149/1.701, allocations: 3.117 MB / 1.402 GB, free: 7.688 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0121/1.713, allocations: 3.295 MB / 1.405 GB, free: 6.09 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01173/1.725, allocations: 3.236 MB / 1.408 GB, free: 4.445 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00308/1.728, allocations: 403.7 kB / 1.409 GB, free: 4.445 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02667/1.755, allocations: 6.996 MB / 1.416 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004814/1.76, allocations: 1.689 MB / 1.417 GB, free: 388 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.008885/1.769, allocations: 2.299 MB / 1.42 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.02721/1.796, allocations: 8.138 MB / 1.428 GB, free: 7.645 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.083e-05/1.796, allocations: 0 / 1.428 GB, free: 7.645 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.074e-06/1.796, allocations: 0 / 1.428 GB, free: 7.645 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002874/1.796, allocations: 0 / 1.428 GB, free: 7.645 MB / 1.029 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.01876/1.815, allocations: 4.993 MB / 1.432 GB, free: 2.582 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.618e-05/1.815, allocations: 12.56 kB / 1.432 GB, free: 2.57 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00179/1.817, allocations: 463.5 kB / 1.433 GB, free: 2.105 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008453/1.825, allocations: 1.006 MB / 1.434 GB, free: 1.094 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006728/1.832, allocations: 2.17 MB / 1.436 GB, free: 14.86 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003028/1.832, allocations: 242.4 kB / 1.436 GB, free: 14.62 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001406/1.834, allocations: 323.9 kB / 1.437 GB, free: 14.31 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01154/1.845, allocations: 4.239 MB / 1.441 GB, free: 9.984 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000152/1.846, allocations: 7.906 kB / 1.441 GB, free: 9.977 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009619/1.847, allocations: 136 kB / 1.441 GB, free: 9.844 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000249/1.847, allocations: 170.3 kB / 1.441 GB, free: 9.676 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01095/1.858, allocations: 4.776 MB / 1.446 GB, free: 4.891 MB / 1.045 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.03069/1.889, allocations: 14.53 MB / 1.46 GB, free: 5.387 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009424/1.898, allocations: 4.543 MB / 1.464 GB, free: 0.8477 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005749/1.904, allocations: 2.448 MB / 1.467 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002331/1.906, allocations: 1.612 MB / 1.468 GB, free: 12.45 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001149/1.906, allocations: 77.58 kB / 1.468 GB, free: 12.36 MB / 1.076 GB Notification: Performance of pre-optimization done (n=392): time 9.238e-06/1.906, allocations: 0 / 1.468 GB, free: 12.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=392): time 0.0128/1.919, allocations: 5.543 MB / 1.474 GB, free: 6.789 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/1.919, allocations: 98.36 kB / 1.474 GB, free: 6.68 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003295/1.923, allocations: 1.679 MB / 1.475 GB, free: 4.961 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0006707/1.923, allocations: 93.7 kB / 1.476 GB, free: 4.863 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001003/1.924, allocations: 1.132 MB / 1.477 GB, free: 3.719 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001775/1.926, allocations: 1.32 MB / 1.478 GB, free: 2.379 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001778/1.928, allocations: 0.5507 MB / 1.478 GB, free: 1.82 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001057/1.928, allocations: 309.1 kB / 1.479 GB, free: 1.516 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002944/1.931, allocations: 1.564 MB / 1.48 GB, free: 15.95 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003344/1.934, allocations: 1.912 MB / 1.482 GB, free: 13.96 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006597/1.941, allocations: 3.766 MB / 1.486 GB, free: 10.11 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.262e-05/1.941, allocations: 4 kB / 1.486 GB, free: 10.11 MB / 1.092 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009652/1.951, allocations: 4.178 MB / 1.49 GB, free: 5.906 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.007e-05/1.951, allocations: 11.94 kB / 1.49 GB, free: 5.895 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.421e-05/1.951, allocations: 4 kB / 1.49 GB, free: 5.891 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.156e-05/1.951, allocations: 20 kB / 1.49 GB, free: 5.871 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003383/1.954, allocations: 0.6905 MB / 1.491 GB, free: 5.18 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.229e-05/1.954, allocations: 23.88 kB / 1.491 GB, free: 5.156 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003403/1.958, allocations: 265.3 kB / 1.491 GB, free: 4.895 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000495/1.958, allocations: 116 kB / 1.491 GB, free: 4.781 MB / 1.092 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.00222/1.96, allocations: 0.8015 MB / 1.492 GB, free: 3.969 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001289/1.962, allocations: 288.5 kB / 1.492 GB, free: 3.684 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009466/1.971, allocations: 4.437 MB / 1.496 GB, free: 15.21 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.85e-05/1.971, allocations: 36 kB / 1.496 GB, free: 15.18 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.693e-05/1.971, allocations: 0 / 1.496 GB, free: 15.18 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006868/1.978, allocations: 3.807 MB / 1.5 GB, free: 11.3 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02089/1.999, allocations: 8.633 MB / 1.509 GB, free: 2.512 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-05/1.999, allocations: 0 / 1.509 GB, free: 2.512 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003834/2.003, allocations: 0.7217 MB / 1.509 GB, free: 1.789 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.463e-05/2.003, allocations: 24.19 kB / 1.509 GB, free: 1.766 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006517/2.004, allocations: 83.97 kB / 1.509 GB, free: 1.684 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.062e-05/2.004, allocations: 16 kB / 1.509 GB, free: 1.668 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/2.004, allocations: 7.938 kB / 1.509 GB, free: 1.66 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01513/2.019, allocations: 6.562 MB / 1.516 GB, free: 11 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003989/2.023, allocations: 0.7972 MB / 1.517 GB, free: 10.18 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001501/2.025, allocations: 72 kB / 1.517 GB, free: 10.11 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003518/2.028, allocations: 93.97 kB / 1.517 GB, free: 10.02 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008567/2.029, allocations: 230.7 kB / 1.517 GB, free: 9.793 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006096/2.03, allocations: 120 kB / 1.517 GB, free: 9.676 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.003299/2.033, allocations: 1.149 MB / 1.518 GB, free: 8.504 MB / 1.123 GB Notification: Performance of sort global known variables: time 5.91e-07/2.033, allocations: 0 / 1.518 GB, free: 8.504 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.007044/2.04, allocations: 1.232 MB / 1.519 GB, free: 7.27 MB / 1.123 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.01794/2.058, allocations: 7.486 MB / 1.527 GB, free: 15.7 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.02436/2.083, allocations: 9.838 MB / 1.536 GB, free: 5.844 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/2.083, allocations: 3.938 kB / 1.536 GB, free: 5.84 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.004877/2.088, allocations: 2.148 MB / 1.538 GB, free: 3.691 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01078/2.098, allocations: 1.605 MB / 1.54 GB, free: 2.121 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06277/2.161, allocations: 28.82 MB / 1.568 GB, free: 3.707 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003383/2.165, allocations: 2.209 MB / 1.57 GB, free: 1.461 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.006005/2.171, allocations: 1.212 MB / 1.571 GB, free: 248 kB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003213/2.174, allocations: 1.386 MB / 1.573 GB, free: 14.86 MB / 1.186 GB Notification: Performance of SimCode: time 1.522e-06/2.174, allocations: 0 / 1.573 GB, free: 14.86 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1634/2.337, allocations: 84.8 MB / 1.656 GB, free: 10.85 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/12.7, allocations: 10.03 kB / 1.656 GB, free: 10.84 MB / 1.264 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)