Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008329/0.000833, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008494/0.0008494, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.262/1.262, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.534/1.534, allocations: 292.5 MB / 0.5497 GB, free: 14.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004895/0.0004895, allocations: 13.72 kB / 0.6735 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1936, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001765/0.1954, allocations: 1.183 MB / 0.7883 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007071/0.1961, allocations: 481.4 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.154e-05/0.1962, allocations: 3.938 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.728e-05/0.1963, allocations: 3.984 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.437e-05/0.1963, allocations: 11.92 kB / 0.7887 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.1965, allocations: 23.97 kB / 0.7888 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.315e-05/0.1966, allocations: 55.91 kB / 0.7888 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.059e-05/0.1967, allocations: 16.19 kB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.1968, allocations: 39.84 kB / 0.7889 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.4e-05/0.1969, allocations: 39.88 kB / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.1969, allocations: 4 kB / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.763e-05/0.1969, allocations: 4 kB / 0.7889 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.833e-05/0.197, allocations: 11.86 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.197, allocations: 37.7 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.647e-05/0.1971, allocations: 60.11 kB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.1971, allocations: 4 kB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1971, allocations: 0 / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.1971, allocations: 0 / 0.789 GB, free: 10.01 MB / 0.6075 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.0005783/0.1977, allocations: 438.5 kB / 0.7894 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.1978, allocations: 8.031 kB / 0.7894 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.1978, allocations: 7.906 kB / 0.7894 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.198, allocations: 202 kB / 0.7896 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.198, allocations: 4 kB / 0.7896 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.198, allocations: 15.94 kB / 0.7897 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.1983, allocations: 113.6 kB / 0.7898 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.1983, allocations: 0 / 0.7898 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.1984, allocations: 3.984 kB / 0.7898 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.1984, allocations: 4 kB / 0.7898 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.1987, allocations: 103.9 kB / 0.7899 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005369/0.1992, allocations: 340.7 kB / 0.7902 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.1995, allocations: 122.5 kB / 0.7903 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.1996, allocations: 4.062 kB / 0.7903 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002929/0.1999, allocations: 127.5 kB / 0.7904 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 2.905e-06/0.1999, allocations: 4 kB / 0.7904 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.000657/0.2005, allocations: 303.1 kB / 0.7907 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.2006, allocations: 89.06 kB / 0.7908 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.09e-05/0.2007, allocations: 124.8 kB / 0.7909 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.2007, allocations: 33.7 kB / 0.791 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.986e-05/0.2008, allocations: 100 kB / 0.7911 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.2008, allocations: 15.75 kB / 0.7911 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/0.2008, allocations: 4 kB / 0.7911 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.858e-05/0.2009, allocations: 326.8 kB / 0.7914 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.2011, allocations: 67.95 kB / 0.7915 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.2013, allocations: 75.89 kB / 0.7915 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.2015, allocations: 115.3 kB / 0.7916 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2015, allocations: 0 / 0.7916 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004675/0.202, allocations: 276.9 kB / 0.7919 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.545e-05/0.202, allocations: 63.39 kB / 0.792 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.202, allocations: 0 / 0.792 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.202, allocations: 0 / 0.792 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.2022, allocations: 20.02 kB / 0.792 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.2022, allocations: 7.938 kB / 0.792 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.2023, allocations: 39.92 kB / 0.792 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.2024, allocations: 0 / 0.792 GB, free: 6.641 MB / 0.6075 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 0.000105/0.2025, allocations: 155.5 kB / 0.7922 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.2025, allocations: 7.906 kB / 0.7922 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.531e-05/0.2025, allocations: 12.38 kB / 0.7922 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2025, allocations: 0 / 0.7922 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2025, allocations: 0 / 0.7922 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2025, allocations: 4 kB / 0.7922 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.2027, allocations: 193.6 kB / 0.7924 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2027, allocations: 0 / 0.7924 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.399e-05/0.2028, allocations: 15.98 kB / 0.7924 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2028, allocations: 0 / 0.7924 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.2028, allocations: 11.98 kB / 0.7924 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2028, allocations: 0 / 0.7924 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2028, allocations: 0 / 0.7924 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004556/0.2033, allocations: 270.8 kB / 0.7927 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.649e-05/0.2033, allocations: 88.95 kB / 0.7928 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.2034, allocations: 8.062 kB / 0.7928 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.2035, allocations: 27.97 kB / 0.7928 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.2036, allocations: 39.95 kB / 0.7928 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.2036, allocations: 4 kB / 0.7928 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.269e-05/0.2037, allocations: 95.27 kB / 0.7929 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2037, allocations: 0 / 0.7929 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002006/0.2039, allocations: 24 kB / 0.793 GB, free: 5.594 MB / 0.6075 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 8.993e-05/0.204, allocations: 107.2 kB / 0.7931 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004747/0.2045, allocations: 282.6 kB / 0.7933 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2045, allocations: 0 / 0.7933 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.2047, allocations: 151.3 kB / 0.7935 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.2049, allocations: 15.94 kB / 0.7935 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004446/0.2054, allocations: 233.2 kB / 0.7937 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.2056, allocations: 0.6926 MB / 0.7944 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.844e-05/0.2057, allocations: 16.11 kB / 0.7944 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.2057, allocations: 11.44 kB / 0.7944 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2057, allocations: 0 / 0.7944 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of Templates: time 0.003535/0.2092, allocations: 1.529 MB / 0.7959 GB, free: 2.496 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) Environment - environmentSimulation: