Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.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.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") [/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.1728/0.1747, allocations: 80.83 MB / 0.5897 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.005335/0.1801, allocations: 4.089 MB / 0.5937 GB, free: 3.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002846/0.183, allocations: 1.684 MB / 0.5953 GB, free: 1.328 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004322/0.1834, allocations: 27.88 kB / 0.5953 GB, free: 1.301 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003273/0.1838, allocations: 99.09 kB / 0.5954 GB, free: 1.203 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004914/0.1843, allocations: 174.8 kB / 0.5956 GB, free: 1.031 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008744/0.1852, allocations: 498.2 kB / 0.5961 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008542/0.186, allocations: 0.9724 MB / 0.597 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005558/0.1866, allocations: 434.4 kB / 0.5974 GB, free: 15.12 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003216/0.1869, allocations: 298.4 kB / 0.5977 GB, free: 14.83 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003076/0.1873, allocations: 346 kB / 0.5981 GB, free: 14.49 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.444e-05/0.1874, allocations: 40 kB / 0.5981 GB, free: 14.45 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.1875, allocations: 91.95 kB / 0.5982 GB, free: 14.36 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.1877, allocations: 143.2 kB / 0.5983 GB, free: 14.22 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002892/0.188, allocations: 373.5 kB / 0.5987 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008325/0.1888, allocations: 1.09 MB / 0.5997 GB, free: 12.76 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1888, allocations: 0 / 0.5997 GB, free: 12.76 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.1888, allocations: 0 / 0.5997 GB, free: 12.76 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.1888, allocations: 4 kB / 0.5997 GB, free: 12.76 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002097/0.1909, allocations: 1.288 MB / 0.601 GB, free: 11.41 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.191, allocations: 8.031 kB / 0.601 GB, free: 11.4 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008814/0.1919, allocations: 199.5 kB / 0.6012 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008054/0.1927, allocations: 0.6558 MB / 0.6018 GB, free: 10.51 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.1927, allocations: 41.69 kB / 0.6019 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.435e-05/0.1928, allocations: 60.12 kB / 0.6019 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.1944, allocations: 0.7786 MB / 0.6027 GB, free: 9.598 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.1944, allocations: 7.938 kB / 0.6027 GB, free: 9.59 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.255e-05/0.1945, allocations: 20 kB / 0.6027 GB, free: 9.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.1945, allocations: 12 kB / 0.6027 GB, free: 9.559 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/0.1964, allocations: 0.7155 MB / 0.6034 GB, free: 8.84 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0033/0.1997, allocations: 2.374 MB / 0.6058 GB, free: 6.387 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002135/0.2019, allocations: 0.8144 MB / 0.6065 GB, free: 5.566 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008753/0.2028, allocations: 345.4 kB / 0.6069 GB, free: 5.227 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005969/0.2034, allocations: 441.8 kB / 0.6073 GB, free: 4.703 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001138/0.2045, allocations: 429.1 kB / 0.6077 GB, free: 4.273 MB / 462.1 MB Notification: Performance of pre-optimization done (n=47): time 2.675e-06/0.2045, allocations: 0 / 0.6077 GB, free: 4.273 MB / 462.1 MB Notification: Performance of matching and sorting (n=47): time 0.002897/0.2075, allocations: 1.037 MB / 0.6087 GB, free: 3.23 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.2075, allocations: 133.2 kB / 0.6088 GB, free: 3.07 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007746/0.2083, allocations: 0.6766 MB / 0.6095 GB, free: 2.379 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.235e-05/0.2084, allocations: 41.58 kB / 0.6095 GB, free: 2.332 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.2087, allocations: 372.9 kB / 0.6099 GB, free: 1.965 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.2088, allocations: 153.8 kB / 0.61 GB, free: 1.812 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.209, allocations: 98.14 kB / 0.6101 GB, free: 1.711 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2091, allocations: 330 kB / 0.6105 GB, free: 1.383 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009112/0.21, allocations: 318.9 kB / 0.6108 GB, free: 1.066 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009418/0.211, allocations: 422.3 kB / 0.6112 GB, free: 0.625 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.2127, allocations: 0.7009 MB / 0.6118 GB, free: 15.89 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2127, allocations: 0 / 0.6118 GB, free: 15.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002163/0.2149, allocations: 0.877 MB / 0.6127 GB, free: 14.99 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/0.2149, allocations: 59.41 kB / 0.6128 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.215, allocations: 0 / 0.6128 GB, free: 14.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.215, allocations: 7.938 kB / 0.6128 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007174/0.2157, allocations: 148 kB / 0.6129 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.2157, allocations: 4 kB / 0.6129 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006452/0.2164, allocations: 111.3 kB / 0.613 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.662e-05/0.2164, allocations: 20 kB / 0.613 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009886/0.2174, allocations: 441.1 kB / 0.6135 GB, free: 14.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008115/0.2183, allocations: 378.4 kB / 0.6138 GB, free: 13.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001442/0.2197, allocations: 0.6385 MB / 0.6144 GB, free: 13.13 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.154e-06/0.2197, allocations: 0 / 0.6144 GB, free: 13.13 MB / 478.1 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.001878/0.2216, allocations: 0.8028 MB / 0.6152 GB, free: 12.31 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.056e-05/0.2217, allocations: 63.39 kB / 0.6153 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2217, allocations: 4 kB / 0.6153 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.324e-06/0.2217, allocations: 4 kB / 0.6153 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006371/0.2223, allocations: 119.8 kB / 0.6154 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.2224, allocations: 11.88 kB / 0.6154 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005864/0.223, allocations: 91.67 kB / 0.6155 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.223, allocations: 23.98 kB / 0.6155 GB, free: 11.98 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (m_flow.count,$PRE.m_flow.count,m_flow.T_start,$PRE.m_flow.T_start,TRoo.count,$PRE.TRoo.count,TRoo.T_start,$PRE.TRoo.T_start,$whenCondition1,$whenCondition2,conMix.conFloRat.I.local_reset,conMix.conCoo.I.local_reset,conMix.conHea.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 2 * 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.0003351/0.2233, allocations: 209.8 kB / 0.6157 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.2235, allocations: 79.06 kB / 0.6158 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/0.2255, allocations: 0.7774 MB / 0.6166 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.2255, allocations: 11.92 kB / 0.6166 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.2255, allocations: 0 / 0.6166 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.2255, allocations: 3.984 kB / 0.6166 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009104/0.2265, allocations: 0.7753 MB / 0.6173 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2265, allocations: 0 / 0.6173 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006831/0.2272, allocations: 127.8 kB / 0.6175 GB, free: 9.941 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.2272, allocations: 0 / 0.6175 GB, free: 9.941 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.096e-05/0.2272, allocations: 8 kB / 0.6175 GB, free: 9.934 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/0.2272, allocations: 11.86 kB / 0.6175 GB, free: 9.922 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2273, allocations: 4 kB / 0.6175 GB, free: 9.918 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002843/0.2301, allocations: 1.171 MB / 0.6186 GB, free: 8.727 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002742/0.2304, allocations: 224 kB / 0.6188 GB, free: 8.488 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.285e-05/0.2305, allocations: 15.94 kB / 0.6189 GB, free: 8.473 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005346/0.231, allocations: 75.83 kB / 0.6189 GB, free: 8.398 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.2312, allocations: 44.38 kB / 0.619 GB, free: 8.355 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.65e-05/0.2312, allocations: 16 kB / 0.619 GB, free: 8.34 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005554/0.2318, allocations: 483 kB / 0.6194 GB, free: 7.875 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2318, allocations: 0 / 0.6194 GB, free: 7.875 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006655/0.2324, allocations: 255.3 kB / 0.6197 GB, free: 7.625 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMix.conHea.I.y,conMix.conCoo.I.y,conMix.conFloRat.I.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (TRoo.count,m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002072/0.2327, allocations: 127.2 kB / 0.6198 GB, free: 7.492 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002855/0.2355, allocations: 1.259 MB / 0.621 GB, free: 6.188 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2355, allocations: 3.938 kB / 0.621 GB, free: 6.184 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008915/0.2364, allocations: 362.2 kB / 0.6214 GB, free: 5.824 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000826/0.2373, allocations: 175.7 kB / 0.6216 GB, free: 5.648 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/0.2399, allocations: 1.57 MB / 0.6231 GB, free: 4.051 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.2403, allocations: 0.9262 MB / 0.624 GB, free: 3.098 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004714/0.2408, allocations: 97.05 kB / 0.6241 GB, free: 3.004 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.241, allocations: 47.42 kB / 0.6241 GB, free: 2.957 MB / 478.1 MB Notification: Performance of SimCode: time 5.61e-07/0.241, allocations: 0 / 0.6241 GB, free: 2.957 MB / 478.1 MB Notification: Performance of Templates: time 0.01572/0.2567, allocations: 9.084 MB / 0.633 GB, free: 9.992 MB / 494.1 MB make -j1 -f Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (rm -f Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)