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.1667/0.1676, allocations: 82.22 MB / 0.5941 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.004704/0.1724, allocations: 3.669 MB / 0.5977 GB, free: 1.887 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003741/0.1761, allocations: 1.661 MB / 0.5993 GB, free: 224 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.1772, allocations: 27.88 kB / 0.5993 GB, free: 196 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005093/0.1777, allocations: 99.11 kB / 0.5994 GB, free: 96 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.1788, allocations: 166.9 kB / 0.5996 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.1799, allocations: 0.4978 MB / 0.6001 GB, free: 15.44 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001154/0.1811, allocations: 0.9646 MB / 0.601 GB, free: 14.47 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008659/0.182, allocations: 426.4 kB / 0.6014 GB, free: 14.03 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006288/0.1826, allocations: 258.4 kB / 0.6017 GB, free: 13.78 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00049/0.1831, allocations: 298 kB / 0.602 GB, free: 13.48 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.1833, allocations: 24 kB / 0.602 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002235/0.1835, allocations: 75.95 kB / 0.6021 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.1836, allocations: 111.3 kB / 0.6022 GB, free: 13.28 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003319/0.184, allocations: 359.3 kB / 0.6025 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00094/0.1849, allocations: 1.051 MB / 0.6035 GB, free: 11.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1849, allocations: 0 / 0.6035 GB, free: 11.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1849, allocations: 4 kB / 0.6035 GB, free: 11.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.525e-05/0.185, allocations: 0 / 0.6035 GB, free: 11.86 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.002436/0.1874, allocations: 1.156 MB / 0.6047 GB, free: 10.64 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1875, allocations: 12.02 kB / 0.6047 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.1886, allocations: 227.6 kB / 0.6049 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009785/0.1895, allocations: 0.6558 MB / 0.6055 GB, free: 9.711 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.428e-05/0.1896, allocations: 41.69 kB / 0.6056 GB, free: 9.672 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.1897, allocations: 64.03 kB / 0.6056 GB, free: 9.609 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.1916, allocations: 0.8255 MB / 0.6064 GB, free: 8.746 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.1916, allocations: 4 kB / 0.6064 GB, free: 8.742 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.484e-05/0.1917, allocations: 27.94 kB / 0.6065 GB, free: 8.715 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.1917, allocations: 12 kB / 0.6065 GB, free: 8.703 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.1939, allocations: 0.8131 MB / 0.6073 GB, free: 7.887 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003636/0.1976, allocations: 2.413 MB / 0.6096 GB, free: 5.395 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002467/0.2001, allocations: 0.9199 MB / 0.6105 GB, free: 4.469 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.2011, allocations: 389.4 kB / 0.6109 GB, free: 4.086 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005909/0.2017, allocations: 445.8 kB / 0.6113 GB, free: 3.559 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00123/0.203, allocations: 477.1 kB / 0.6118 GB, free: 3.082 MB / 462.1 MB Notification: Performance of pre-optimization done (n=47): time 3.156e-06/0.203, allocations: 0 / 0.6118 GB, free: 3.082 MB / 462.1 MB Notification: Performance of matching and sorting (n=47): time 0.003273/0.2063, allocations: 1.177 MB / 0.6129 GB, free: 1.898 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.618e-05/0.2064, allocations: 137.2 kB / 0.6131 GB, free: 1.734 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.2074, allocations: 0.6804 MB / 0.6137 GB, free: 1.039 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.748e-05/0.2075, allocations: 37.64 kB / 0.6138 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/0.2078, allocations: 372.9 kB / 0.6141 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.208, allocations: 153.8 kB / 0.6143 GB, free: 488 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.703e-05/0.2081, allocations: 45.7 kB / 0.6143 GB, free: 436 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2082, allocations: 326 kB / 0.6146 GB, free: 104 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.2093, allocations: 372.9 kB / 0.615 GB, free: 15.74 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.2104, allocations: 458.3 kB / 0.6154 GB, free: 15.26 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002041/0.2124, allocations: 0.8142 MB / 0.6162 GB, free: 14.41 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.2124, allocations: 0 / 0.6162 GB, free: 14.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002423/0.2149, allocations: 0.9784 MB / 0.6172 GB, free: 13.41 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.215, allocations: 195.4 kB / 0.6174 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.215, allocations: 0 / 0.6174 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.2151, allocations: 4 kB / 0.6174 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007513/0.2158, allocations: 171.8 kB / 0.6175 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.2158, allocations: 4 kB / 0.6175 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007431/0.2166, allocations: 139.4 kB / 0.6177 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.964e-05/0.2167, allocations: 16 kB / 0.6177 GB, free: 12.86 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.236e-06/0.2167, allocations: 4 kB / 0.6177 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001922/0.2186, allocations: 0.7982 MB / 0.6185 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.2186, allocations: 0 / 0.6185 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.161e-06/0.2186, allocations: 4 kB / 0.6185 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006407/0.2193, allocations: 148 kB / 0.6186 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2193, allocations: 4 kB / 0.6186 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006766/0.22, allocations: 127.3 kB / 0.6187 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.362e-05/0.22, allocations: 19.98 kB / 0.6187 GB, free: 11.75 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.0004337/0.2205, allocations: 301.5 kB / 0.619 GB, free: 11.44 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.2206, allocations: 75.06 kB / 0.6191 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/0.2229, allocations: 0.8828 MB / 0.62 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.2229, allocations: 4 kB / 0.62 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.223, allocations: 7.938 kB / 0.62 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.223, allocations: 3.984 kB / 0.62 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000885/0.2239, allocations: 0.7636 MB / 0.6207 GB, free: 9.645 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.2239, allocations: 0 / 0.6207 GB, free: 9.645 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007549/0.2246, allocations: 151.8 kB / 0.6209 GB, free: 9.496 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.2247, allocations: 3.938 kB / 0.6209 GB, free: 9.492 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.55e-05/0.2247, allocations: 11.98 kB / 0.6209 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.2247, allocations: 4 kB / 0.6209 GB, free: 9.477 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2247, allocations: 3.938 kB / 0.6209 GB, free: 9.473 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00329/0.228, allocations: 1.323 MB / 0.6222 GB, free: 8.129 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003046/0.2283, allocations: 224 kB / 0.6224 GB, free: 7.891 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.2285, allocations: 12 kB / 0.6224 GB, free: 7.879 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006512/0.2291, allocations: 99.89 kB / 0.6225 GB, free: 7.781 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.2293, allocations: 52.31 kB / 0.6226 GB, free: 7.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/0.2293, allocations: 12 kB / 0.6226 GB, free: 7.719 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006297/0.2299, allocations: 483 kB / 0.623 GB, free: 7.254 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2299, allocations: 0 / 0.623 GB, free: 7.254 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007428/0.2307, allocations: 251.3 kB / 0.6233 GB, free: 7.008 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.0002278/0.2309, allocations: 135.1 kB / 0.6234 GB, free: 6.867 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003261/0.2342, allocations: 1.4 MB / 0.6248 GB, free: 5.418 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2342, allocations: 4 kB / 0.6248 GB, free: 5.414 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.2353, allocations: 414.2 kB / 0.6252 GB, free: 5.008 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009307/0.2362, allocations: 180 kB / 0.6253 GB, free: 4.832 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/0.2392, allocations: 1.615 MB / 0.6269 GB, free: 3.191 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/0.2397, allocations: 0.9262 MB / 0.6278 GB, free: 2.238 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004924/0.2402, allocations: 92.98 kB / 0.6279 GB, free: 2.148 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.2404, allocations: 51.36 kB / 0.628 GB, free: 2.098 MB / 478.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2404, allocations: 0 / 0.628 GB, free: 2.098 MB / 478.1 MB Notification: Performance of Templates: time 0.01537/0.2558, allocations: 8.998 MB / 0.6367 GB, free: 9.211 MB / 494.1 MB make -j1 -f Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: