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.1732/0.1751, allocations: 80.83 MB / 0.5897 GB, free: 7.105 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003032/0.1782, allocations: 1.547 MB / 0.5912 GB, free: 5.535 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008043/0.179, allocations: 0.4888 MB / 0.5917 GB, free: 5.039 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.195e-05/0.1791, allocations: 0 / 0.5917 GB, free: 5.039 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.1792, allocations: 3.938 kB / 0.5917 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.598e-05/0.1793, allocations: 15.86 kB / 0.5917 GB, free: 5.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.1795, allocations: 35.95 kB / 0.5917 GB, free: 4.984 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.1796, allocations: 83.83 kB / 0.5918 GB, free: 4.902 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1797, allocations: 8.188 kB / 0.5918 GB, free: 4.895 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.1799, allocations: 51.77 kB / 0.5919 GB, free: 4.844 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.92e-05/0.18, allocations: 39.83 kB / 0.5919 GB, free: 4.805 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.18, allocations: 8 kB / 0.5919 GB, free: 4.797 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.759e-05/0.18, allocations: 7.938 kB / 0.5919 GB, free: 4.789 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.582e-05/0.1801, allocations: 11.98 kB / 0.5919 GB, free: 4.777 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.339e-05/0.1802, allocations: 39.78 kB / 0.592 GB, free: 4.738 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.1803, allocations: 71.98 kB / 0.592 GB, free: 4.668 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1803, allocations: 0 / 0.592 GB, free: 4.668 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1803, allocations: 4 kB / 0.592 GB, free: 4.664 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1803, allocations: 0 / 0.592 GB, free: 4.664 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.0007123/0.181, allocations: 458 kB / 0.5925 GB, free: 4.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1811, allocations: 12.03 kB / 0.5925 GB, free: 4.148 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.788e-05/0.1811, allocations: 12.84 kB / 0.5925 GB, free: 4.137 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.1813, allocations: 188.2 kB / 0.5927 GB, free: 3.914 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1813, allocations: 8.359 kB / 0.5927 GB, free: 3.906 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.1814, allocations: 4.375 kB / 0.5927 GB, free: 3.902 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.1817, allocations: 117.8 kB / 0.5928 GB, free: 3.781 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1817, allocations: 0 / 0.5928 GB, free: 3.781 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.1817, allocations: 4 kB / 0.5928 GB, free: 3.777 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.1817, allocations: 4 kB / 0.5928 GB, free: 3.773 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002966/0.182, allocations: 87.91 kB / 0.5929 GB, free: 3.688 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005217/0.1825, allocations: 332.7 kB / 0.5932 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/0.1829, allocations: 110.5 kB / 0.5933 GB, free: 3.195 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.183, allocations: 68.94 kB / 0.5934 GB, free: 3.125 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.1831, allocations: 4 kB / 0.5934 GB, free: 3.121 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003213/0.1834, allocations: 131.3 kB / 0.5935 GB, free: 2.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.1834, allocations: 0 / 0.5935 GB, free: 2.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006681/0.1841, allocations: 271.2 kB / 0.5938 GB, free: 2.703 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.1841, allocations: 85.11 kB / 0.5938 GB, free: 2.602 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.1843, allocations: 129.7 kB / 0.594 GB, free: 2.465 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.1843, allocations: 33.7 kB / 0.594 GB, free: 2.426 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.738e-05/0.1844, allocations: 100.1 kB / 0.5941 GB, free: 2.324 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.1844, allocations: 15.8 kB / 0.5941 GB, free: 2.309 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.644e-05/0.1845, allocations: 29.72 kB / 0.5941 GB, free: 2.273 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1846, allocations: 322.8 kB / 0.5944 GB, free: 1.949 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.1848, allocations: 63.95 kB / 0.5945 GB, free: 1.887 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.185, allocations: 63.95 kB / 0.5946 GB, free: 1.824 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/0.1853, allocations: 189.9 kB / 0.5947 GB, free: 1.617 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1853, allocations: 7.938 kB / 0.5948 GB, free: 1.609 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004842/0.1858, allocations: 260.9 kB / 0.595 GB, free: 1.336 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.98e-05/0.1859, allocations: 67.39 kB / 0.5951 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1859, allocations: 0 / 0.5951 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1859, allocations: 0 / 0.5951 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.186, allocations: 19.98 kB / 0.5951 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.186, allocations: 0 / 0.5951 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.1862, allocations: 19.97 kB / 0.5951 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.1862, allocations: 4 kB / 0.5951 GB, free: 1.215 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 (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.0001296/0.1863, allocations: 160.3 kB / 0.5953 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.1864, allocations: 11.89 kB / 0.5953 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.1864, allocations: 12.38 kB / 0.5953 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1864, allocations: 4 kB / 0.5953 GB, free: 1.016 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1864, allocations: 0 / 0.5953 GB, free: 1.016 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1864, allocations: 0 / 0.5953 GB, free: 1.016 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.1866, allocations: 197.5 kB / 0.5955 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1866, allocations: 0 / 0.5955 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.512e-05/0.1867, allocations: 11.98 kB / 0.5955 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1867, allocations: 0 / 0.5955 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.1867, allocations: 8 kB / 0.5955 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1867, allocations: 0 / 0.5955 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1867, allocations: 3.938 kB / 0.5955 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004856/0.1872, allocations: 262.8 kB / 0.5957 GB, free: 480 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.1873, allocations: 85 kB / 0.5958 GB, free: 376 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.1873, allocations: 4 kB / 0.5958 GB, free: 372 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.1875, allocations: 19.98 kB / 0.5959 GB, free: 352 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.1876, allocations: 39.95 kB / 0.5959 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.1876, allocations: 0 / 0.5959 GB, free: 312 kB / 446.1 MB Notification: Performance of sorting global known variables: time 7.038e-05/0.1877, allocations: 106.2 kB / 0.596 GB, free: 208 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1877, allocations: 3.938 kB / 0.596 GB, free: 204 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002048/0.1879, allocations: 27.94 kB / 0.596 GB, free: 176 kB / 446.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.0001212/0.188, allocations: 99.25 kB / 0.5961 GB, free: 64 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005456/0.1886, allocations: 270.6 kB / 0.5964 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1886, allocations: 0 / 0.5964 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002548/0.1889, allocations: 139.3 kB / 0.5965 GB, free: 15.62 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.1891, allocations: 10.19 kB / 0.5965 GB, free: 15.62 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005536/0.1897, allocations: 248.9 kB / 0.5968 GB, free: 15.35 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.19, allocations: 0.6926 MB / 0.5974 GB, free: 14.63 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.941e-05/0.19, allocations: 4 kB / 0.5974 GB, free: 14.63 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.1901, allocations: 15.42 kB / 0.5975 GB, free: 14.61 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1901, allocations: 4 kB / 0.5975 GB, free: 14.61 MB / 462.1 MB Notification: Performance of Templates: time 0.004162/0.1943, allocations: 1.576 MB / 0.599 GB, free: 13.06 MB / 462.1 MB 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)