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.218/0.2201, allocations: 80.83 MB / 0.6706 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003058/0.2232, allocations: 1.486 MB / 0.672 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009117/0.2241, allocations: 495.7 kB / 0.6725 GB, free: 60 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.56e-05/0.2242, allocations: 0 / 0.6725 GB, free: 60 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.2243, allocations: 7.922 kB / 0.6725 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.983e-05/0.2244, allocations: 23.86 kB / 0.6726 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.2246, allocations: 35.89 kB / 0.6726 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.2248, allocations: 103.8 kB / 0.6727 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.225, allocations: 16.17 kB / 0.6727 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.2251, allocations: 47.84 kB / 0.6727 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.035e-05/0.2252, allocations: 39.83 kB / 0.6728 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.2253, allocations: 8 kB / 0.6728 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.001e-05/0.2254, allocations: 8 kB / 0.6728 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.31e-05/0.2254, allocations: 11.98 kB / 0.6728 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.655e-05/0.2255, allocations: 47.77 kB / 0.6729 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.2256, allocations: 79.72 kB / 0.6729 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2257, allocations: 0 / 0.6729 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2257, allocations: 0 / 0.6729 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.2257, 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.0008395/0.2265, allocations: 458.6 kB / 0.6734 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2266, allocations: 8.031 kB / 0.6734 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.2266, allocations: 12.84 kB / 0.6734 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.2269, allocations: 188.2 kB / 0.6736 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.2269, allocations: 8.375 kB / 0.6736 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.227, allocations: 4.375 kB / 0.6736 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.2273, allocations: 117.7 kB / 0.6737 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2273, allocations: 4 kB / 0.6737 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.2273, allocations: 4 kB / 0.6737 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2274, allocations: 0 / 0.6737 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.2277, allocations: 87.92 kB / 0.6738 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005959/0.2283, allocations: 336.6 kB / 0.6741 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.2286, allocations: 106.5 kB / 0.6742 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.2288, allocations: 72.94 kB / 0.6743 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.2289, allocations: 3.938 kB / 0.6743 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003916/0.2293, allocations: 123.4 kB / 0.6744 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.502e-06/0.2293, allocations: 3.938 kB / 0.6744 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0007933/0.2301, allocations: 275.4 kB / 0.6747 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/0.2302, allocations: 93.08 kB / 0.6748 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.2303, allocations: 125.8 kB / 0.6749 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.2303, allocations: 33.7 kB / 0.6749 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.128e-05/0.2304, allocations: 95.98 kB / 0.675 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.2304, allocations: 19.8 kB / 0.675 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.165e-05/0.2305, allocations: 29.72 kB / 0.675 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2307, allocations: 326.8 kB / 0.6754 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.2309, allocations: 59.95 kB / 0.6754 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.231, allocations: 67.95 kB / 0.6755 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.2314, allocations: 185.8 kB / 0.6757 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2314, allocations: 96 / 0.6757 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004963/0.2319, allocations: 264.8 kB / 0.6759 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.181e-05/0.232, allocations: 67.33 kB / 0.676 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.232, allocations: 0 / 0.676 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.2321, allocations: 4 kB / 0.676 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.2322, allocations: 11.98 kB / 0.676 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.2322, allocations: 0 / 0.676 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.2324, allocations: 27.97 kB / 0.676 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.2324, allocations: 4 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.0001416/0.2325, allocations: 155.4 kB / 0.6762 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.2326, allocations: 11.91 kB / 0.6762 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.515e-05/0.2326, allocations: 16.36 kB / 0.6762 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2326, allocations: 0 / 0.6762 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.2326, allocations: 4 kB / 0.6762 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2326, allocations: 0 / 0.6762 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.2328, allocations: 189.5 kB / 0.6764 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2328, allocations: 0 / 0.6764 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.096e-05/0.2329, allocations: 11.98 kB / 0.6764 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2329, allocations: 4 kB / 0.6764 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.233, allocations: 4 kB / 0.6764 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.233, allocations: 0 / 0.6764 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.233, allocations: 12.09 kB / 0.6764 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005026/0.2335, allocations: 246.5 kB / 0.6766 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.06e-05/0.2336, allocations: 89 kB / 0.6767 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.2336, allocations: 4 kB / 0.6767 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.2337, allocations: 15.98 kB / 0.6767 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.2339, allocations: 44.06 kB / 0.6768 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.2339, allocations: 8 kB / 0.6768 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.977e-05/0.234, allocations: 102.1 kB / 0.6769 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.41e-07/0.234, allocations: 0 / 0.6769 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002205/0.2342, 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 0.0001449/0.2344, allocations: 111.2 kB / 0.677 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005678/0.235, allocations: 266.6 kB / 0.6773 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.235, allocations: 0 / 0.6773 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002783/0.2353, 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.0002296/0.2355, allocations: 19.92 kB / 0.6774 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005971/0.2361, allocations: 223.2 kB / 0.6776 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.2364, allocations: 0.6924 MB / 0.6783 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.144e-05/0.2365, allocations: 7.984 kB / 0.6783 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.2365, allocations: 15.44 kB / 0.6783 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.2365, allocations: 0 / 0.6783 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of Templates: time 0.005019/0.2415, allocations: 1.859 MB / 0.6802 GB, free: 7.734 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)