Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.412/1.412, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 174.6 kB / 327 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 205.4 MB / 0.578 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008779/0.0008781, allocations: 85.98 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003762, allocations: 9 kB / 0.7971 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2117, allocations: 106.3 MB / 0.9009 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7913/1.003, allocations: 308.2 MB / 1.202 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0281/1.031, allocations: 18.46 MB / 1.22 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004857/1.036, allocations: 67.56 kB / 1.22 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.005987/1.042, allocations: 1.882 MB / 1.222 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.02036/1.063, allocations: 6.873 MB / 1.229 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.008906/1.071, allocations: 3.061 MB / 1.232 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01657/1.088, allocations: 13.37 MB / 1.245 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004189/1.092, allocations: 2.619 MB / 1.247 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007009/1.099, allocations: 2.961 MB / 1.25 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006211/1.106, allocations: 3.291 MB / 1.253 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0005657/1.106, allocations: 200 kB / 1.253 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01617/1.122, allocations: 8.112 MB / 1.261 GB, free: 0.8281 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001802/1.124, allocations: 1.492 MB / 1.263 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.003005/1.127, allocations: 2.105 MB / 1.265 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.01559/1.143, allocations: 8.478 MB / 1.273 GB, free: 4.707 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.143, allocations: 4 kB / 1.273 GB, free: 4.703 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.635e-06/1.143, allocations: 0 / 1.273 GB, free: 4.703 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.055e-05/1.143, allocations: 0 / 1.273 GB, free: 4.703 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.01087/1.154, allocations: 4.355 MB / 1.277 GB, free: 288 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/1.154, allocations: 12.03 kB / 1.277 GB, free: 276 kB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006912/1.154, allocations: 463.8 kB / 1.278 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006022/1.161, allocations: 1.006 MB / 1.279 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003561/1.164, allocations: 2.15 MB / 1.281 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/1.164, allocations: 250.4 kB / 1.281 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004463/1.165, allocations: 331.9 kB / 1.281 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006557/1.171, allocations: 4.264 MB / 1.286 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.029e-05/1.171, allocations: 19.83 kB / 1.286 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003015/1.172, allocations: 136 kB / 1.286 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001685/1.172, allocations: 166.5 kB / 1.286 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007582/1.179, allocations: 4.791 MB / 1.291 GB, free: 2.555 MB / 0.8073 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.01999/1.199, allocations: 14.43 MB / 1.305 GB, free: 3.152 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00598/1.205, allocations: 4.539 MB / 1.309 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003531/1.209, allocations: 2.44 MB / 1.312 GB, free: 12.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00184/1.211, allocations: 1.631 MB / 1.313 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.102e-05/1.211, allocations: 77.64 kB / 1.313 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=392): time 6.012e-06/1.211, allocations: 0 / 1.313 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=392): time 0.009304/1.22, allocations: 5.512 MB / 1.319 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/1.22, allocations: 90.48 kB / 1.319 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/1.223, allocations: 1.692 MB / 1.32 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002404/1.223, allocations: 97.7 kB / 1.32 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007722/1.224, allocations: 1.128 MB / 1.322 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001076/1.225, allocations: 1.324 MB / 1.323 GB, free: 160 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/1.225, allocations: 68 kB / 1.323 GB, free: 92 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002344/1.225, allocations: 437.1 kB / 1.323 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002451/1.228, allocations: 1.553 MB / 1.325 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002743/1.23, allocations: 1.938 MB / 1.327 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005643/1.236, allocations: 3.75 MB / 1.33 GB, free: 8.242 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/1.236, allocations: 0 / 1.33 GB, free: 8.242 MB / 0.8542 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006656/1.243, allocations: 4.158 MB / 1.334 GB, free: 4.059 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/1.243, allocations: 10.72 kB / 1.334 GB, free: 4.051 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/1.243, allocations: 8 kB / 1.334 GB, free: 4.043 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.514e-05/1.243, allocations: 20 kB / 1.334 GB, free: 4.023 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002893/1.246, allocations: 0.6982 MB / 1.335 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.319e-05/1.246, allocations: 19.94 kB / 1.335 GB, free: 3.305 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003345/1.249, allocations: 436.8 kB / 1.336 GB, free: 2.879 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002442/1.249, allocations: 120 kB / 1.336 GB, free: 2.762 MB / 0.8542 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.001669/1.251, allocations: 0.8093 MB / 1.336 GB, free: 1.941 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006292/1.252, allocations: 300.5 kB / 1.337 GB, free: 1.645 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007103/1.259, allocations: 4.398 MB / 1.341 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-05/1.259, allocations: 36 kB / 1.341 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/1.259, allocations: 4 kB / 1.341 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005467/1.264, allocations: 3.776 MB / 1.345 GB, free: 9.324 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0137/1.278, allocations: 8.621 MB / 1.353 GB, free: 0.543 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/1.278, allocations: 3.984 kB / 1.353 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003296/1.282, allocations: 0.7377 MB / 1.354 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.801e-05/1.282, allocations: 16 kB / 1.354 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002374/1.282, allocations: 83.92 kB / 1.354 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.067e-05/1.282, allocations: 19.98 kB / 1.354 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/1.282, allocations: 4 kB / 1.354 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009827/1.292, allocations: 6.796 MB / 1.361 GB, free: 8.789 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002021/1.294, allocations: 0.8089 MB / 1.361 GB, free: 7.957 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004913/1.294, allocations: 71.94 kB / 1.362 GB, free: 7.887 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002636/1.297, allocations: 287.6 kB / 1.362 GB, free: 7.609 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004639/1.297, allocations: 230.6 kB / 1.362 GB, free: 7.383 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002301/1.298, allocations: 116 kB / 1.362 GB, free: 7.27 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001662/1.299, allocations: 1.165 MB / 1.363 GB, free: 6.082 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.1e-07/1.299, allocations: 4 kB / 1.363 GB, free: 6.078 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002692/1.302, allocations: 1.24 MB / 1.365 GB, free: 4.836 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.U,volBotEas.dynBal.m,volBotEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.U,volBotWes.dynBal.m,volBotWes.dynBal.mXi[1],oriEasTop.mExc,volTopEas.dynBal.U,volTopEas.dynBal.m,volTopEas.dynBal.mXi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,volTopWes.dynBal.mXi[1],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.01103/1.313, allocations: 7.719 MB / 1.372 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.006322/1.319, allocations: 3.909 MB / 1.376 GB, free: 9.102 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/1.319, allocations: 4 kB / 1.376 GB, free: 9.098 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00295/1.322, allocations: 2.144 MB / 1.378 GB, free: 6.953 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008055/1.33, allocations: 1.532 MB / 1.379 GB, free: 5.434 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4693/1.8, allocations: 30.27 MB / 1.409 GB, free: 353.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003534/1.803, allocations: 2.215 MB / 1.411 GB, free: 352.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.007376/1.811, allocations: 1.201 MB / 1.412 GB, free: 352.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003845/1.815, allocations: 1.371 MB / 1.414 GB, free: 352.8 MB / 0.9167 GB Notification: Performance of SimCode: time 1.062e-06/1.815, allocations: 0.5625 kB / 1.414 GB, free: 352.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1308/1.945, allocations: 81.78 MB / 1.494 GB, free: 291.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001381/1.946, allocations: 266.7 kB / 1.494 GB, free: 291.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.331/7.276, allocations: 0 / 1.494 GB, free: 291.4 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)