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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001925/0.001925, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002737/0.002737, allocations: 192.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.578/2.578, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.298/4.298, allocations: 390.2 MB / 0.6644 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002719/0.002719, allocations: 67.89 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148/1.151, allocations: 140.3 MB / 0.9492 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 1.522/2.673, allocations: 310.6 MB / 1.253 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04147/2.715, allocations: 18.39 MB / 1.27 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006734/2.721, allocations: 82.84 kB / 1.271 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008359/2.73, allocations: 1.925 MB / 1.272 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.02892/2.759, allocations: 6.886 MB / 1.279 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01278/2.772, allocations: 2.968 MB / 1.282 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02003/2.792, allocations: 9.107 MB / 1.291 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008178/2.8, allocations: 3.04 MB / 1.294 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01284/2.813, allocations: 3.353 MB / 1.297 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01232/2.825, allocations: 3.438 MB / 1.301 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002735/2.828, allocations: 403.8 kB / 1.301 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0241/2.852, allocations: 7.299 MB / 1.308 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.005474/2.858, allocations: 1.69 MB / 1.31 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01022/2.868, allocations: 2.302 MB / 1.312 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02979/2.898, allocations: 8.632 MB / 1.32 GB, free: 15.98 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.148e-05/2.898, allocations: 4.594 kB / 1.32 GB, free: 15.98 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.717e-06/2.898, allocations: 0 / 1.32 GB, free: 15.98 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002488/2.898, allocations: 0.9062 kB / 1.32 GB, free: 15.98 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.02728/2.925, allocations: 4.991 MB / 1.325 GB, free: 14.04 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.451e-05/2.925, allocations: 9.656 kB / 1.325 GB, free: 14.04 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001929/2.927, allocations: 463.8 kB / 1.326 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01349/2.941, allocations: 1.014 MB / 1.327 GB, free: 13.76 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00854/2.949, allocations: 2.164 MB / 1.329 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003008/2.95, allocations: 243.3 kB / 1.329 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001494/2.951, allocations: 324.7 kB / 1.329 GB, free: 13.17 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01367/2.965, allocations: 4.244 MB / 1.333 GB, free: 12.87 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001392/2.965, allocations: 10.5 kB / 1.334 GB, free: 12.87 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006095/2.966, allocations: 136.2 kB / 1.334 GB, free: 12.87 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003155/2.966, allocations: 168 kB / 1.334 GB, free: 12.86 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01556/2.982, allocations: 4.782 MB / 1.338 GB, free: 12.82 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.03568/3.018, allocations: 14.37 MB / 1.352 GB, free: 5.211 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01107/3.029, allocations: 4.569 MB / 1.357 GB, free: 4.574 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006161/3.035, allocations: 2.445 MB / 1.359 GB, free: 4.238 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002643/3.038, allocations: 1.605 MB / 1.361 GB, free: 2.48 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/3.038, allocations: 86.11 kB / 1.361 GB, free: 2.43 MB / 1.014 GB Notification: Performance of pre-optimization done (n=392): time 1.016e-05/3.038, allocations: 0 / 1.361 GB, free: 2.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=392): time 0.01637/3.054, allocations: 5.531 MB / 1.366 GB, free: 0.793 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/3.054, allocations: 95 kB / 1.366 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004194/3.058, allocations: 1.684 MB / 1.368 GB, free: 15.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0007017/3.059, allocations: 97.7 kB / 1.368 GB, free: 15.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.00135/3.061, allocations: 1.126 MB / 1.369 GB, free: 14.4 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.002223/3.063, allocations: 1.324 MB / 1.371 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001644/3.064, allocations: 0.5507 MB / 1.371 GB, free: 12.53 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001505/3.065, allocations: 301.1 kB / 1.371 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004942/3.07, allocations: 1.572 MB / 1.373 GB, free: 10.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005667/3.075, allocations: 1.918 MB / 1.375 GB, free: 8.676 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0113/3.087, allocations: 3.765 MB / 1.379 GB, free: 4.848 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.61e-05/3.087, allocations: 4 kB / 1.379 GB, free: 4.844 MB / 1.029 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01349/3.1, allocations: 4.178 MB / 1.383 GB, free: 0.6641 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.986e-05/3.1, allocations: 4 kB / 1.383 GB, free: 0.6602 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-05/3.1, allocations: 8 kB / 1.383 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.236e-05/3.1, allocations: 20.66 kB / 1.383 GB, free: 0.6328 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005492/3.106, allocations: 0.6982 MB / 1.383 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.506e-05/3.106, allocations: 22.53 kB / 1.383 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006902/3.113, allocations: 472.8 kB / 1.384 GB, free: 15.49 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005927/3.114, allocations: 116 kB / 1.384 GB, free: 15.38 MB / 1.045 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.003256/3.117, allocations: 0.8029 MB / 1.385 GB, free: 14.61 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001691/3.119, allocations: 288.5 kB / 1.385 GB, free: 14.32 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01308/3.132, allocations: 4.431 MB / 1.389 GB, free: 9.855 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.962e-05/3.132, allocations: 36 kB / 1.389 GB, free: 9.82 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.018e-05/3.132, allocations: 4 kB / 1.389 GB, free: 9.816 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009974/3.142, allocations: 3.794 MB / 1.393 GB, free: 5.957 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02622/3.168, allocations: 8.639 MB / 1.401 GB, free: 13.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.211e-05/3.168, allocations: 0 / 1.401 GB, free: 13.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00672/3.175, allocations: 0.7287 MB / 1.402 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.798e-05/3.175, allocations: 19.94 kB / 1.402 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007172/3.176, allocations: 79.98 kB / 1.402 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.572e-05/3.176, allocations: 18.53 kB / 1.402 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/3.176, allocations: 4 kB / 1.402 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01791/3.194, allocations: 6.563 MB / 1.409 GB, free: 5.805 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003266/3.197, allocations: 0.7971 MB / 1.409 GB, free: 4.984 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001163/3.198, allocations: 78.61 kB / 1.41 GB, free: 4.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005197/3.203, allocations: 264 kB / 1.41 GB, free: 4.652 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009036/3.204, allocations: 238.7 kB / 1.41 GB, free: 4.418 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005652/3.205, allocations: 116 kB / 1.41 GB, free: 4.305 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.004107/3.209, allocations: 1.153 MB / 1.411 GB, free: 3.129 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.31e-07/3.209, allocations: 2.438 kB / 1.411 GB, free: 3.129 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00687/3.216, allocations: 1.232 MB / 1.412 GB, free: 1.895 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.02016/3.236, allocations: 7.477 MB / 1.42 GB, free: 10.39 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.04032/3.276, allocations: 9.836 MB / 1.429 GB, free: 0.6289 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/3.277, allocations: 4 kB / 1.429 GB, free: 0.625 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0066/3.283, allocations: 2.15 MB / 1.431 GB, free: 14.55 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01477/3.298, allocations: 1.605 MB / 1.433 GB, free: 12.99 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08973/3.388, allocations: 30.2 MB / 1.463 GB, free: 13.36 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002948/3.391, allocations: 2.204 MB / 1.465 GB, free: 11.12 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.007562/3.398, allocations: 1.216 MB / 1.466 GB, free: 9.898 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003727/3.402, allocations: 1.386 MB / 1.467 GB, free: 8.512 MB / 1.123 GB Notification: Performance of SimCode: time 1.873e-06/3.402, allocations: 3.938 kB / 1.467 GB, free: 8.508 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2196/3.622, allocations: 84.3 MB / 1.55 GB, free: 5.23 MB / 1.201 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002868/3.622, allocations: 246.3 kB / 1.55 GB, free: 4.973 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.493/12.12, allocations: 0 / 1.55 GB, free: 4.973 MB / 1.201 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)