Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.733/1.733, allocations: 288.4 MB / 303.3 MB, free: 8.105 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.00105/0.00105, allocations: 184.5 kB / 372 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.429/1.429, allocations: 205.4 MB / 0.6307 GB, free: 10.03 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.00082/0.0008201, allocations: 90.33 kB / 0.744 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005128/0.0005129, allocations: 18.83 kB / 0.867 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2518, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.8473/1.099, allocations: 269.5 MB / 1.243 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.02594/1.125, allocations: 15.81 MB / 1.258 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004206/1.129, allocations: 63.62 kB / 1.258 GB, free: 13.23 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.004462/1.134, allocations: 1.235 MB / 1.26 GB, free: 11.99 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.01544/1.149, allocations: 4.631 MB / 1.264 GB, free: 7.34 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.007545/1.157, allocations: 2.06 MB / 1.266 GB, free: 5.285 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01338/1.17, allocations: 9.307 MB / 1.275 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003745/1.174, allocations: 1.897 MB / 1.277 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006046/1.18, allocations: 2.393 MB / 1.279 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006141/1.186, allocations: 2.616 MB / 1.282 GB, free: 5.008 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001547/1.188, allocations: 156 kB / 1.282 GB, free: 4.855 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01097/1.199, allocations: 3.055 MB / 1.285 GB, free: 1.793 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.002392/1.201, allocations: 1.153 MB / 1.286 GB, free: 0.6367 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.002075/1.204, allocations: 0.6643 MB / 1.287 GB, free: 15.96 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.009362/1.213, allocations: 4.52 MB / 1.291 GB, free: 11.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/1.213, allocations: 4 kB / 1.291 GB, free: 11.43 MB / 0.823 GB Notification: Performance of FrontEnd: time 4.739e-06/1.213, allocations: 4 kB / 1.291 GB, free: 11.43 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001949/1.213, allocations: 3.938 kB / 1.291 GB, free: 11.42 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01129/1.225, allocations: 3.579 MB / 1.295 GB, free: 7.777 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/1.225, allocations: 16.02 kB / 1.295 GB, free: 7.762 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001237/1.226, allocations: 367 kB / 1.295 GB, free: 7.395 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006639/1.232, allocations: 0.9094 MB / 1.296 GB, free: 6.48 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004513/1.237, allocations: 1.765 MB / 1.298 GB, free: 4.66 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/1.237, allocations: 189.1 kB / 1.298 GB, free: 4.473 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005582/1.238, allocations: 263.9 kB / 1.298 GB, free: 4.215 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00614/1.244, allocations: 3.311 MB / 1.301 GB, free: 0.8008 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-05/1.244, allocations: 11.84 kB / 1.301 GB, free: 0.7891 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002668/1.244, allocations: 104 kB / 1.301 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001494/1.244, allocations: 137 kB / 1.302 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006296/1.251, allocations: 3.474 MB / 1.305 GB, free: 13.06 MB / 0.8386 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.03002/1.281, allocations: 12.08 MB / 1.317 GB, free: 84 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008497/1.289, allocations: 3.503 MB / 1.32 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005489/1.295, allocations: 1.806 MB / 1.322 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002516/1.298, allocations: 1.497 MB / 1.323 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/1.298, allocations: 65.22 kB / 1.324 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=278): time 1.244e-05/1.298, allocations: 0 / 1.324 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of matching and sorting (n=278): time 0.01343/1.311, allocations: 3.861 MB / 1.327 GB, free: 4.887 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.555e-05/1.311, allocations: 81.59 kB / 1.327 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003379/1.315, allocations: 1.347 MB / 1.329 GB, free: 3.438 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005273/1.315, allocations: 73.7 kB / 1.329 GB, free: 3.359 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001261/1.317, allocations: 0.9763 MB / 1.33 GB, free: 2.371 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001926/1.318, allocations: 0.9431 MB / 1.331 GB, free: 1.414 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/1.319, allocations: 52 kB / 1.331 GB, free: 1.363 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003399/1.319, allocations: 406.9 kB / 1.331 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003423/1.322, allocations: 1.078 MB / 1.332 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00348/1.326, allocations: 1.373 MB / 1.333 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003775/1.33, allocations: 1.274 MB / 1.335 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.457e-05/1.33, allocations: 4 kB / 1.335 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.008609/1.338, allocations: 2.942 MB / 1.338 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/1.339, allocations: 8 kB / 1.338 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/1.339, allocations: 4.562 kB / 1.338 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.809e-05/1.339, allocations: 23.95 kB / 1.338 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004103/1.343, allocations: 0.5071 MB / 1.338 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.305e-05/1.343, allocations: 19.94 kB / 1.338 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00556/1.348, allocations: 336.3 kB / 1.338 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000424/1.349, allocations: 83.98 kB / 1.339 GB, free: 9.172 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * 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.002427/1.351, allocations: 0.6503 MB / 1.339 GB, free: 8.512 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00109/1.352, allocations: 225.3 kB / 1.339 GB, free: 8.289 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008406/1.361, allocations: 3.085 MB / 1.342 GB, free: 5.148 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.572e-05/1.361, allocations: 31.94 kB / 1.342 GB, free: 5.117 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.688e-05/1.361, allocations: 3.953 kB / 1.342 GB, free: 5.113 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00644/1.367, allocations: 2.634 MB / 1.345 GB, free: 2.406 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/1.383, allocations: 6.19 MB / 1.351 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/1.383, allocations: 0 / 1.351 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002692/1.385, allocations: 0.5501 MB / 1.352 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.89e-05/1.385, allocations: 8 kB / 1.352 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001622/1.385, allocations: 55.98 kB / 1.352 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-05/1.386, allocations: 15.98 kB / 1.352 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/1.386, allocations: 3.938 kB / 1.352 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007605/1.393, allocations: 4.772 MB / 1.356 GB, free: 6.621 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00184/1.395, allocations: 0.6071 MB / 1.357 GB, free: 5.992 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003484/1.395, allocations: 52 kB / 1.357 GB, free: 5.941 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002151/1.398, allocations: 225.4 kB / 1.357 GB, free: 5.723 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002939/1.398, allocations: 166 kB / 1.357 GB, free: 5.559 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/1.398, allocations: 83.97 kB / 1.357 GB, free: 5.477 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001447/1.399, allocations: 0.9181 MB / 1.358 GB, free: 4.562 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/1.399, allocations: 0 / 1.358 GB, free: 4.562 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002787/1.402, allocations: 0.9823 MB / 1.359 GB, free: 3.578 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * 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 (278): * Single equations (assignments): 278 * 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.008041/1.41, allocations: 5.594 MB / 1.365 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004285/1.415, allocations: 2.751 MB / 1.367 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.415, allocations: 0 / 1.367 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00206/1.417, allocations: 1.501 MB / 1.369 GB, free: 9.605 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006761/1.424, allocations: 1.295 MB / 1.37 GB, free: 8.316 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02794/1.451, allocations: 17.33 MB / 1.387 GB, free: 5.992 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001562/1.453, allocations: 1.894 MB / 1.389 GB, free: 4.059 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003471/1.457, allocations: 0.8356 MB / 1.39 GB, free: 3.219 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001559/1.458, allocations: 1.081 MB / 1.391 GB, free: 2.137 MB / 0.9167 GB Notification: Performance of SimCode: time 9.62e-07/1.458, allocations: 0 / 1.391 GB, free: 2.137 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5821/2.04, allocations: 67.68 MB / 1.457 GB, free: 336.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/2.04, allocations: 219.6 kB / 1.457 GB, free: 336.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.444/6.484, allocations: 4 kB / 1.457 GB, free: 336.3 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)