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.1869/0.189, allocations: 80.84 MB / 0.5897 GB, free: 7.109 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003379/0.1924, allocations: 1.614 MB / 0.5912 GB, free: 5.473 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.1935, allocations: 0.5004 MB / 0.5917 GB, free: 4.965 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.541e-05/0.1936, allocations: 4 kB / 0.5917 GB, free: 4.961 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.1937, allocations: 15.86 kB / 0.5918 GB, free: 4.945 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.627e-05/0.1938, allocations: 11.86 kB / 0.5918 GB, free: 4.934 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.194, allocations: 51.88 kB / 0.5918 GB, free: 4.883 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.1942, allocations: 99.75 kB / 0.5919 GB, free: 4.785 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1943, allocations: 16.23 kB / 0.5919 GB, free: 4.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.1944, allocations: 47.78 kB / 0.592 GB, free: 4.723 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.1946, allocations: 55.8 kB / 0.592 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.1946, allocations: 4 kB / 0.592 GB, free: 4.664 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.045e-05/0.1946, allocations: 4 kB / 0.592 GB, free: 4.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.421e-05/0.1947, allocations: 19.92 kB / 0.5921 GB, free: 4.641 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.195e-05/0.1948, allocations: 43.73 kB / 0.5921 GB, free: 4.598 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.1949, allocations: 91.89 kB / 0.5922 GB, free: 4.508 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1949, allocations: 0 / 0.5922 GB, free: 4.508 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1949, allocations: 4 kB / 0.5922 GB, free: 4.504 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1949, allocations: 0 / 0.5922 GB, free: 4.504 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.0008434/0.1958, allocations: 489.9 kB / 0.5927 GB, free: 3.969 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1958, allocations: 8.031 kB / 0.5927 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.1959, allocations: 12.84 kB / 0.5927 GB, free: 3.949 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.1961, allocations: 200 kB / 0.5929 GB, free: 3.715 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1961, allocations: 4.375 kB / 0.5929 GB, free: 3.711 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.1961, allocations: 8.375 kB / 0.5929 GB, free: 3.703 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.1965, allocations: 133.9 kB / 0.593 GB, free: 3.566 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.1965, allocations: 8 kB / 0.593 GB, free: 3.559 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.1965, allocations: 0 / 0.593 GB, free: 3.559 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1965, allocations: 0 / 0.593 GB, free: 3.559 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003582/0.1969, allocations: 123.8 kB / 0.5931 GB, free: 3.438 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005968/0.1975, allocations: 348.7 kB / 0.5935 GB, free: 3.047 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.1978, allocations: 130.5 kB / 0.5936 GB, free: 2.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.1981, allocations: 100.9 kB / 0.5937 GB, free: 2.809 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.1981, allocations: 8.031 kB / 0.5937 GB, free: 2.801 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003809/0.1985, allocations: 147.2 kB / 0.5938 GB, free: 2.645 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.773e-06/0.1985, allocations: 0 / 0.5938 GB, free: 2.645 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007852/0.1993, allocations: 335 kB / 0.5942 GB, free: 2.305 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.1994, allocations: 97.08 kB / 0.5942 GB, free: 2.191 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.1995, allocations: 137.8 kB / 0.5944 GB, free: 2.047 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.1995, allocations: 29.7 kB / 0.5944 GB, free: 2.012 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/0.1996, allocations: 104 kB / 0.5945 GB, free: 1.906 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.1996, allocations: 23.66 kB / 0.5945 GB, free: 1.883 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/0.1997, allocations: 33.61 kB / 0.5946 GB, free: 1.844 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1998, allocations: 326.8 kB / 0.5949 GB, free: 1.516 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.2, allocations: 91.94 kB / 0.595 GB, free: 1.426 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.2002, allocations: 79.94 kB / 0.595 GB, free: 1.348 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.2007, allocations: 265.8 kB / 0.5953 GB, free: 1.066 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2007, allocations: 0 / 0.5953 GB, free: 1.066 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005224/0.2012, allocations: 300.8 kB / 0.5956 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.812e-05/0.2013, allocations: 67.39 kB / 0.5956 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2013, allocations: 0 / 0.5956 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.2013, allocations: 0 / 0.5956 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.2015, allocations: 23.97 kB / 0.5957 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.2015, allocations: 0 / 0.5957 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.2017, allocations: 35.89 kB / 0.5957 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.2017, allocations: 7.984 kB / 0.5957 GB, free: 0.6133 MB / 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 (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.0001346/0.2018, allocations: 164.8 kB / 0.5959 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.2019, allocations: 15.81 kB / 0.5959 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.2019, allocations: 12.7 kB / 0.5959 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2019, allocations: 3.938 kB / 0.5959 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2019, allocations: 0 / 0.5959 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2019, allocations: 4 kB / 0.5959 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.2021, allocations: 209.5 kB / 0.5961 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.2021, allocations: 0 / 0.5961 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.2022, allocations: 23.92 kB / 0.5961 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2022, allocations: 0 / 0.5961 GB, free: 128 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.2023, allocations: 4 kB / 0.5961 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.2023, allocations: 3.984 kB / 0.5961 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2023, allocations: 0 / 0.5961 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005651/0.2028, allocations: 302.5 kB / 0.5964 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.2029, allocations: 85.02 kB / 0.5965 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.2029, allocations: 4 kB / 0.5965 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.2031, allocations: 27.95 kB / 0.5965 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.2032, allocations: 27.95 kB / 0.5966 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.2032, allocations: 4 kB / 0.5966 GB, free: 15.63 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.37e-05/0.2033, allocations: 113.8 kB / 0.5967 GB, free: 15.52 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2033, allocations: 0 / 0.5967 GB, free: 15.52 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000206/0.2035, allocations: 27.94 kB / 0.5967 GB, free: 15.5 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.0001093/0.2036, allocations: 99.25 kB / 0.5968 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005835/0.2042, allocations: 346.6 kB / 0.5971 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2042, allocations: 4 kB / 0.5971 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002887/0.2045, allocations: 191.3 kB / 0.5973 GB, free: 14.82 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.2048, allocations: 18.83 kB / 0.5973 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006048/0.2054, allocations: 329.6 kB / 0.5976 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.2056, allocations: 0.7004 MB / 0.5983 GB, free: 13.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.426e-05/0.2057, allocations: 11.98 kB / 0.5983 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.2057, allocations: 19.42 kB / 0.5983 GB, free: 13.7 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2057, allocations: 192 / 0.5983 GB, free: 13.7 MB / 462.1 MB Notification: Performance of Templates: time 0.003687/0.2094, allocations: 1.544 MB / 0.5999 GB, free: 12.17 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (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)