Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.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.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests") [/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.1846/0.1853, allocations: 82.21 MB / 0.5941 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002036/0.1874, allocations: 1.209 MB / 0.5953 GB, free: 4.359 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1885, allocations: 496.6 kB / 0.5958 GB, free: 3.867 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.448e-05/0.1886, allocations: 3.938 kB / 0.5958 GB, free: 3.863 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.1887, allocations: 4 kB / 0.5958 GB, free: 3.859 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.419e-05/0.1888, allocations: 7.875 kB / 0.5958 GB, free: 3.852 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.189, allocations: 39.95 kB / 0.5958 GB, free: 3.812 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.1892, allocations: 83.77 kB / 0.5959 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.1893, allocations: 12.17 kB / 0.5959 GB, free: 3.719 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.1895, allocations: 43.84 kB / 0.5959 GB, free: 3.676 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.824e-05/0.1896, allocations: 35.89 kB / 0.596 GB, free: 3.641 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.1896, allocations: 4 kB / 0.596 GB, free: 3.637 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.977e-05/0.1896, allocations: 4 kB / 0.596 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.1897, allocations: 19.91 kB / 0.596 GB, free: 3.613 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.877e-05/0.1898, allocations: 61.5 kB / 0.5961 GB, free: 3.547 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.1899, allocations: 68.03 kB / 0.5961 GB, free: 3.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.19, allocations: 3.938 kB / 0.5961 GB, free: 3.477 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.19, allocations: 0 / 0.5961 GB, free: 3.477 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.19, allocations: 0 / 0.5961 GB, free: 3.477 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008117/0.1908, allocations: 446.6 kB / 0.5966 GB, free: 2.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.1908, allocations: 12.03 kB / 0.5966 GB, free: 2.969 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.209e-05/0.1909, allocations: 8.844 kB / 0.5966 GB, free: 2.961 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.1912, allocations: 196.2 kB / 0.5968 GB, free: 2.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.1912, allocations: 8.359 kB / 0.5968 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.1912, allocations: 8.375 kB / 0.5968 GB, free: 2.715 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003534/0.1916, allocations: 125.8 kB / 0.5969 GB, free: 2.586 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1916, allocations: 3.938 kB / 0.5969 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.1916, allocations: 0 / 0.5969 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1917, allocations: 4 kB / 0.5969 GB, free: 2.578 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00033/0.192, allocations: 107.9 kB / 0.597 GB, free: 2.473 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006174/0.1926, allocations: 340.7 kB / 0.5973 GB, free: 2.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.193, allocations: 118.5 kB / 0.5974 GB, free: 1.965 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.1932, allocations: 80.94 kB / 0.5975 GB, free: 1.883 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.1932, allocations: 4 kB / 0.5975 GB, free: 1.879 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003629/0.1936, allocations: 131.3 kB / 0.5977 GB, free: 1.738 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.1936, allocations: 0 / 0.5977 GB, free: 1.738 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007662/0.1944, allocations: 299.3 kB / 0.5979 GB, free: 1.434 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.1945, allocations: 89.09 kB / 0.598 GB, free: 1.328 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.1946, allocations: 125.8 kB / 0.5981 GB, free: 1.195 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.1946, allocations: 33.7 kB / 0.5982 GB, free: 1.156 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.1947, allocations: 95.98 kB / 0.5983 GB, free: 1.059 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.1947, allocations: 15.89 kB / 0.5983 GB, free: 1.043 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.1948, allocations: 17.72 kB / 0.5983 GB, free: 1.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1949, allocations: 326.8 kB / 0.5986 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.1951, allocations: 67.95 kB / 0.5987 GB, free: 0.625 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.1953, allocations: 79.89 kB / 0.5988 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.1957, allocations: 197.9 kB / 0.5989 GB, free: 340 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.1957, allocations: 0 / 0.5989 GB, free: 340 kB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005068/0.1962, allocations: 280.8 kB / 0.5992 GB, free: 40 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.626e-05/0.1963, allocations: 71.48 kB / 0.5993 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1963, allocations: 8 kB / 0.5993 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1963, allocations: 0 / 0.5993 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.1965, allocations: 19.98 kB / 0.5993 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1965, allocations: 0 / 0.5993 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.1967, allocations: 27.89 kB / 0.5993 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.1967, allocations: 7.984 kB / 0.5993 GB, free: 15.89 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: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * 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.0001332/0.1968, allocations: 159.6 kB / 0.5995 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.1969, allocations: 11.91 kB / 0.5995 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.683e-05/0.1969, allocations: 16.36 kB / 0.5995 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1969, allocations: 0 / 0.5995 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.1969, allocations: 0 / 0.5995 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1969, allocations: 0 / 0.5995 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.1971, allocations: 197.5 kB / 0.5997 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1971, allocations: 0 / 0.5997 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.935e-05/0.1972, allocations: 15.98 kB / 0.5997 GB, free: 15.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1972, allocations: 7.938 kB / 0.5997 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.1972, allocations: 8 kB / 0.5997 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1972, allocations: 0 / 0.5997 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1972, allocations: 0 / 0.5997 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004988/0.1977, allocations: 262.6 kB / 0.6 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.727e-05/0.1978, allocations: 81.11 kB / 0.6001 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.1978, allocations: 3.984 kB / 0.6001 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.198, allocations: 27.98 kB / 0.6001 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.1981, allocations: 35.95 kB / 0.6001 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.1982, allocations: 4 kB / 0.6001 GB, free: 14.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.135e-05/0.1982, allocations: 102.4 kB / 0.6002 GB, free: 14.88 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1982, allocations: 0 / 0.6002 GB, free: 14.88 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.1985, allocations: 31.84 kB / 0.6003 GB, free: 14.85 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: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * 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.0001133/0.1986, allocations: 107.2 kB / 0.6004 GB, free: 14.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005372/0.1991, allocations: 278.7 kB / 0.6006 GB, free: 14.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1991, allocations: 0 / 0.6006 GB, free: 14.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002614/0.1994, allocations: 147.3 kB / 0.6008 GB, free: 14.28 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.1996, allocations: 15.98 kB / 0.6008 GB, free: 14.26 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005412/0.2002, allocations: 257.3 kB / 0.601 GB, free: 13.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.2004, allocations: 0.6926 MB / 0.6017 GB, free: 13.27 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.561e-05/0.2005, allocations: 7.984 kB / 0.6017 GB, free: 13.26 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.2006, allocations: 11.44 kB / 0.6017 GB, free: 13.25 MB / 462.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2006, allocations: 0 / 0.6017 GB, free: 13.25 MB / 462.1 MB Notification: Performance of Templates: time 0.004266/0.2048, allocations: 1.574 MB / 0.6033 GB, free: 11.7 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) Environment - environmentSimulation: