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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0009941/0.000994, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.117/2.117, allocations: 390.3 MB / 0.6647 GB, free: 320 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 63.91 kB / 0.8127 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5553/0.5565, allocations: 140.4 MB / 0.9497 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.2671/0.8236, allocations: 295.1 MB / 1.238 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4942/1.318, allocations: 17 MB / 1.255 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002555/1.32, allocations: 84.47 kB / 1.255 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003671/1.324, allocations: 1.893 MB / 1.256 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01247/1.337, allocations: 6.429 MB / 1.263 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005882/1.343, allocations: 2.927 MB / 1.266 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008373/1.351, allocations: 7.703 MB / 1.273 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003098/1.354, allocations: 2.593 MB / 1.276 GB, free: 17.75 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00424/1.358, allocations: 2.764 MB / 1.278 GB, free: 17.75 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003579/1.362, allocations: 2.694 MB / 1.281 GB, free: 17.75 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003976/1.362, allocations: 324.8 kB / 1.281 GB, free: 17.75 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009328/1.372, allocations: 6.169 MB / 1.287 GB, free: 17.68 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001044/1.373, allocations: 1.332 MB / 1.289 GB, free: 17.68 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001859/1.375, allocations: 1.885 MB / 1.29 GB, free: 17.68 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007677/1.382, allocations: 6.838 MB / 1.297 GB, free: 16.95 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/1.382, allocations: 0.625 kB / 1.297 GB, free: 16.95 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.202e-06/1.382, allocations: 0 / 1.297 GB, free: 16.95 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.999e-05/1.382, allocations: 1.156 kB / 1.297 GB, free: 16.95 MB / 1.014 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.007955/1.39, allocations: 4.125 MB / 1.301 GB, free: 15.29 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/1.39, allocations: 11.91 kB / 1.301 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003693/1.391, allocations: 378.3 kB / 1.302 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005181/1.396, allocations: 0.9178 MB / 1.302 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002324/1.398, allocations: 1.831 MB / 1.304 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/1.398, allocations: 197.6 kB / 1.304 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003013/1.399, allocations: 257.1 kB / 1.305 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004082/1.403, allocations: 3.339 MB / 1.308 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.269e-05/1.403, allocations: 13.42 kB / 1.308 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002278/1.403, allocations: 104.3 kB / 1.308 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/1.403, allocations: 138.5 kB / 1.308 GB, free: 14.24 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004557/1.408, allocations: 3.505 MB / 1.312 GB, free: 14.2 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.01137/1.419, allocations: 12.22 MB / 1.324 GB, free: 8.242 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003578/1.423, allocations: 3.505 MB / 1.327 GB, free: 7.664 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002143/1.425, allocations: 1.824 MB / 1.329 GB, free: 7.621 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001283/1.426, allocations: 1.491 MB / 1.33 GB, free: 6.016 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/1.426, allocations: 63.66 kB / 1.33 GB, free: 5.973 MB / 1.014 GB Notification: Performance of pre-optimization done (n=278): time 3.737e-06/1.426, allocations: 0 / 1.33 GB, free: 5.973 MB / 1.014 GB Notification: Performance of matching and sorting (n=278): time 0.005107/1.431, allocations: 3.885 MB / 1.334 GB, free: 5.719 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/1.431, allocations: 79.31 kB / 1.334 GB, free: 5.652 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/1.433, allocations: 1.381 MB / 1.335 GB, free: 5.484 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001386/1.433, allocations: 73.58 kB / 1.336 GB, free: 5.453 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005158/1.433, allocations: 0.9871 MB / 1.336 GB, free: 5.066 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006443/1.434, allocations: 0.9428 MB / 1.337 GB, free: 4.445 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005244/1.435, allocations: 405.9 kB / 1.338 GB, free: 4.422 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.51e-05/1.435, allocations: 308.2 kB / 1.338 GB, free: 4.125 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/1.436, allocations: 1.095 MB / 1.339 GB, free: 4.117 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/1.438, allocations: 1.359 MB / 1.34 GB, free: 3.93 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003128/1.441, allocations: 2.651 MB / 1.343 GB, free: 3.691 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/1.441, allocations: 2.562 kB / 1.343 GB, free: 3.691 MB / 1.014 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.003729/1.444, allocations: 2.971 MB / 1.346 GB, free: 3.453 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/1.444, allocations: 16.75 kB / 1.346 GB, free: 3.449 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/1.444, allocations: 5.344 kB / 1.346 GB, free: 3.449 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/1.445, allocations: 15.19 kB / 1.346 GB, free: 3.449 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/1.446, allocations: 0.5061 MB / 1.347 GB, free: 3.449 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/1.446, allocations: 14.5 kB / 1.347 GB, free: 3.449 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/1.448, allocations: 193.7 kB / 1.347 GB, free: 3.348 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/1.448, allocations: 85.36 kB / 1.347 GB, free: 3.344 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.0008409/1.449, allocations: 0.638 MB / 1.347 GB, free: 3.23 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003328/1.45, allocations: 235.2 kB / 1.348 GB, free: 3.113 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004044/1.454, allocations: 3.113 MB / 1.351 GB, free: 2.879 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/1.454, allocations: 31.53 kB / 1.351 GB, free: 2.875 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/1.454, allocations: 0 / 1.351 GB, free: 2.875 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003114/1.457, allocations: 2.657 MB / 1.353 GB, free: 2.348 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007561/1.464, allocations: 6.225 MB / 1.359 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/1.464, allocations: 0 / 1.359 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002289/1.467, allocations: 0.5429 MB / 1.36 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/1.467, allocations: 8 kB / 1.36 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001424/1.467, allocations: 59.98 kB / 1.36 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.327e-06/1.467, allocations: 12 kB / 1.36 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/1.467, allocations: 0 / 1.36 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005797/1.473, allocations: 4.569 MB / 1.364 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009614/1.474, allocations: 0.6148 MB / 1.365 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000291/1.474, allocations: 48 kB / 1.365 GB, free: 9.129 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/1.475, allocations: 69.59 kB / 1.365 GB, free: 9.062 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002859/1.476, allocations: 169 kB / 1.365 GB, free: 8.898 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/1.476, allocations: 79.97 kB / 1.365 GB, free: 8.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001081/1.477, allocations: 0.9462 MB / 1.366 GB, free: 7.879 MB / 1.029 GB Notification: Performance of sort global known variables: time 2e-07/1.477, allocations: 0 / 1.366 GB, free: 7.879 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001794/1.479, allocations: 0.9862 MB / 1.367 GB, free: 6.891 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.00638/1.485, allocations: 5.39 MB / 1.373 GB, free: 1.457 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01021/1.495, allocations: 5.528 MB / 1.378 GB, free: 11.96 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.495, allocations: 384 / 1.378 GB, free: 11.96 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00184/1.497, allocations: 1.517 MB / 1.379 GB, free: 10.49 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004991/1.502, allocations: 1.349 MB / 1.381 GB, free: 9.176 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02441/1.527, allocations: 21.31 MB / 1.402 GB, free: 2.699 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/1.528, allocations: 1.895 MB / 1.403 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002589/1.53, allocations: 0.8436 MB / 1.404 GB, free: 15.92 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/1.532, allocations: 1.085 MB / 1.405 GB, free: 14.84 MB / 1.076 GB Notification: Performance of SimCode: time 5.71e-07/1.532, allocations: 0 / 1.405 GB, free: 14.84 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0928/1.625, allocations: 67.7 MB / 1.471 GB, free: 11.98 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.186/9.811, allocations: 3.094 kB / 1.471 GB, free: 11.98 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)