Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.001175/0.001175, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001154/0.001154, allocations: 194.5 kB / 16.14 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.169/1.169, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.01/2.01, allocations: 390.2 MB / 0.6643 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4886/0.4897, allocations: 140.4 MB / 0.949 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.2452/0.735, allocations: 293 MB / 1.235 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.441/1.176, allocations: 17.21 MB / 1.252 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002467/1.179, allocations: 72.12 kB / 1.252 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003619/1.182, allocations: 1.655 MB / 1.254 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01126/1.193, allocations: 6.073 MB / 1.26 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00537/1.199, allocations: 2.664 MB / 1.262 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01064/1.21, allocations: 11.19 MB / 1.273 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002824/1.212, allocations: 2.215 MB / 1.275 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004047/1.216, allocations: 2.425 MB / 1.278 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003591/1.22, allocations: 2.807 MB / 1.28 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003276/1.22, allocations: 183.4 kB / 1.281 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01011/1.23, allocations: 7.179 MB / 1.288 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001149/1.232, allocations: 1.207 MB / 1.289 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001964/1.234, allocations: 1.727 MB / 1.29 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009277/1.243, allocations: 7.166 MB / 1.297 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.243, allocations: 5.812 kB / 1.297 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of FrontEnd: time 7.82e-07/1.243, allocations: 0 / 1.297 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.063e-05/1.243, allocations: 0 / 1.297 GB, free: 0.9648 MB / 0.9981 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.008307/1.251, allocations: 4.127 MB / 1.301 GB, free: 15.29 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/1.251, allocations: 6.875 kB / 1.301 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003656/1.252, allocations: 368 kB / 1.302 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005599/1.257, allocations: 0.9142 MB / 1.303 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00253/1.26, allocations: 1.841 MB / 1.304 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/1.26, allocations: 192.1 kB / 1.305 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003897/1.26, allocations: 264.4 kB / 1.305 GB, free: 14.53 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00445/1.265, allocations: 3.334 MB / 1.308 GB, free: 14.24 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.058e-05/1.265, allocations: 13.5 kB / 1.308 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002171/1.265, allocations: 108.9 kB / 1.308 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/1.265, allocations: 139 kB / 1.308 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004491/1.27, allocations: 3.5 MB / 1.312 GB, free: 14.18 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.01236/1.282, allocations: 12.08 MB / 1.324 GB, free: 8.168 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003676/1.286, allocations: 3.505 MB / 1.327 GB, free: 7.574 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002139/1.288, allocations: 1.821 MB / 1.329 GB, free: 7.523 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001332/1.289, allocations: 1.487 MB / 1.33 GB, free: 5.918 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/1.289, allocations: 68.95 kB / 1.33 GB, free: 5.875 MB / 1.014 GB Notification: Performance of pre-optimization done (n=278): time 3.837e-06/1.289, allocations: 3 kB / 1.33 GB, free: 5.875 MB / 1.014 GB Notification: Performance of matching and sorting (n=278): time 0.005362/1.295, allocations: 3.884 MB / 1.334 GB, free: 5.445 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/1.295, allocations: 85.36 kB / 1.334 GB, free: 5.375 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/1.296, allocations: 1.378 MB / 1.336 GB, free: 4.996 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001611/1.297, allocations: 73.3 kB / 1.336 GB, free: 4.965 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005289/1.297, allocations: 0.9835 MB / 1.337 GB, free: 4.473 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007003/1.298, allocations: 0.9481 MB / 1.338 GB, free: 3.773 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005276/1.298, allocations: 406.1 kB / 1.338 GB, free: 3.711 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.514e-05/1.298, allocations: 305.1 kB / 1.338 GB, free: 3.41 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/1.3, allocations: 1.099 MB / 1.339 GB, free: 3.25 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001575/1.301, allocations: 1.357 MB / 1.341 GB, free: 2.879 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003114/1.305, allocations: 2.651 MB / 1.343 GB, free: 2.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/1.305, allocations: 0 / 1.343 GB, free: 2.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.003965/1.309, allocations: 2.974 MB / 1.346 GB, free: 1.914 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/1.309, allocations: 11.22 kB / 1.346 GB, free: 1.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.309, allocations: 4.719 kB / 1.346 GB, free: 1.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/1.309, allocations: 14.91 kB / 1.346 GB, free: 1.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/1.311, allocations: 0.5167 MB / 1.347 GB, free: 1.848 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.222e-05/1.311, allocations: 20.98 kB / 1.347 GB, free: 1.844 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002242/1.313, allocations: 375.7 kB / 1.347 GB, free: 1.664 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/1.313, allocations: 81.75 kB / 1.347 GB, free: 1.664 MB / 1.014 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00095/1.314, allocations: 0.6425 MB / 1.348 GB, free: 1.484 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000356/1.314, allocations: 235.8 kB / 1.348 GB, free: 1.363 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004059/1.318, allocations: 3.119 MB / 1.351 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/1.318, allocations: 26 kB / 1.351 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/1.318, allocations: 2.875 kB / 1.351 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003133/1.321, allocations: 2.654 MB / 1.354 GB, free: 224 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008042/1.33, allocations: 6.226 MB / 1.36 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/1.33, allocations: 0 / 1.36 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002298/1.332, allocations: 0.5426 MB / 1.36 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.22e-05/1.332, allocations: 8 kB / 1.36 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/1.332, allocations: 61.17 kB / 1.36 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.781e-05/1.332, allocations: 8 kB / 1.36 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.332, allocations: 0 / 1.36 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005916/1.338, allocations: 4.573 MB / 1.365 GB, free: 8.953 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/1.339, allocations: 0.611 MB / 1.365 GB, free: 8.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002932/1.339, allocations: 48 kB / 1.365 GB, free: 8.273 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001818/1.341, allocations: 233.1 kB / 1.366 GB, free: 8.047 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003042/1.342, allocations: 161.9 kB / 1.366 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/1.342, allocations: 79.98 kB / 1.366 GB, free: 7.809 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001174/1.343, allocations: 0.9423 MB / 1.367 GB, free: 6.871 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/1.343, allocations: 0 / 1.367 GB, free: 6.871 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001829/1.345, allocations: 0.9823 MB / 1.368 GB, free: 5.887 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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 (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.006579/1.351, allocations: 5.391 MB / 1.373 GB, free: 460 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003805/1.355, allocations: 2.768 MB / 1.376 GB, free: 13.69 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.355, allocations: 0 / 1.376 GB, free: 13.69 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00184/1.357, allocations: 1.51 MB / 1.377 GB, free: 12.23 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004769/1.362, allocations: 1.277 MB / 1.378 GB, free: 10.97 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02802/1.39, allocations: 22.42 MB / 1.4 GB, free: 3.395 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/1.391, allocations: 1.895 MB / 1.402 GB, free: 1.465 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002714/1.394, allocations: 0.8475 MB / 1.403 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00145/1.395, allocations: 1.093 MB / 1.404 GB, free: 15.55 MB / 1.076 GB Notification: Performance of SimCode: time 5.21e-07/1.395, allocations: 4 kB / 1.404 GB, free: 15.55 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08116/1.476, allocations: 65.28 MB / 1.468 GB, free: 15.11 MB / 1.139 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/1.477, allocations: 205.6 kB / 1.468 GB, free: 14.86 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.199/4.676, allocations: 0 / 1.468 GB, free: 14.86 MB / 1.139 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)