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.1799/0.1819, allocations: 80.84 MB / 0.6706 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003078/0.1851, allocations: 1.474 MB / 0.672 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008665/0.186, allocations: 0.4919 MB / 0.6725 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.616e-05/0.1861, allocations: 3.938 kB / 0.6725 GB, free: 64 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.1862, allocations: 3.938 kB / 0.6725 GB, free: 60 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.366e-05/0.1862, allocations: 11.86 kB / 0.6725 GB, free: 48 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.1865, allocations: 39.89 kB / 0.6726 GB, free: 8 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.1866, allocations: 103.8 kB / 0.6727 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1867, allocations: 12.17 kB / 0.6727 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.1869, allocations: 51.84 kB / 0.6727 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.329e-05/0.187, allocations: 47.73 kB / 0.6728 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.187, allocations: 8 kB / 0.6728 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.02e-05/0.187, allocations: 12 kB / 0.6728 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.157e-05/0.1871, allocations: 7.984 kB / 0.6728 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.648e-05/0.1872, allocations: 39.8 kB / 0.6729 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.1873, allocations: 91.62 kB / 0.6729 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1873, allocations: 0 / 0.6729 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1873, allocations: 0 / 0.6729 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.1873, allocations: 0 / 0.6729 GB, free: 15.64 MB / 0.5137 GB 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.0007028/0.1881, allocations: 442.6 kB / 0.6734 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1881, allocations: 16.03 kB / 0.6734 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.1882, allocations: 8.891 kB / 0.6734 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.1883, allocations: 196.1 kB / 0.6736 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.1884, allocations: 4.375 kB / 0.6736 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.1884, allocations: 12.38 kB / 0.6736 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.1887, allocations: 117.7 kB / 0.6737 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1887, allocations: 0 / 0.6737 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.1888, allocations: 4 kB / 0.6737 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1888, allocations: 4 kB / 0.6737 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002907/0.1891, allocations: 87.92 kB / 0.6738 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005592/0.1896, allocations: 336.6 kB / 0.6741 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.19, allocations: 106.5 kB / 0.6742 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.1902, allocations: 76.92 kB / 0.6743 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.1902, allocations: 0 / 0.6743 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003026/0.1905, allocations: 119.3 kB / 0.6744 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 2.655e-06/0.1905, allocations: 0 / 0.6744 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006981/0.1912, allocations: 287.1 kB / 0.6747 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.1913, allocations: 89.09 kB / 0.6748 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.1914, allocations: 129.8 kB / 0.6749 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.1914, allocations: 29.7 kB / 0.6749 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.1915, allocations: 100.1 kB / 0.675 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.1915, allocations: 15.91 kB / 0.675 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-05/0.1916, allocations: 33.7 kB / 0.6751 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1917, allocations: 322.8 kB / 0.6754 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.1919, allocations: 67.95 kB / 0.6754 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.1921, allocations: 59.95 kB / 0.6755 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.1924, allocations: 193.8 kB / 0.6757 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1924, allocations: 0 / 0.6757 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004795/0.1929, allocations: 257 kB / 0.6759 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.279e-05/0.193, allocations: 64.19 kB / 0.676 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.193, allocations: 0 / 0.676 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.193, allocations: 0 / 0.676 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1931, allocations: 23.91 kB / 0.676 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1931, allocations: 0 / 0.676 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.1933, allocations: 23.92 kB / 0.676 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.1933, allocations: 8 kB / 0.676 GB, free: 12.18 MB / 0.5137 GB 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.0001192/0.1934, allocations: 159.5 kB / 0.6762 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.1935, allocations: 7.953 kB / 0.6762 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/0.1935, allocations: 12.38 kB / 0.6762 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-06/0.1935, allocations: 0 / 0.6762 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1935, allocations: 3.984 kB / 0.6762 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1935, allocations: 0 / 0.6762 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.1937, allocations: 201.6 kB / 0.6764 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1937, allocations: 3.984 kB / 0.6764 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.97e-05/0.1938, allocations: 11.98 kB / 0.6764 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1938, allocations: 0 / 0.6764 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.1938, allocations: 4 kB / 0.6764 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1938, allocations: 0 / 0.6764 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1938, allocations: 0 / 0.6764 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004742/0.1943, allocations: 250.6 kB / 0.6767 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.1944, allocations: 81.06 kB / 0.6767 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.1944, allocations: 8.312 kB / 0.6767 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.1945, allocations: 27.91 kB / 0.6768 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.1947, allocations: 35.95 kB / 0.6768 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.1947, allocations: 8 kB / 0.6768 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.431e-05/0.1947, allocations: 98.36 kB / 0.6769 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1948, allocations: 4 kB / 0.6769 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001983/0.195, allocations: 27.94 kB / 0.6769 GB, free: 11.14 MB / 0.5137 GB 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 9.758e-05/0.1951, allocations: 99.23 kB / 0.677 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004823/0.1955, allocations: 270.6 kB / 0.6773 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1956, allocations: 0 / 0.6773 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.1958, allocations: 143.3 kB / 0.6774 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.196, allocations: 12 kB / 0.6774 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004611/0.1965, allocations: 219 kB / 0.6776 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.1967, allocations: 0.6923 MB / 0.6783 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.79e-05/0.1968, allocations: 15.92 kB / 0.6783 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.1968, allocations: 11.44 kB / 0.6783 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.1968, allocations: 4 kB / 0.6783 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of Templates: time 0.004025/0.2009, allocations: 1.859 MB / 0.6802 GB, free: 7.746 MB / 0.5137 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (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)