Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.781/1.781, allocations: 288.2 MB / 303.2 MB, free: 8.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 181.1 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 205.4 MB / 0.6305 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 90.97 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003854, allocations: 11.09 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2253, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.7913/1.017, allocations: 254.1 MB / 1.228 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.02665/1.043, allocations: 18.43 MB / 1.246 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003938/1.047, allocations: 63.56 kB / 1.246 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.006325/1.054, allocations: 1.875 MB / 1.248 GB, free: 5.742 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.01979/1.073, allocations: 5.336 MB / 1.253 GB, free: 404 kB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.007743/1.081, allocations: 2.482 MB / 1.255 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.009924/1.091, allocations: 5.156 MB / 1.26 GB, free: 8.77 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003743/1.095, allocations: 2.401 MB / 1.263 GB, free: 6.344 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006154/1.101, allocations: 2.8 MB / 1.265 GB, free: 3.535 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004098/1.105, allocations: 2.083 MB / 1.267 GB, free: 1.445 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0007742/1.106, allocations: 200 kB / 1.267 GB, free: 1.25 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009258/1.115, allocations: 2.757 MB / 1.27 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.002136/1.117, allocations: 1.336 MB / 1.271 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.001827/1.119, allocations: 0.7966 MB / 1.272 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.00738/1.127, allocations: 4.871 MB / 1.277 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/1.127, allocations: 3.938 kB / 1.277 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.763e-06/1.127, allocations: 0 / 1.277 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001083/1.127, allocations: 0 / 1.277 GB, free: 7.457 MB / 0.8073 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.01113/1.138, allocations: 4.211 MB / 1.281 GB, free: 3.18 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/1.138, allocations: 8.031 kB / 1.281 GB, free: 3.172 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008252/1.139, allocations: 463.5 kB / 1.282 GB, free: 2.707 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006355/1.145, allocations: 1.022 MB / 1.283 GB, free: 1.68 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004435/1.15, allocations: 2.062 MB / 1.285 GB, free: 15.57 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000164/1.15, allocations: 250.4 kB / 1.285 GB, free: 15.32 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004633/1.15, allocations: 327.9 kB / 1.285 GB, free: 15 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006718/1.157, allocations: 4.181 MB / 1.289 GB, free: 10.73 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.363e-05/1.157, allocations: 4 kB / 1.289 GB, free: 10.73 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003155/1.157, allocations: 136 kB / 1.289 GB, free: 10.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000173/1.158, allocations: 170.3 kB / 1.29 GB, free: 10.43 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007499/1.165, allocations: 4.752 MB / 1.294 GB, free: 5.668 MB / 0.823 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.02064/1.186, allocations: 14.36 MB / 1.308 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006116/1.192, allocations: 4.551 MB / 1.313 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001734/1.194, allocations: 1.529 MB / 1.314 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.053e-05/1.194, allocations: 73.72 kB / 1.314 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=392): time 5.33e-06/1.194, allocations: 0 / 1.314 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=392): time 0.009427/1.203, allocations: 5.504 MB / 1.32 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/1.203, allocations: 90.48 kB / 1.32 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002421/1.206, allocations: 1.647 MB / 1.321 GB, free: 8.523 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002658/1.206, allocations: 97.7 kB / 1.321 GB, free: 8.422 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008324/1.207, allocations: 1.128 MB / 1.322 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001244/1.208, allocations: 1.317 MB / 1.324 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/1.208, allocations: 76 kB / 1.324 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002253/1.209, allocations: 437.1 kB / 1.324 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002458/1.211, allocations: 1.549 MB / 1.326 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002814/1.214, allocations: 1.911 MB / 1.328 GB, free: 1.895 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002947/1.217, allocations: 1.831 MB / 1.329 GB, free: 56 kB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/1.217, allocations: 4 kB / 1.329 GB, free: 52 kB / 0.8542 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006928/1.224, allocations: 4.134 MB / 1.333 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/1.224, allocations: 9.406 kB / 1.333 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/1.224, allocations: 4 kB / 1.333 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.43e-05/1.224, allocations: 23.95 kB / 1.333 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002995/1.227, allocations: 0.6949 MB / 1.334 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.98e-05/1.227, allocations: 24 kB / 1.334 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00379/1.231, allocations: 427.3 kB / 1.335 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002657/1.231, allocations: 120 kB / 1.335 GB, free: 10.6 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001924/1.233, allocations: 0.7976 MB / 1.335 GB, free: 9.793 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007858/1.234, allocations: 284.6 kB / 1.336 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007745/1.241, allocations: 4.401 MB / 1.34 GB, free: 5.074 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-05/1.242, allocations: 43.94 kB / 1.34 GB, free: 5.031 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/1.242, allocations: 0 / 1.34 GB, free: 5.031 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005415/1.247, allocations: 3.76 MB / 1.344 GB, free: 1.203 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/1.262, allocations: 8.578 MB / 1.352 GB, free: 8.457 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/1.262, allocations: 8.031 kB / 1.352 GB, free: 8.449 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003448/1.266, allocations: 0.7218 MB / 1.353 GB, free: 7.727 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.351e-05/1.266, allocations: 16 kB / 1.353 GB, free: 7.711 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002471/1.266, allocations: 87.97 kB / 1.353 GB, free: 7.625 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.048e-05/1.266, allocations: 19.94 kB / 1.353 GB, free: 7.605 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.266, allocations: 7.953 kB / 1.353 GB, free: 7.598 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0105/1.276, allocations: 6.941 MB / 1.36 GB, free: 484 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002572/1.279, allocations: 0.7934 MB / 1.361 GB, free: 15.65 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005512/1.28, allocations: 72 kB / 1.361 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002609/1.282, allocations: 265.3 kB / 1.361 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003868/1.283, allocations: 242.7 kB / 1.361 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002306/1.283, allocations: 112 kB / 1.361 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001779/1.285, allocations: 1.133 MB / 1.362 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.5e-07/1.285, allocations: 0 / 1.362 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003367/1.288, allocations: 1.228 MB / 1.363 GB, free: 12.59 MB / 0.9011 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01137/1.299, allocations: 8.495 MB / 1.372 GB, free: 3.961 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.006228/1.306, allocations: 3.909 MB / 1.376 GB, free: 40 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 8.786e-06/1.306, allocations: 0 / 1.376 GB, free: 40 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003114/1.309, allocations: 2.138 MB / 1.378 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007137/1.316, allocations: 1.483 MB / 1.379 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02011/1.336, allocations: 13.98 MB / 1.393 GB, free: 14.22 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001992/1.338, allocations: 2.263 MB / 1.395 GB, free: 11.92 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.005005/1.343, allocations: 1.196 MB / 1.396 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002437/1.346, allocations: 1.366 MB / 1.398 GB, free: 9.348 MB / 0.9323 GB Notification: Performance of SimCode: time 2.515e-06/1.346, allocations: 4 kB / 1.398 GB, free: 9.344 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5848/1.93, allocations: 83.32 MB / 1.479 GB, free: 346.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/1.931, allocations: 236.4 kB / 1.479 GB, free: 346.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.506/6.437, allocations: 2.672 kB / 1.479 GB, free: 346.5 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)