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.1763/0.177, allocations: 82.22 MB / 0.5935 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001862/0.1789, allocations: 1.182 MB / 0.5946 GB, free: 4.777 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008599/0.1798, allocations: 476.8 kB / 0.5951 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.918e-05/0.1799, allocations: 0 / 0.5951 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.64e-05/0.18, allocations: 3.938 kB / 0.5951 GB, free: 4.301 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.75e-05/0.1801, allocations: 19.84 kB / 0.5951 GB, free: 4.281 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.1803, allocations: 27.97 kB / 0.5951 GB, free: 4.254 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.1805, allocations: 79.77 kB / 0.5952 GB, free: 4.176 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1806, allocations: 8.172 kB / 0.5952 GB, free: 4.168 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.1807, allocations: 43.89 kB / 0.5952 GB, free: 4.125 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.519e-05/0.1809, allocations: 39.83 kB / 0.5953 GB, free: 4.086 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.1809, allocations: 4 kB / 0.5953 GB, free: 4.082 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.658e-05/0.1809, allocations: 11.94 kB / 0.5953 GB, free: 4.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.745e-05/0.181, allocations: 7.922 kB / 0.5953 GB, free: 4.062 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.435e-05/0.181, allocations: 37.7 kB / 0.5953 GB, free: 4.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.1811, allocations: 60.11 kB / 0.5954 GB, free: 3.961 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1812, allocations: 0 / 0.5954 GB, free: 3.961 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1812, allocations: 0 / 0.5954 GB, free: 3.961 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.1812, allocations: 0 / 0.5954 GB, free: 3.961 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.0007285/0.1819, allocations: 442.5 kB / 0.5958 GB, free: 3.469 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.182, allocations: 8.031 kB / 0.5958 GB, free: 3.461 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/0.182, allocations: 7.906 kB / 0.5958 GB, free: 3.453 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.1822, allocations: 186.8 kB / 0.596 GB, free: 3.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.1823, allocations: 11.98 kB / 0.596 GB, free: 3.219 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.1823, allocations: 11.95 kB / 0.596 GB, free: 3.207 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.1826, allocations: 117.6 kB / 0.5961 GB, free: 3.086 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1827, allocations: 0 / 0.5961 GB, free: 3.086 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.1827, allocations: 4 kB / 0.5962 GB, free: 3.082 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1827, allocations: 4 kB / 0.5962 GB, free: 3.078 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003323/0.183, allocations: 103.9 kB / 0.5963 GB, free: 2.977 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005415/0.1836, allocations: 336.7 kB / 0.5966 GB, free: 2.598 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.1839, allocations: 122.5 kB / 0.5967 GB, free: 2.469 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.1841, allocations: 84.94 kB / 0.5968 GB, free: 2.383 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.1841, allocations: 3.938 kB / 0.5968 GB, free: 2.379 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003374/0.1844, allocations: 127.3 kB / 0.5969 GB, free: 2.242 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1845, allocations: 0 / 0.5969 GB, free: 2.242 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006888/0.1852, allocations: 303.1 kB / 0.5972 GB, free: 1.934 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.1852, allocations: 85.11 kB / 0.5973 GB, free: 1.832 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.284e-05/0.1853, allocations: 132.1 kB / 0.5974 GB, free: 1.695 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.1854, allocations: 29.7 kB / 0.5974 GB, free: 1.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.1854, allocations: 95.98 kB / 0.5975 GB, free: 1.562 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.1855, allocations: 19.8 kB / 0.5975 GB, free: 1.543 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/0.1855, allocations: 4 kB / 0.5975 GB, free: 1.539 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1856, allocations: 326.7 kB / 0.5979 GB, free: 1.211 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.1858, allocations: 79.94 kB / 0.5979 GB, free: 1.133 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.186, allocations: 67.95 kB / 0.598 GB, free: 1.066 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.1862, allocations: 119.3 kB / 0.5981 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1862, allocations: 0 / 0.5981 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004755/0.1866, allocations: 264.9 kB / 0.5984 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/0.1867, allocations: 71.39 kB / 0.5984 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1867, allocations: 3.984 kB / 0.5984 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1868, allocations: 4 kB / 0.5984 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1869, allocations: 19.92 kB / 0.5985 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1869, allocations: 0 / 0.5985 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.1871, allocations: 31.97 kB / 0.5985 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.1871, allocations: 8 kB / 0.5985 GB, free: 0.5117 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: 6 ($whenCondition1,numReq.y,$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 (8): * Single equations (assignments): 6 * 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.0001253/0.1872, allocations: 159.6 kB / 0.5986 GB, free: 352 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.1872, allocations: 7.906 kB / 0.5987 GB, free: 344 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.1873, allocations: 8.375 kB / 0.5987 GB, free: 336 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1873, allocations: 4 kB / 0.5987 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1873, allocations: 96 / 0.5987 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1873, allocations: 3.938 kB / 0.5987 GB, free: 328 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.1875, allocations: 205.6 kB / 0.5989 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1875, allocations: 4.25 kB / 0.5989 GB, free: 68 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.498e-05/0.1876, allocations: 19.98 kB / 0.5989 GB, free: 48 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1876, allocations: 0 / 0.5989 GB, free: 48 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.1876, allocations: 0 / 0.5989 GB, free: 48 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.1876, allocations: 4 kB / 0.5989 GB, free: 44 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1876, allocations: 0 / 0.5989 GB, free: 44 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004744/0.1881, allocations: 266.6 kB / 0.5991 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.1881, allocations: 85 kB / 0.5992 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.1882, allocations: 4 kB / 0.5992 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.1883, allocations: 35.97 kB / 0.5993 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.1884, allocations: 31.95 kB / 0.5993 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.1885, allocations: 4 kB / 0.5993 GB, free: 15.58 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.184e-05/0.1885, allocations: 101.9 kB / 0.5994 GB, free: 15.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 4e-07/0.1885, allocations: 0 / 0.5994 GB, free: 15.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002071/0.1887, allocations: 24 kB / 0.5994 GB, free: 15.46 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 (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.00011/0.1889, allocations: 107.2 kB / 0.5995 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004766/0.1893, allocations: 282.6 kB / 0.5998 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1894, allocations: 0 / 0.5998 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.1896, allocations: 151.3 kB / 0.5999 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.1898, allocations: 15.98 kB / 0.5999 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.1903, allocations: 237.2 kB / 0.6002 GB, free: 14.61 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.1906, allocations: 0.6887 MB / 0.6008 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.289e-05/0.1906, allocations: 12.17 kB / 0.6009 GB, free: 13.88 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.1907, allocations: 7.438 kB / 0.6009 GB, free: 13.87 MB / 462.1 MB Notification: Performance of SimCode: time 3e-07/0.1907, allocations: 7.938 kB / 0.6009 GB, free: 13.86 MB / 462.1 MB Notification: Performance of Templates: time 0.004002/0.1947, allocations: 1.529 MB / 0.6024 GB, free: 12.36 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: