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.1715/0.1722, allocations: 82.21 MB / 0.5935 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.004224/0.1765, allocations: 3.457 MB / 0.5968 GB, free: 11.98 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003039/0.1796, allocations: 1.614 MB / 0.5984 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006951/0.1803, allocations: 23.88 kB / 0.5984 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.1806, allocations: 87.09 kB / 0.5985 GB, free: 10.25 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006276/0.1813, allocations: 142.9 kB / 0.5987 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009676/0.1823, allocations: 373.5 kB / 0.599 GB, free: 9.754 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.1835, allocations: 0.9023 MB / 0.5999 GB, free: 8.848 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005411/0.184, allocations: 293.5 kB / 0.6002 GB, free: 8.551 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004072/0.1844, allocations: 238.6 kB / 0.6004 GB, free: 8.316 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004061/0.1848, allocations: 282.2 kB / 0.6007 GB, free: 8.039 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.633e-05/0.1849, allocations: 24 kB / 0.6007 GB, free: 8.016 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.1851, allocations: 67.95 kB / 0.6008 GB, free: 7.949 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.1852, allocations: 111.3 kB / 0.6009 GB, free: 7.84 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.1854, allocations: 165.2 kB / 0.601 GB, free: 7.672 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007596/0.1862, allocations: 0.8728 MB / 0.6019 GB, free: 6.797 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1862, allocations: 0 / 0.6019 GB, free: 6.797 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1862, allocations: 0 / 0.6019 GB, free: 6.797 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.1862, allocations: 0 / 0.6019 GB, free: 6.797 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.001911/0.1881, allocations: 1.168 MB / 0.603 GB, free: 5.566 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1882, allocations: 15.97 kB / 0.603 GB, free: 5.551 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008298/0.189, allocations: 230.6 kB / 0.6033 GB, free: 5.324 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007765/0.1898, allocations: 0.6279 MB / 0.6039 GB, free: 4.652 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.817e-05/0.1899, allocations: 41.31 kB / 0.6039 GB, free: 4.613 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-05/0.1899, allocations: 59.95 kB / 0.604 GB, free: 4.555 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.1916, allocations: 0.8177 MB / 0.6048 GB, free: 3.699 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.1916, allocations: 3.938 kB / 0.6048 GB, free: 3.695 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-05/0.1917, allocations: 28 kB / 0.6048 GB, free: 3.668 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.1917, allocations: 16 kB / 0.6048 GB, free: 3.652 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.1937, allocations: 0.8092 MB / 0.6056 GB, free: 2.84 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003444/0.1971, allocations: 2.409 MB / 0.6079 GB, free: 360 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002238/0.1994, allocations: 0.9156 MB / 0.6088 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009169/0.2003, allocations: 393.4 kB / 0.6092 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005959/0.2009, allocations: 441.8 kB / 0.6096 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001159/0.2021, allocations: 481.1 kB / 0.6101 GB, free: 14.04 MB / 478.1 MB Notification: Performance of pre-optimization done (n=47): time 2.735e-06/0.2021, allocations: 0 / 0.6101 GB, free: 14.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=47): time 0.003081/0.2052, allocations: 1.166 MB / 0.6112 GB, free: 12.86 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.564e-05/0.2053, allocations: 133 kB / 0.6114 GB, free: 12.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.2064, allocations: 0.6804 MB / 0.612 GB, free: 12.01 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.899e-05/0.2065, allocations: 37.7 kB / 0.6121 GB, free: 11.97 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/0.2069, allocations: 372.9 kB / 0.6124 GB, free: 11.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/0.2071, allocations: 161.7 kB / 0.6126 GB, free: 11.44 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.043e-05/0.2072, allocations: 15.94 kB / 0.6126 GB, free: 11.42 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.2074, allocations: 325.9 kB / 0.6129 GB, free: 11.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.2089, allocations: 356.9 kB / 0.6132 GB, free: 10.75 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/0.2105, allocations: 466.3 kB / 0.6137 GB, free: 10.27 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.2119, allocations: 424 kB / 0.6141 GB, free: 9.844 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.2119, allocations: 0 / 0.6141 GB, free: 9.844 MB / 478.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002364/0.2143, allocations: 0.9707 MB / 0.615 GB, free: 8.852 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001402/0.2144, allocations: 187.5 kB / 0.6152 GB, free: 8.629 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.2144, allocations: 4 kB / 0.6152 GB, free: 8.625 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.2145, allocations: 4 kB / 0.6152 GB, free: 8.621 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008/0.2153, allocations: 163.8 kB / 0.6154 GB, free: 8.461 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.2153, allocations: 4 kB / 0.6154 GB, free: 8.457 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006904/0.216, allocations: 143.2 kB / 0.6155 GB, free: 8.316 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.448e-05/0.2161, allocations: 20 kB / 0.6155 GB, free: 8.297 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.2161, allocations: 8 kB / 0.6155 GB, free: 8.289 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001874/0.218, allocations: 0.7865 MB / 0.6163 GB, free: 7.488 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.218, allocations: 4 kB / 0.6163 GB, free: 7.484 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.218, allocations: 7.938 kB / 0.6163 GB, free: 7.477 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006035/0.2186, allocations: 144 kB / 0.6165 GB, free: 7.336 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.2186, allocations: 7.984 kB / 0.6165 GB, free: 7.328 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007179/0.2194, allocations: 115.4 kB / 0.6166 GB, free: 7.215 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.752e-05/0.2194, allocations: 20 kB / 0.6166 GB, free: 7.195 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 ($whenCondition2,$whenCondition1,$PRE.TRoo.T_start,TRoo.T_start,$PRE.TRoo.count,TRoo.count,$PRE.m_flow.T_start,m_flow.T_start,$PRE.m_flow.count,m_flow.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005179/0.2199, allocations: 301 kB / 0.6169 GB, free: 6.891 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.2202, allocations: 82.92 kB / 0.617 GB, free: 6.809 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/0.2225, allocations: 0.875 MB / 0.6178 GB, free: 5.926 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.2225, allocations: 8 kB / 0.6178 GB, free: 5.918 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.2225, allocations: 3.984 kB / 0.6178 GB, free: 5.914 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.2226, allocations: 0 / 0.6178 GB, free: 5.914 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.2236, allocations: 0.7752 MB / 0.6186 GB, free: 5.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.2237, allocations: 0 / 0.6186 GB, free: 5.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006933/0.2244, allocations: 151.8 kB / 0.6187 GB, free: 4.941 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.2244, allocations: 0 / 0.6187 GB, free: 4.941 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.883e-05/0.2244, allocations: 15.98 kB / 0.6187 GB, free: 4.926 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.2244, allocations: 4 kB / 0.6188 GB, free: 4.922 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2245, allocations: 7.938 kB / 0.6188 GB, free: 4.914 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003128/0.2276, allocations: 1.311 MB / 0.62 GB, free: 3.582 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000301/0.2279, allocations: 231.9 kB / 0.6203 GB, free: 3.336 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.228, allocations: 8 kB / 0.6203 GB, free: 3.328 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008277/0.2289, allocations: 107.9 kB / 0.6204 GB, free: 3.223 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.2291, allocations: 44.5 kB / 0.6204 GB, free: 3.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.361e-05/0.2291, allocations: 16 kB / 0.6204 GB, free: 3.164 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000873/0.23, allocations: 471 kB / 0.6209 GB, free: 2.707 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.23, allocations: 0 / 0.6209 GB, free: 2.707 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001113/0.2311, allocations: 255.3 kB / 0.6211 GB, free: 2.457 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 (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.0002813/0.2314, allocations: 131.2 kB / 0.6212 GB, free: 2.32 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003767/0.2352, allocations: 1.396 MB / 0.6226 GB, free: 0.875 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.2352, allocations: 0 / 0.6226 GB, free: 0.875 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009782/0.2362, allocations: 410.2 kB / 0.623 GB, free: 488 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008675/0.2371, allocations: 171.8 kB / 0.6232 GB, free: 320 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.24, allocations: 1.521 MB / 0.6247 GB, free: 14.76 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005854/0.2406, allocations: 0.934 MB / 0.6256 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005042/0.2411, allocations: 92.95 kB / 0.6257 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.2413, allocations: 47.42 kB / 0.6257 GB, free: 13.66 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2413, allocations: 0 / 0.6257 GB, free: 13.66 MB / 494.1 MB Notification: Performance of Templates: time 0.01686/0.2582, allocations: 8.726 MB / 0.6342 GB, free: 5.051 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: