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.526/1.526, allocations: 252 MB / 267 MB, free: 10.98 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.0009466/0.0009467, allocations: 184.6 kB / 326.6 MB, free: 2.23 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.968/1.968, allocations: 205.4 MB / 0.5777 GB, free: 20.49 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.0009199/0.0009198, allocations: 85.77 kB / 0.6822 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003306, allocations: 9.094 kB / 0.7964 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2473, allocations: 106.4 MB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.8395/1.087, allocations: 287.6 MB / 1.181 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03093/1.118, allocations: 17.31 MB / 1.198 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005452/1.123, allocations: 66.19 kB / 1.198 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.006406/1.13, allocations: 1.408 MB / 1.2 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01964/1.15, allocations: 5.313 MB / 1.205 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.008643/1.158, allocations: 2.333 MB / 1.207 GB, free: 6.535 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01523/1.173, allocations: 11.19 MB / 1.218 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005804/1.179, allocations: 2.418 MB / 1.22 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007721/1.187, allocations: 2.931 MB / 1.223 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006687/1.194, allocations: 3.185 MB / 1.226 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.00165/1.195, allocations: 196 kB / 1.226 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01412/1.21, allocations: 3.488 MB / 1.23 GB, free: 1.141 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.004263/1.214, allocations: 1.496 MB / 1.231 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.003458/1.217, allocations: 0.8083 MB / 1.232 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.01209/1.23, allocations: 5.468 MB / 1.237 GB, free: 9.344 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 9.908e-06/1.23, allocations: 4 kB / 1.237 GB, free: 9.34 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.085e-06/1.23, allocations: 3.938 kB / 1.237 GB, free: 9.336 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0003072/1.23, allocations: 0 / 1.237 GB, free: 9.336 MB / 0.7605 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.01512/1.245, allocations: 4.378 MB / 1.242 GB, free: 4.891 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/1.245, allocations: 12.03 kB / 1.242 GB, free: 4.879 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001649/1.247, allocations: 463.8 kB / 1.242 GB, free: 4.414 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00741/1.254, allocations: 1.01 MB / 1.243 GB, free: 3.398 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006483/1.261, allocations: 2.082 MB / 1.245 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000354/1.261, allocations: 246.5 kB / 1.245 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001512/1.263, allocations: 339.8 kB / 1.246 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/1.274, allocations: 4.244 MB / 1.25 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001547/1.274, allocations: 3.906 kB / 1.25 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000874/1.275, allocations: 139.9 kB / 1.25 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000232/1.275, allocations: 174.5 kB / 1.25 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01055/1.286, allocations: 4.764 MB / 1.255 GB, free: 7.277 MB / 0.7761 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.02693/1.313, allocations: 14.42 MB / 1.269 GB, free: 7.883 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007449/1.321, allocations: 4.518 MB / 1.273 GB, free: 3.359 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004637/1.325, allocations: 2.428 MB / 1.276 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002025/1.327, allocations: 1.62 MB / 1.277 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.651e-05/1.327, allocations: 81.59 kB / 1.277 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=392): time 6.523e-06/1.327, allocations: 0 / 1.277 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=392): time 0.01153/1.339, allocations: 5.477 MB / 1.283 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/1.339, allocations: 94.48 kB / 1.283 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00321/1.342, allocations: 1.678 MB / 1.284 GB, free: 7.566 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0004972/1.343, allocations: 97.64 kB / 1.285 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/1.344, allocations: 1.128 MB / 1.286 GB, free: 6.324 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001663/1.345, allocations: 1.324 MB / 1.287 GB, free: 4.98 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003285/1.346, allocations: 64 kB / 1.287 GB, free: 4.918 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003305/1.346, allocations: 449 kB / 1.287 GB, free: 4.473 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003035/1.349, allocations: 1.541 MB / 1.289 GB, free: 2.93 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003254/1.352, allocations: 1.915 MB / 1.291 GB, free: 0.9336 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003399/1.356, allocations: 1.823 MB / 1.293 GB, free: 15.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/1.356, allocations: 0 / 1.293 GB, free: 15.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008226/1.364, allocations: 4.134 MB / 1.297 GB, free: 10.94 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/1.364, allocations: 4 kB / 1.297 GB, free: 10.94 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/1.364, allocations: 11.95 kB / 1.297 GB, free: 10.93 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.481e-05/1.364, allocations: 20 kB / 1.297 GB, free: 10.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003333/1.368, allocations: 0.6905 MB / 1.297 GB, free: 10.21 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.705e-05/1.368, allocations: 23.92 kB / 1.297 GB, free: 10.19 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003935/1.372, allocations: 429.2 kB / 1.298 GB, free: 9.773 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005087/1.372, allocations: 116 kB / 1.298 GB, free: 9.66 MB / 0.823 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.002415/1.375, allocations: 0.8132 MB / 1.299 GB, free: 8.836 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001241/1.376, allocations: 292.5 kB / 1.299 GB, free: 8.547 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008946/1.385, allocations: 4.394 MB / 1.303 GB, free: 4.113 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.414e-05/1.385, allocations: 39.95 kB / 1.303 GB, free: 4.074 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.612e-05/1.385, allocations: 0 / 1.303 GB, free: 4.074 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006092/1.391, allocations: 3.749 MB / 1.307 GB, free: 264 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0172/1.408, allocations: 8.598 MB / 1.315 GB, free: 7.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/1.408, allocations: 4.312 kB / 1.315 GB, free: 7.496 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00361/1.412, allocations: 0.7334 MB / 1.316 GB, free: 6.762 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.57e-05/1.412, allocations: 19.98 kB / 1.316 GB, free: 6.742 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004166/1.413, allocations: 83.98 kB / 1.316 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.059e-05/1.413, allocations: 19.95 kB / 1.316 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/1.413, allocations: 7.938 kB / 1.316 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01212/1.425, allocations: 6.757 MB / 1.323 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002628/1.427, allocations: 0.8129 MB / 1.324 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009321/1.428, allocations: 79.92 kB / 1.324 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003506/1.432, allocations: 288.5 kB / 1.324 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004914/1.432, allocations: 230.7 kB / 1.324 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003645/1.433, allocations: 124 kB / 1.324 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002578/1.435, allocations: 1.145 MB / 1.325 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.71e-07/1.435, allocations: 0 / 1.325 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004336/1.44, allocations: 1.24 MB / 1.327 GB, free: 11.83 MB / 0.8542 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.0131/1.453, allocations: 7.691 MB / 1.334 GB, free: 4.043 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007044/1.46, allocations: 3.889 MB / 1.338 GB, free: 144 kB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.425e-06/1.46, allocations: 176 / 1.338 GB, free: 144 kB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0037/1.464, allocations: 2.134 MB / 1.34 GB, free: 14.01 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009543/1.473, allocations: 1.544 MB / 1.341 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04812/1.521, allocations: 23.03 MB / 1.364 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002743/1.524, allocations: 2.217 MB / 1.366 GB, free: 2.012 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.006007/1.53, allocations: 1.204 MB / 1.367 GB, free: 0.8008 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003236/1.533, allocations: 1.37 MB / 1.369 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of SimCode: time 3.416e-06/1.534, allocations: 0 / 1.369 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5692/2.103, allocations: 85.3 MB / 1.452 GB, free: 326.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/2.103, allocations: 237.2 kB / 1.452 GB, free: 326.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.511/7.614, allocations: 0 / 1.452 GB, free: 326.6 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)