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.1862/0.1869, allocations: 82.22 MB / 0.5941 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001974/0.1889, allocations: 1.271 MB / 0.5953 GB, free: 4.301 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009843/0.1899, allocations: 0.5004 MB / 0.5958 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.878e-05/0.19, allocations: 0 / 0.5958 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.68e-05/0.1901, allocations: 11.94 kB / 0.5958 GB, free: 3.781 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.179e-05/0.1902, allocations: 19.84 kB / 0.5959 GB, free: 3.762 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.1905, allocations: 39.91 kB / 0.5959 GB, free: 3.723 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.1906, allocations: 99.69 kB / 0.596 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1907, allocations: 20.22 kB / 0.596 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.1909, allocations: 55.77 kB / 0.5961 GB, free: 3.551 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.191, allocations: 39.83 kB / 0.5961 GB, free: 3.512 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.191, allocations: 8 kB / 0.5961 GB, free: 3.504 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.795e-05/0.191, allocations: 4 kB / 0.5961 GB, free: 3.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.1911, allocations: 19.91 kB / 0.5961 GB, free: 3.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.804e-05/0.1912, allocations: 73.42 kB / 0.5962 GB, free: 3.402 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.1913, allocations: 79.95 kB / 0.5963 GB, free: 3.324 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.31e-05/0.1913, allocations: 8 kB / 0.5963 GB, free: 3.316 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1913, allocations: 0 / 0.5963 GB, free: 3.316 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1913, allocations: 3.938 kB / 0.5963 GB, free: 3.312 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.0007806/0.1921, allocations: 478.5 kB / 0.5968 GB, free: 2.785 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1922, allocations: 8.031 kB / 0.5968 GB, free: 2.777 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.1922, allocations: 12.83 kB / 0.5968 GB, free: 2.766 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.1924, allocations: 196.1 kB / 0.597 GB, free: 2.535 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.1924, allocations: 8.375 kB / 0.597 GB, free: 2.527 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.1925, allocations: 8.375 kB / 0.597 GB, free: 2.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/0.1928, allocations: 141.9 kB / 0.5971 GB, free: 2.375 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.1929, allocations: 4 kB / 0.5971 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.1929, allocations: 3.984 kB / 0.5971 GB, free: 2.367 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1929, allocations: 0 / 0.5971 GB, free: 2.367 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003956/0.1933, allocations: 139.8 kB / 0.5973 GB, free: 2.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006465/0.194, allocations: 364.6 kB / 0.5976 GB, free: 1.824 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.1943, allocations: 154.5 kB / 0.5977 GB, free: 1.664 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/0.1946, allocations: 112.9 kB / 0.5979 GB, free: 1.551 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1946, allocations: 0 / 0.5979 GB, free: 1.551 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003572/0.195, allocations: 147.3 kB / 0.598 GB, free: 1.395 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.195, allocations: 4 kB / 0.598 GB, free: 1.391 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008194/0.1958, allocations: 355 kB / 0.5983 GB, free: 1.031 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.1959, allocations: 93.09 kB / 0.5984 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.196, allocations: 143.8 kB / 0.5986 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.1961, allocations: 25.7 kB / 0.5986 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.01e-05/0.1961, allocations: 108 kB / 0.5987 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.1962, allocations: 35.55 kB / 0.5987 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.1962, allocations: 21.72 kB / 0.5987 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1963, allocations: 326.8 kB / 0.5991 GB, free: 248 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.1966, allocations: 92.22 kB / 0.5991 GB, free: 156 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.1968, allocations: 99.75 kB / 0.5992 GB, free: 60 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005293/0.1974, allocations: 289.8 kB / 0.5995 GB, free: 15.75 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1974, allocations: 0 / 0.5995 GB, free: 15.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005657/0.1979, allocations: 313 kB / 0.5998 GB, free: 15.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.632e-05/0.198, allocations: 71.39 kB / 0.5999 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.198, allocations: 0 / 0.5999 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.198, allocations: 0 / 0.5999 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.1982, allocations: 23.97 kB / 0.5999 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.1982, allocations: 4 kB / 0.5999 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.1984, allocations: 35.95 kB / 0.5999 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.1984, allocations: 4 kB / 0.5999 GB, free: 15.28 MB / 462.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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001426/0.1986, allocations: 164.3 kB / 0.6001 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.1986, allocations: 15.81 kB / 0.6001 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.272e-05/0.1987, allocations: 20.7 kB / 0.6001 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1987, allocations: 4 kB / 0.6001 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1987, allocations: 0 / 0.6001 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.1987, allocations: 4 kB / 0.6001 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.1989, allocations: 213.5 kB / 0.6004 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1989, allocations: 0 / 0.6004 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.199, allocations: 19.98 kB / 0.6004 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.199, allocations: 0 / 0.6004 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.199, allocations: 0 / 0.6004 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.199, allocations: 11.98 kB / 0.6004 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.199, allocations: 0 / 0.6004 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000609/0.1997, allocations: 318.5 kB / 0.6007 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.1997, allocations: 88.95 kB / 0.6008 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.1998, allocations: 8 kB / 0.6008 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.1999, allocations: 35.94 kB / 0.6008 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.2001, allocations: 23.97 kB / 0.6008 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.2001, allocations: 4 kB / 0.6008 GB, free: 14.26 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.372e-05/0.2002, allocations: 107.2 kB / 0.6009 GB, free: 14.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2002, allocations: 0 / 0.6009 GB, free: 14.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002259/0.2004, allocations: 36.03 kB / 0.601 GB, free: 14.12 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 (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.0001403/0.2006, allocations: 95.25 kB / 0.6011 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006799/0.2012, allocations: 370.5 kB / 0.6014 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.2013, allocations: 4 kB / 0.6014 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003407/0.2016, allocations: 203.3 kB / 0.6016 GB, free: 13.41 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.2018, allocations: 18.91 kB / 0.6016 GB, free: 13.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006669/0.2025, allocations: 335.4 kB / 0.602 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.203, allocations: 0.7004 MB / 0.6026 GB, free: 12.32 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 9.701e-05/0.2031, allocations: 15.98 kB / 0.6027 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.2031, allocations: 11.44 kB / 0.6027 GB, free: 12.29 MB / 462.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2031, allocations: 0 / 0.6027 GB, free: 12.29 MB / 462.1 MB Notification: Performance of Templates: time 0.004694/0.2078, allocations: 1.532 MB / 0.6042 GB, free: 10.77 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: