Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.569/1.569, allocations: 252 MB / 267.6 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 174.3 kB / 327.3 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.4 MB / 0.5783 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007174/0.0007174, allocations: 80.25 kB / 0.6829 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003187, allocations: 10.97 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1835, allocations: 106.3 MB / 0.9008 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.00173/0.1853, allocations: 1.192 MB / 0.902 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007028/0.186, allocations: 487.7 kB / 0.9024 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.82e-05/0.1861, allocations: 3.938 kB / 0.9024 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.927e-05/0.1862, allocations: 0 / 0.9024 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.638e-05/0.1863, allocations: 19.86 kB / 0.9025 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.1865, allocations: 23.97 kB / 0.9025 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.1866, allocations: 79.77 kB / 0.9026 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1867, allocations: 12.16 kB / 0.9026 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.1868, allocations: 43.84 kB / 0.9026 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.148e-05/0.1869, allocations: 35.89 kB / 0.9027 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.187, allocations: 4 kB / 0.9027 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.661e-05/0.187, allocations: 8 kB / 0.9027 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.94e-05/0.187, allocations: 7.922 kB / 0.9027 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.244e-05/0.1871, allocations: 37.7 kB / 0.9027 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.383e-05/0.1872, allocations: 59.83 kB / 0.9028 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1872, allocations: 0 / 0.9028 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1872, allocations: 0 / 0.9028 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.1872, allocations: 0 / 0.9028 GB, free: 62.28 MB / 0.6042 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.0006109/0.1878, allocations: 454.6 kB / 0.9032 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.1878, allocations: 8.031 kB / 0.9032 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.1879, allocations: 4 kB / 0.9032 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.188, allocations: 186.9 kB / 0.9034 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.1881, allocations: 11.97 kB / 0.9034 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.1881, allocations: 8 kB / 0.9034 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.1884, allocations: 121.6 kB / 0.9035 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1884, allocations: 0 / 0.9035 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.1884, allocations: 11.94 kB / 0.9035 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1884, allocations: 0 / 0.9035 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.1887, allocations: 107.9 kB / 0.9036 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004529/0.1892, allocations: 340.6 kB / 0.904 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.1895, allocations: 118.5 kB / 0.9041 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.1897, allocations: 88.94 kB / 0.9042 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.1897, allocations: 0 / 0.9042 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003369/0.1901, allocations: 131.3 kB / 0.9043 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.1901, allocations: 0 / 0.9043 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0006505/0.1907, allocations: 299.2 kB / 0.9046 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.1908, allocations: 85.11 kB / 0.9047 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.328e-05/0.1909, allocations: 135.7 kB / 0.9048 GB, free: 60 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1909, allocations: 29.7 kB / 0.9048 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.1909, allocations: 92.14 kB / 0.9049 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.1909, allocations: 19.8 kB / 0.9049 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/0.191, allocations: 0 / 0.9049 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.051e-05/0.191, allocations: 318.8 kB / 0.9052 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.1912, allocations: 79.94 kB / 0.9053 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.1914, allocations: 71.89 kB / 0.9054 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.1915, allocations: 115.4 kB / 0.9055 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1916, allocations: 3.938 kB / 0.9055 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004329/0.192, allocations: 264.9 kB / 0.9057 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.684e-05/0.1921, allocations: 75.39 kB / 0.9058 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1921, allocations: 3.938 kB / 0.9058 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.1921, allocations: 0 / 0.9058 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.1922, allocations: 19.94 kB / 0.9058 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.1922, allocations: 0 / 0.9058 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.1924, allocations: 36 kB / 0.9059 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.1924, allocations: 11.94 kB / 0.9059 GB, free: 58.82 MB / 0.6042 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 ($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 9.55e-05/0.1925, allocations: 147.6 kB / 0.906 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.1926, allocations: 11.89 kB / 0.906 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.176e-05/0.1926, allocations: 12.38 kB / 0.906 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1926, allocations: 0 / 0.906 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1926, allocations: 3.953 kB / 0.906 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1926, allocations: 0 / 0.906 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.1928, allocations: 197.6 kB / 0.9062 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1928, allocations: 4 kB / 0.9062 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-05/0.1929, allocations: 15.98 kB / 0.9062 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1929, allocations: 0 / 0.9062 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.1929, allocations: 4 kB / 0.9063 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1929, allocations: 0 / 0.9063 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1929, allocations: 0 / 0.9063 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004345/0.1934, allocations: 266.8 kB / 0.9065 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.405e-05/0.1934, allocations: 85 kB / 0.9066 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.1934, allocations: 4 kB / 0.9066 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.1936, allocations: 35.98 kB / 0.9066 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.1937, allocations: 35.94 kB / 0.9067 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.1937, allocations: 4 kB / 0.9067 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.105e-05/0.1938, allocations: 101.2 kB / 0.9068 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1938, allocations: 0 / 0.9068 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001982/0.194, allocations: 27.95 kB / 0.9068 GB, free: 57.77 MB / 0.6042 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 (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.0001068/0.1941, allocations: 103.2 kB / 0.9069 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004466/0.1945, allocations: 278.6 kB / 0.9072 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1946, allocations: 0 / 0.9072 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.1948, allocations: 151.3 kB / 0.9073 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.195, allocations: 14.66 kB / 0.9073 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004788/0.1955, allocations: 274.7 kB / 0.9076 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.1957, allocations: 0.695 MB / 0.9083 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.1957, allocations: 11.42 kB / 0.9083 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.1957, allocations: 4 kB / 0.9083 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of Templates: time 0.00259/0.1983, allocations: 1.412 MB / 0.9096 GB, free: 54.76 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)