Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_10_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.0008644/0.0008644, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004905/0.004905, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.197/1.197, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.28/2.28, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002816/0.0002816, allocations: 8 kB / 0.8729 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5206/0.5209, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6829/1.204, allocations: 288.9 MB / 1.305 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01701/1.221, allocations: 17.04 MB / 1.322 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002177/1.223, allocations: 69.59 kB / 1.322 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003031/1.226, allocations: 1.654 MB / 1.324 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01111/1.237, allocations: 6.079 MB / 1.33 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005151/1.242, allocations: 2.654 MB / 1.332 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.008539/1.251, allocations: 11.21 MB / 1.343 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002328/1.253, allocations: 2.136 MB / 1.345 GB, free: 16.44 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003408/1.257, allocations: 2.343 MB / 1.347 GB, free: 16.44 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00333/1.26, allocations: 2.714 MB / 1.35 GB, free: 16.42 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002649/1.26, allocations: 156.4 kB / 1.35 GB, free: 16.42 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01018/1.271, allocations: 7.162 MB / 1.357 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00108/1.272, allocations: 1.157 MB / 1.358 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001722/1.273, allocations: 1.702 MB / 1.36 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008449/1.282, allocations: 7.076 MB / 1.367 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/1.282, allocations: 0 / 1.367 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.522e-06/1.282, allocations: 0 / 1.367 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.866e-05/1.282, allocations: 0 / 1.367 GB, free: 9.953 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.007936/1.29, allocations: 3.547 MB / 1.37 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/1.29, allocations: 14.02 kB / 1.37 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004069/1.29, allocations: 363.1 kB / 1.371 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005435/1.296, allocations: 0.9232 MB / 1.372 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002528/1.298, allocations: 1.839 MB / 1.373 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/1.298, allocations: 199.3 kB / 1.374 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003323/1.299, allocations: 256.1 kB / 1.374 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004471/1.303, allocations: 3.339 MB / 1.377 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.135e-05/1.303, allocations: 3.344 kB / 1.377 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002258/1.303, allocations: 107 kB / 1.377 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/1.304, allocations: 137.5 kB / 1.377 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004756/1.308, allocations: 3.501 MB / 1.381 GB, free: 1.711 MB / 0.9981 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.01206/1.32, allocations: 12.11 MB / 1.393 GB, free: 5.762 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004044/1.324, allocations: 3.52 MB / 1.396 GB, free: 2.176 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002417/1.327, allocations: 1.799 MB / 1.398 GB, free: 380 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001276/1.328, allocations: 1.495 MB / 1.399 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/1.328, allocations: 68.75 kB / 1.399 GB, free: 14.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=278): time 4.108e-06/1.328, allocations: 0 / 1.399 GB, free: 14.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=278): time 0.00564/1.334, allocations: 3.88 MB / 1.403 GB, free: 10.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/1.334, allocations: 81.59 kB / 1.403 GB, free: 10.47 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/1.335, allocations: 1.383 MB / 1.405 GB, free: 9.078 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001414/1.336, allocations: 77.7 kB / 1.405 GB, free: 8.996 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005801/1.336, allocations: 0.9871 MB / 1.406 GB, free: 8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006356/1.337, allocations: 0.9448 MB / 1.407 GB, free: 7.062 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/1.337, allocations: 198.6 kB / 1.407 GB, free: 6.863 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 7.254e-05/1.337, allocations: 301.1 kB / 1.407 GB, free: 6.566 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/1.339, allocations: 1.098 MB / 1.408 GB, free: 5.465 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/1.341, allocations: 1.361 MB / 1.409 GB, free: 4.039 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003522/1.344, allocations: 2.647 MB / 1.412 GB, free: 1.316 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.344, allocations: 0 / 1.412 GB, free: 1.316 MB / 1.029 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004095/1.348, allocations: 2.982 MB / 1.415 GB, free: 14.31 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/1.348, allocations: 8.062 kB / 1.415 GB, free: 14.3 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/1.348, allocations: 8 kB / 1.415 GB, free: 14.3 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/1.348, allocations: 18.53 kB / 1.415 GB, free: 14.28 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001978/1.35, allocations: 0.5088 MB / 1.415 GB, free: 13.8 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/1.35, allocations: 15 kB / 1.415 GB, free: 13.79 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002398/1.353, allocations: 377.8 kB / 1.416 GB, free: 13.42 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/1.353, allocations: 87.97 kB / 1.416 GB, free: 13.33 MB / 1.045 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.0009325/1.354, allocations: 0.6414 MB / 1.417 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003114/1.354, allocations: 237.1 kB / 1.417 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004568/1.359, allocations: 3.115 MB / 1.42 GB, free: 9.305 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/1.359, allocations: 28 kB / 1.42 GB, free: 9.277 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/1.359, allocations: 0 / 1.42 GB, free: 9.277 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003464/1.362, allocations: 2.657 MB / 1.422 GB, free: 6.551 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00826/1.37, allocations: 6.22 MB / 1.429 GB, free: 308 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/1.37, allocations: 0 / 1.429 GB, free: 308 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002347/1.373, allocations: 0.5449 MB / 1.429 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.771e-05/1.373, allocations: 12 kB / 1.429 GB, free: 15.77 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001614/1.373, allocations: 55.98 kB / 1.429 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-05/1.373, allocations: 8 kB / 1.429 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/1.373, allocations: 0 / 1.429 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006152/1.379, allocations: 4.577 MB / 1.434 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/1.38, allocations: 0.6071 MB / 1.434 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003488/1.381, allocations: 48 kB / 1.434 GB, free: 10.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002125/1.383, allocations: 232.9 kB / 1.434 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002994/1.383, allocations: 165.9 kB / 1.435 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/1.383, allocations: 79.97 kB / 1.435 GB, free: 9.91 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001248/1.385, allocations: 0.9539 MB / 1.436 GB, free: 8.961 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/1.385, allocations: 3.938 kB / 1.436 GB, free: 8.957 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001989/1.387, allocations: 0.9823 MB / 1.437 GB, free: 7.973 MB / 1.061 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.00674/1.393, allocations: 5.392 MB / 1.442 GB, free: 2.535 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003832/1.397, allocations: 2.765 MB / 1.445 GB, free: 15.78 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.397, allocations: 0 / 1.445 GB, free: 15.78 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001868/1.399, allocations: 1.511 MB / 1.446 GB, free: 14.32 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005455/1.404, allocations: 1.286 MB / 1.447 GB, free: 13.04 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02959/1.434, allocations: 22.68 MB / 1.469 GB, free: 5.105 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001473/1.436, allocations: 1.891 MB / 1.471 GB, free: 3.18 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002724/1.438, allocations: 0.8435 MB / 1.472 GB, free: 2.332 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/1.44, allocations: 1.085 MB / 1.473 GB, free: 1.246 MB / 1.092 GB Notification: Performance of SimCode: time 4.31e-07/1.44, allocations: 4 kB / 1.473 GB, free: 1.242 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.697/7.136, allocations: 64.75 MB / 1.536 GB, free: 1.297 MB / 1.154 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/7.137, allocations: 212.8 kB / 1.537 GB, free: 1.039 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.302/10.44, allocations: 3.938 kB / 1.537 GB, free: 1.035 MB / 1.154 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)