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.177/0.1778, allocations: 82.22 MB / 0.5935 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001879/0.1797, allocations: 1.256 MB / 0.5947 GB, free: 4.715 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008152/0.1806, allocations: 484.8 kB / 0.5952 GB, free: 4.234 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.904e-05/0.1806, allocations: 0 / 0.5952 GB, free: 4.234 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.838e-05/0.1807, allocations: 11.92 kB / 0.5952 GB, free: 4.223 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.546e-05/0.1808, allocations: 15.86 kB / 0.5952 GB, free: 4.207 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.1811, allocations: 35.94 kB / 0.5952 GB, free: 4.172 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.1812, allocations: 99.62 kB / 0.5953 GB, free: 4.074 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.1813, allocations: 12.23 kB / 0.5953 GB, free: 4.062 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.1814, allocations: 51.83 kB / 0.5954 GB, free: 4.012 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1815, allocations: 47.81 kB / 0.5954 GB, free: 3.965 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.1816, allocations: 4 kB / 0.5954 GB, free: 3.961 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.79e-05/0.1816, allocations: 4 kB / 0.5954 GB, free: 3.957 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.708e-05/0.1816, allocations: 15.92 kB / 0.5954 GB, free: 3.941 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.927e-05/0.1817, allocations: 37.7 kB / 0.5955 GB, free: 3.898 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.1818, allocations: 68.09 kB / 0.5955 GB, free: 3.832 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1818, allocations: 0 / 0.5955 GB, free: 3.832 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1818, allocations: 0 / 0.5955 GB, free: 3.832 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.1818, allocations: 4 kB / 0.5955 GB, free: 3.828 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.000788/0.1826, allocations: 474.3 kB / 0.596 GB, free: 3.305 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1827, allocations: 8.031 kB / 0.596 GB, free: 3.297 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.339e-05/0.1827, allocations: 15.84 kB / 0.596 GB, free: 3.281 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.1829, allocations: 202.8 kB / 0.5962 GB, free: 3.043 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.183, allocations: 3.938 kB / 0.5962 GB, free: 3.039 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.183, allocations: 8 kB / 0.5962 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.1833, allocations: 133.6 kB / 0.5963 GB, free: 2.895 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1834, allocations: 3.984 kB / 0.5964 GB, free: 2.891 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.1834, allocations: 4 kB / 0.5964 GB, free: 2.887 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1834, allocations: 8 kB / 0.5964 GB, free: 2.879 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003672/0.1838, allocations: 131.8 kB / 0.5965 GB, free: 2.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006146/0.1844, allocations: 360.6 kB / 0.5968 GB, free: 2.348 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.1848, allocations: 150.4 kB / 0.597 GB, free: 2.191 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.185, allocations: 108.9 kB / 0.5971 GB, free: 2.082 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.185, allocations: 4 kB / 0.5971 GB, free: 2.078 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003767/0.1854, allocations: 147.3 kB / 0.5972 GB, free: 1.922 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.1854, allocations: 0 / 0.5972 GB, free: 1.922 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008103/0.1862, allocations: 331.2 kB / 0.5975 GB, free: 1.586 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.296e-05/0.1863, allocations: 93.09 kB / 0.5976 GB, free: 1.477 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.1865, allocations: 139.8 kB / 0.5978 GB, free: 1.332 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.1865, allocations: 37.69 kB / 0.5978 GB, free: 1.289 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.098e-05/0.1866, allocations: 104 kB / 0.5979 GB, free: 1.184 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.1866, allocations: 31.55 kB / 0.5979 GB, free: 1.152 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-06/0.1866, allocations: 0 / 0.5979 GB, free: 1.152 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1868, allocations: 326.8 kB / 0.5982 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.187, allocations: 95.94 kB / 0.5983 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.1872, allocations: 83.94 kB / 0.5984 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.1874, allocations: 155.3 kB / 0.5986 GB, free: 496 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1875, allocations: 0 / 0.5986 GB, free: 496 kB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005328/0.188, allocations: 292.9 kB / 0.5988 GB, free: 184 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.994e-05/0.1881, allocations: 71.39 kB / 0.5989 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.1881, allocations: 7.938 kB / 0.5989 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1881, allocations: 0 / 0.5989 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.1883, allocations: 23.97 kB / 0.5989 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.1883, allocations: 3.953 kB / 0.5989 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.1885, allocations: 47.86 kB / 0.599 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.1885, allocations: 4.469 kB / 0.599 GB, free: 12 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.0001689/0.1887, allocations: 164.3 kB / 0.5991 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.1887, allocations: 7.906 kB / 0.5992 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.1887, allocations: 16.66 kB / 0.5992 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.1888, allocations: 0 / 0.5992 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.1888, allocations: 3.984 kB / 0.5992 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.1888, allocations: 7.953 kB / 0.5992 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.189, allocations: 205.5 kB / 0.5994 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.189, allocations: 0 / 0.5994 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.1891, allocations: 23.97 kB / 0.5994 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1891, allocations: 0 / 0.5994 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.1891, allocations: 8 kB / 0.5994 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1891, allocations: 0 / 0.5994 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1891, allocations: 0 / 0.5994 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005223/0.1897, allocations: 318.4 kB / 0.5997 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.1897, allocations: 85 kB / 0.5998 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.1898, allocations: 8 kB / 0.5998 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.1899, allocations: 31.95 kB / 0.5998 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.19, allocations: 19.97 kB / 0.5999 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.1901, allocations: 4 kB / 0.5999 GB, free: 15.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.345e-05/0.1901, allocations: 107.2 kB / 0.6 GB, free: 14.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1901, allocations: 4 kB / 0.6 GB, free: 14.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002087/0.1904, allocations: 28 kB / 0.6 GB, free: 14.88 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.0001172/0.1905, allocations: 103.2 kB / 0.6001 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005893/0.1911, allocations: 358.6 kB / 0.6004 GB, free: 14.39 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1911, allocations: 3.938 kB / 0.6004 GB, free: 14.39 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003027/0.1914, allocations: 199.2 kB / 0.6006 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.1916, allocations: 14.92 kB / 0.6006 GB, free: 14.17 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006079/0.1922, allocations: 323.4 kB / 0.6009 GB, free: 13.83 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.1925, allocations: 0.6965 MB / 0.6016 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.124e-05/0.1926, allocations: 15.97 kB / 0.6016 GB, free: 13.09 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.205e-05/0.1926, allocations: 15.61 kB / 0.6017 GB, free: 13.08 MB / 462.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1927, allocations: 0 / 0.6017 GB, free: 13.08 MB / 462.1 MB Notification: Performance of Templates: time 0.004042/0.1967, allocations: 1.491 MB / 0.6031 GB, free: 11.6 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: