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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 1.02/1.02, allocations: 133.7 MB / 148.6 MB, free: 13.65 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001158/0.001158, allocations: 182.7 kB / 180.9 MB, free: 15.09 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.355/1.355, allocations: 170.7 MB / 383.7 MB, free: 16.27 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001663/0.001663, allocations: 120.7 kB / 454.6 MB, free: 9.852 MB / 346.7 MB [/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.1474/0.1478, allocations: 73.41 MB / 0.6812 GB, free: 5.562 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.456/0.6038, allocations: 102.5 MB / 0.7813 GB, free: 23.94 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.6042, allocations: 71.89 kB / 0.7814 GB, free: 23.91 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004522/0.6087, allocations: 1.489 MB / 0.7828 GB, free: 22.94 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6087, allocations: 2.734 kB / 0.7828 GB, free: 22.94 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.6087, allocations: 0 / 0.7828 GB, free: 22.94 MB / 490.7 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.0004863/0.6092, allocations: 446.5 kB / 0.7833 GB, free: 22.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.6093, allocations: 13.36 kB / 0.7833 GB, free: 22.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.6093, allocations: 16.19 kB / 0.7833 GB, free: 22.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.6095, allocations: 180.4 kB / 0.7835 GB, free: 22.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.6095, allocations: 4 kB / 0.7835 GB, free: 22.24 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.6095, allocations: 12.33 kB / 0.7835 GB, free: 22.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.6099, allocations: 127.4 kB / 0.7836 GB, free: 22.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.6099, allocations: 0 / 0.7836 GB, free: 22.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.6099, allocations: 0 / 0.7836 GB, free: 22.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.6099, allocations: 6.922 kB / 0.7836 GB, free: 22.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000293/0.6102, allocations: 105 kB / 0.7837 GB, free: 22.07 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.6107, allocations: 344.5 kB / 0.784 GB, free: 21.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.611, allocations: 126.4 kB / 0.7842 GB, free: 21.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.611, allocations: 0.6094 kB / 0.7842 GB, free: 21.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002861/0.6113, allocations: 131.5 kB / 0.7843 GB, free: 21.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.472e-06/0.6114, allocations: 0 / 0.7843 GB, free: 21.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007096/0.6121, allocations: 302.8 kB / 0.7846 GB, free: 21.33 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.6121, allocations: 86.3 kB / 0.7847 GB, free: 21.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.017e-05/0.6122, allocations: 117.1 kB / 0.7848 GB, free: 21.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.6122, allocations: 33.39 kB / 0.7848 GB, free: 21.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.094e-05/0.6123, allocations: 98.84 kB / 0.7849 GB, free: 21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.6123, allocations: 16.61 kB / 0.7849 GB, free: 20.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.126e-06/0.6123, allocations: 0 / 0.7849 GB, free: 20.98 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.302e-05/0.6124, allocations: 325.3 kB / 0.7852 GB, free: 20.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.6126, allocations: 71.09 kB / 0.7853 GB, free: 20.62 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.6128, allocations: 72.56 kB / 0.7854 GB, free: 20.58 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.6129, allocations: 117.9 kB / 0.7855 GB, free: 20.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.613, allocations: 3.953 kB / 0.7855 GB, free: 20.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004716/0.6134, allocations: 275.3 kB / 0.7857 GB, free: 20.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.6135, allocations: 69.7 kB / 0.7858 GB, free: 20.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.6135, allocations: 0 / 0.7858 GB, free: 20.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.6135, allocations: 4 kB / 0.7858 GB, free: 20.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.6137, allocations: 17.06 kB / 0.7858 GB, free: 20.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.6137, allocations: 0 / 0.7858 GB, free: 20.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.6138, allocations: 34.84 kB / 0.7859 GB, free: 20.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.6139, allocations: 9.234 kB / 0.7859 GB, free: 20.12 MB / 490.7 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 ($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.092e-05/0.614, allocations: 153.1 kB / 0.786 GB, free: 19.97 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.614, allocations: 15.8 kB / 0.786 GB, free: 19.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.614, allocations: 9.172 kB / 0.786 GB, free: 19.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.614, allocations: 4.797 kB / 0.786 GB, free: 19.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.614, allocations: 6.188 kB / 0.786 GB, free: 19.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.614, allocations: 0 / 0.786 GB, free: 19.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.6142, allocations: 191.4 kB / 0.7862 GB, free: 19.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6142, allocations: 0 / 0.7862 GB, free: 19.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.698e-05/0.6143, allocations: 20.69 kB / 0.7863 GB, free: 19.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.6143, allocations: 3.984 kB / 0.7863 GB, free: 19.72 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.6143, allocations: 0.6562 kB / 0.7863 GB, free: 19.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6143, allocations: 4.562 kB / 0.7863 GB, free: 19.72 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6143, allocations: 1.688 kB / 0.7863 GB, free: 19.72 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004469/0.6148, allocations: 258.5 kB / 0.7865 GB, free: 19.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.224e-05/0.6149, allocations: 96 kB / 0.7866 GB, free: 19.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.6149, allocations: 12.88 kB / 0.7866 GB, free: 19.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.615, allocations: 28.92 kB / 0.7866 GB, free: 19.37 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.6152, allocations: 36.38 kB / 0.7867 GB, free: 19.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.6152, allocations: 7.938 kB / 0.7867 GB, free: 19.35 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.374e-05/0.6152, allocations: 101.4 kB / 0.7868 GB, free: 19.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6152, allocations: 0 / 0.7868 GB, free: 19.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002022/0.6154, allocations: 35.75 kB / 0.7868 GB, free: 19.23 MB / 490.7 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 (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.0001014/0.6156, allocations: 100.9 kB / 0.7869 GB, free: 19.13 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004971/0.6161, allocations: 281.3 kB / 0.7872 GB, free: 18.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6161, allocations: 0 / 0.7872 GB, free: 18.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002278/0.6163, allocations: 147 kB / 0.7873 GB, free: 18.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.6165, allocations: 11.09 kB / 0.7873 GB, free: 18.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.6169, allocations: 237.7 kB / 0.7876 GB, free: 18.56 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.6171, allocations: 0.6952 MB / 0.7882 GB, free: 17.85 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.329e-05/0.6172, allocations: 14.7 kB / 0.7882 GB, free: 17.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/0.6172, allocations: 12.94 kB / 0.7883 GB, free: 17.83 MB / 490.7 MB Notification: Performance of SimCode: time 3.91e-07/0.6172, allocations: 0 / 0.7883 GB, free: 17.83 MB / 490.7 MB Notification: Performance of Templates: time 0.004542/0.6218, allocations: 1.524 MB / 0.7897 GB, free: 16.97 MB / 490.7 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)