Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.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.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") [/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.1798/0.1805, allocations: 82.22 MB / 0.5934 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.00166/0.1822, allocations: 1.231 MB / 0.5946 GB, free: 4.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008184/0.183, allocations: 0.4923 MB / 0.595 GB, free: 4.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.538e-05/0.1831, allocations: 0 / 0.595 GB, free: 4.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.686e-05/0.1832, allocations: 7.875 kB / 0.595 GB, free: 4.262 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.908e-05/0.1833, allocations: 23.89 kB / 0.5951 GB, free: 4.238 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.1835, allocations: 27.97 kB / 0.5951 GB, free: 4.211 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.1837, allocations: 67.89 kB / 0.5952 GB, free: 4.145 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.1838, allocations: 24.16 kB / 0.5952 GB, free: 4.121 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.184, allocations: 39.91 kB / 0.5952 GB, free: 4.082 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.1841, allocations: 47.75 kB / 0.5953 GB, free: 4.035 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/0.1842, allocations: 4 kB / 0.5953 GB, free: 4.031 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.399e-05/0.1842, allocations: 4 kB / 0.5953 GB, free: 4.027 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.443e-05/0.1843, allocations: 15.92 kB / 0.5953 GB, free: 4.012 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.659e-05/0.1843, allocations: 41.64 kB / 0.5953 GB, free: 3.965 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.1845, allocations: 72.09 kB / 0.5954 GB, free: 3.895 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1845, allocations: 0 / 0.5954 GB, free: 3.895 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1845, allocations: 3.938 kB / 0.5954 GB, free: 3.891 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.902e-06/0.1845, allocations: 0 / 0.5954 GB, free: 3.891 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008623/0.1854, allocations: 477.4 kB / 0.5959 GB, free: 3.367 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1854, allocations: 12.03 kB / 0.5959 GB, free: 3.355 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.574e-05/0.1855, allocations: 11.91 kB / 0.5959 GB, free: 3.344 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.1857, allocations: 198.8 kB / 0.5961 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.1857, allocations: 0 / 0.5961 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.1858, allocations: 12 kB / 0.5961 GB, free: 3.098 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003686/0.1861, allocations: 137.6 kB / 0.5962 GB, free: 2.957 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.1862, allocations: 0 / 0.5962 GB, free: 2.957 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.1862, allocations: 0 / 0.5962 GB, free: 2.957 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1862, allocations: 4 kB / 0.5962 GB, free: 2.953 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003772/0.1866, allocations: 127.9 kB / 0.5963 GB, free: 2.828 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006367/0.1872, allocations: 368.6 kB / 0.5967 GB, free: 2.418 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003558/0.1876, allocations: 146.5 kB / 0.5968 GB, free: 2.266 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.1876, allocations: 4 kB / 0.5968 GB, free: 2.262 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003481/0.188, allocations: 143.4 kB / 0.597 GB, free: 2.109 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.188, allocations: 0 / 0.597 GB, free: 2.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007974/0.1888, allocations: 420.2 kB / 0.5974 GB, free: 1.668 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.1889, allocations: 101.2 kB / 0.5975 GB, free: 1.551 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.189, allocations: 137.8 kB / 0.5976 GB, free: 1.406 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.1891, allocations: 33.7 kB / 0.5976 GB, free: 1.367 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.002e-05/0.1891, allocations: 107.9 kB / 0.5977 GB, free: 1.258 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.1892, allocations: 27.56 kB / 0.5978 GB, free: 1.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.1892, allocations: 0 / 0.5978 GB, free: 1.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1893, allocations: 326.8 kB / 0.5981 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.1896, allocations: 91.94 kB / 0.5982 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.1898, allocations: 87.94 kB / 0.5982 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.1901, allocations: 143.3 kB / 0.5984 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1901, allocations: 3.984 kB / 0.5984 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005326/0.1906, allocations: 300.8 kB / 0.5987 GB, free: 264 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.917e-05/0.1907, allocations: 71.39 kB / 0.5987 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1907, allocations: 0 / 0.5987 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1908, allocations: 4 kB / 0.5987 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.1909, allocations: 19.98 kB / 0.5988 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.1909, allocations: 0 / 0.5988 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.1911, allocations: 47.81 kB / 0.5988 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.1912, allocations: 4 kB / 0.5988 GB, free: 104 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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.0001549/0.1913, allocations: 159.5 kB / 0.599 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.1914, allocations: 15.89 kB / 0.599 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.247e-05/0.1914, allocations: 12.72 kB / 0.599 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1914, allocations: 0 / 0.599 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.1914, allocations: 0 / 0.599 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1914, allocations: 3.984 kB / 0.599 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.1916, allocations: 217.5 kB / 0.5992 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1916, allocations: 0 / 0.5992 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.1918, allocations: 27.92 kB / 0.5992 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1918, allocations: 3.984 kB / 0.5992 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.1918, allocations: 0 / 0.5992 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1918, allocations: 4 kB / 0.5992 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1918, allocations: 0 / 0.5992 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005542/0.1924, allocations: 314.4 kB / 0.5995 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/0.1924, allocations: 85.2 kB / 0.5996 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.1925, allocations: 4 kB / 0.5996 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.1927, allocations: 43.89 kB / 0.5997 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.725e-05/0.1928, allocations: 23.91 kB / 0.5997 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.1928, allocations: 4 kB / 0.5997 GB, free: 15.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.482e-05/0.1929, allocations: 109.1 kB / 0.5998 GB, free: 14.99 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1929, allocations: 0 / 0.5998 GB, free: 14.99 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002188/0.1931, allocations: 31.95 kB / 0.5998 GB, free: 14.96 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001226/0.1932, allocations: 103.2 kB / 0.5999 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006327/0.1939, allocations: 358.6 kB / 0.6003 GB, free: 14.47 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1939, allocations: 0 / 0.6003 GB, free: 14.47 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003034/0.1942, allocations: 191.3 kB / 0.6004 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.1944, allocations: 11.98 kB / 0.6005 GB, free: 14.26 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006178/0.195, allocations: 323.4 kB / 0.6008 GB, free: 13.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.1953, allocations: 0.7082 MB / 0.6015 GB, free: 13.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.664e-05/0.1954, allocations: 11.98 kB / 0.6015 GB, free: 13.17 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.1954, allocations: 11.42 kB / 0.6015 GB, free: 13.16 MB / 462.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1954, allocations: 0 / 0.6015 GB, free: 13.16 MB / 462.1 MB Notification: Performance of Templates: time 0.004912/0.2003, allocations: 1.492 MB / 0.6029 GB, free: 11.68 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) Environment - environmentSimulation: