Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") translateModel(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1552/0.1563, allocations: 82.22 MB / 0.5935 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.5939/0.7503, allocations: 286.8 MB / 0.8735 GB, free: 3.645 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02323/0.7735, allocations: 15.96 MB / 0.8891 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005215/0.7788, allocations: 75.5 kB / 0.8892 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00575/0.7846, allocations: 1.413 MB / 0.8906 GB, free: 2.152 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01535/0.8, allocations: 5.303 MB / 0.8958 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007769/0.8077, allocations: 2.379 MB / 0.8981 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0163/0.8241, allocations: 11.48 MB / 0.9093 GB, free: 14.95 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004819/0.8289, allocations: 2.468 MB / 0.9117 GB, free: 12.45 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008645/0.8376, allocations: 3.114 MB / 0.9147 GB, free: 9.32 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007349/0.845, allocations: 3.251 MB / 0.9179 GB, free: 6.059 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001058/0.8461, allocations: 200 kB / 0.9181 GB, free: 5.863 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.012/0.8581, allocations: 3.285 MB / 0.9213 GB, free: 2.57 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00355/0.8617, allocations: 1.441 MB / 0.9227 GB, free: 1.125 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003536/0.8653, allocations: 0.8006 MB / 0.9235 GB, free: 324 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01189/0.8772, allocations: 5.354 MB / 0.9287 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.8772, allocations: 0 / 0.9287 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.637e-06/0.8773, allocations: 0 / 0.9287 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002299/0.8775, allocations: 0 / 0.9287 GB, free: 10.95 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 830 * Number of variables: 830 Notification: Performance of Generate backend data structure: time 0.01369/0.8912, allocations: 4.315 MB / 0.9329 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.8913, allocations: 8.031 kB / 0.933 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006712/0.898, allocations: 0.9516 MB / 0.9339 GB, free: 5.602 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00451/0.9025, allocations: 1.978 MB / 0.9358 GB, free: 3.57 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001937/0.9027, allocations: 246.3 kB / 0.9361 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005671/0.9033, allocations: 319.9 kB / 0.9364 GB, free: 3.016 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007398/0.9107, allocations: 4.208 MB / 0.9405 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.879e-05/0.9108, allocations: 11.84 kB / 0.9405 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003405/0.9112, allocations: 136 kB / 0.9406 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001632/0.9113, allocations: 162.3 kB / 0.9408 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007833/0.9192, allocations: 4.612 MB / 0.9453 GB, free: 9.805 MB / 0.7012 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.02247/0.9417, allocations: 14.33 MB / 0.9593 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007006/0.9487, allocations: 4.075 MB / 0.9632 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003947/0.9527, allocations: 2.383 MB / 0.9656 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001502/0.9542, allocations: 1.347 MB / 0.9669 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.806e-05/0.9543, allocations: 77.5 kB / 0.967 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=373): time 5.4e-06/0.9544, allocations: 0 / 0.967 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=373): time 0.4055/1.36, allocations: 5.309 MB / 0.9721 GB, free: 278 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/1.36, allocations: 118 kB / 0.9723 GB, free: 277.9 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/1.362, allocations: 1.516 MB / 0.9737 GB, free: 277.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002907/1.362, allocations: 92.52 kB / 0.9738 GB, free: 277.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007001/1.363, allocations: 1.092 MB / 0.9749 GB, free: 277.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000963/1.364, allocations: 1.26 MB / 0.9761 GB, free: 276.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/1.364, allocations: 64.06 kB / 0.9762 GB, free: 276.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.364, allocations: 439.2 kB / 0.9766 GB, free: 276.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002397/1.367, allocations: 1.501 MB / 0.9781 GB, free: 276.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00301/1.37, allocations: 1.867 MB / 0.9799 GB, free: 276 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002683/1.373, allocations: 1.777 MB / 0.9816 GB, free: 275.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/1.373, allocations: 0.75 kB / 0.9816 GB, free: 275.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=412) (initialization): time 0.007497/1.38, allocations: 4.021 MB / 0.9856 GB, free: 273.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/1.38, allocations: 6.562 kB / 0.9856 GB, free: 273.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/1.38, allocations: 5.516 kB / 0.9856 GB, free: 273.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.259e-05/1.38, allocations: 19.03 kB / 0.9856 GB, free: 273.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003314/1.384, allocations: 0.6691 MB / 0.9862 GB, free: 273.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.045e-05/1.384, allocations: 22.86 kB / 0.9863 GB, free: 273.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00337/1.387, allocations: 427.1 kB / 0.9867 GB, free: 273.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002632/1.387, allocations: 110.1 kB / 0.9868 GB, free: 273.5 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (412): * Single equations (assignments): 412 * 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.0018/1.389, allocations: 0.7686 MB / 0.9875 GB, free: 273 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007188/1.39, allocations: 281.5 kB / 0.9878 GB, free: 272.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008699/1.399, allocations: 4.402 MB / 0.9921 GB, free: 271 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.261e-05/1.399, allocations: 36.31 kB / 0.9921 GB, free: 271 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/1.399, allocations: 4.938 kB / 0.9921 GB, free: 271 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005655/1.404, allocations: 3.744 MB / 0.9958 GB, free: 269.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01428/1.419, allocations: 8.511 MB / 1.004 GB, free: 265.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/1.419, allocations: 3.969 kB / 1.004 GB, free: 265.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003333/1.422, allocations: 0.7351 MB / 1.005 GB, free: 265.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-05/1.422, allocations: 20.39 kB / 1.005 GB, free: 265.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003053/1.422, allocations: 75.55 kB / 1.005 GB, free: 265.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.138e-05/1.422, allocations: 18.19 kB / 1.005 GB, free: 265.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.422, allocations: 3.906 kB / 1.005 GB, free: 265.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009463/1.432, allocations: 6.733 MB / 1.012 GB, free: 261.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001822/1.434, allocations: 0.8012 MB / 1.012 GB, free: 261 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006897/1.434, allocations: 75.84 kB / 1.012 GB, free: 261 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003137/1.438, allocations: 276.8 kB / 1.013 GB, free: 260.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004014/1.438, allocations: 241.9 kB / 1.013 GB, free: 260.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002896/1.438, allocations: 120 kB / 1.013 GB, free: 260.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001734/1.44, allocations: 1.022 MB / 1.014 GB, free: 259.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/1.44, allocations: 0 / 1.014 GB, free: 259.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003917/1.444, allocations: 1.232 MB / 1.015 GB, free: 258.1 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (393): * Single equations (assignments): 393 * 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.001114/1.445, allocations: 466.7 kB / 1.016 GB, free: 257.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005886/1.451, allocations: 3.834 MB / 1.019 GB, free: 253.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.451, allocations: 4.562 kB / 1.019 GB, free: 253.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002707/1.454, allocations: 2.137 MB / 1.021 GB, free: 251.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007587/1.461, allocations: 1.564 MB / 1.023 GB, free: 250.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/1.475, allocations: 9.179 MB / 1.032 GB, free: 241.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001808/1.477, allocations: 2.167 MB / 1.034 GB, free: 239.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.005418/1.483, allocations: 1.133 MB / 1.035 GB, free: 238 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/1.484, allocations: 271.4 kB / 1.035 GB, free: 237.8 MB / 0.7169 GB Notification: Performance of SimCode: time 1.122e-06/1.484, allocations: 3.938 kB / 1.035 GB, free: 237.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.08367/1.568, allocations: 59.23 MB / 1.093 GB, free: 179.2 MB / 0.7169 GB make -j1 -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.sim & ./Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1) Environment - environmentSimulation: