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.436/0.4379, allocations: 80.82 MB / 0.5904 GB, free: 22.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003508/0.4415, allocations: 1.465 MB / 0.5918 GB, free: 21.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.4426, allocations: 0.4972 MB / 0.5923 GB, free: 20.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.393e-05/0.4427, allocations: 0 / 0.5923 GB, free: 20.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.4429, allocations: 13.02 kB / 0.5923 GB, free: 20.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.406e-05/0.4429, allocations: 18.8 kB / 0.5924 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.4432, allocations: 37.64 kB / 0.5924 GB, free: 20.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.4435, allocations: 100.5 kB / 0.5925 GB, free: 20.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.4436, allocations: 18.7 kB / 0.5925 GB, free: 20.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.4438, allocations: 55.77 kB / 0.5926 GB, free: 20.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.907e-05/0.4439, allocations: 35.89 kB / 0.5926 GB, free: 20.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.4439, allocations: 8.875 kB / 0.5926 GB, free: 20.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.072e-05/0.4439, allocations: 8 kB / 0.5926 GB, free: 20.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.52e-05/0.444, allocations: 15.92 kB / 0.5926 GB, free: 20.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.478e-05/0.4441, allocations: 41.12 kB / 0.5927 GB, free: 20.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.4442, allocations: 82.3 kB / 0.5927 GB, free: 20.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4443, allocations: 0 / 0.5927 GB, free: 20.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4443, allocations: 0.5625 kB / 0.5927 GB, free: 20.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.4443, allocations: 0 / 0.5927 GB, free: 20.39 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.0007344/0.445, allocations: 457.7 kB / 0.5932 GB, free: 19.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.4451, allocations: 8.031 kB / 0.5932 GB, free: 19.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.012e-05/0.4451, allocations: 12.84 kB / 0.5932 GB, free: 19.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.4453, allocations: 188.2 kB / 0.5934 GB, free: 19.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.4453, allocations: 8.375 kB / 0.5934 GB, free: 19.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.4453, allocations: 4.375 kB / 0.5934 GB, free: 19.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003132/0.4457, allocations: 123.5 kB / 0.5935 GB, free: 19.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.4457, allocations: 0 / 0.5935 GB, free: 19.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.4457, allocations: 4 kB / 0.5935 GB, free: 19.51 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.4457, allocations: 1.344 kB / 0.5935 GB, free: 19.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.446, allocations: 88.48 kB / 0.5936 GB, free: 19.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005359/0.4465, allocations: 332.7 kB / 0.5939 GB, free: 19.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.4469, allocations: 106.5 kB / 0.594 GB, free: 18.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.447, allocations: 71.31 kB / 0.5941 GB, free: 18.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.4471, allocations: 4 kB / 0.5941 GB, free: 18.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003231/0.4474, allocations: 119.3 kB / 0.5942 GB, free: 18.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.4474, allocations: 2.531 kB / 0.5942 GB, free: 18.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006729/0.4481, allocations: 275.2 kB / 0.5945 GB, free: 18.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.4481, allocations: 89.05 kB / 0.5945 GB, free: 18.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.467e-05/0.4482, allocations: 129.8 kB / 0.5947 GB, free: 18.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.4483, allocations: 29.7 kB / 0.5947 GB, free: 18.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.4483, allocations: 100 kB / 0.5948 GB, free: 18.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.4484, allocations: 19.88 kB / 0.5948 GB, free: 18.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.4484, allocations: 25.7 kB / 0.5948 GB, free: 18.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.741e-05/0.4485, allocations: 322.8 kB / 0.5951 GB, free: 17.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.4487, allocations: 71.94 kB / 0.5952 GB, free: 17.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.4488, allocations: 67.89 kB / 0.5953 GB, free: 17.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.4491, allocations: 181.9 kB / 0.5955 GB, free: 17.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4491, allocations: 0 / 0.5955 GB, free: 17.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004158/0.4496, allocations: 260.8 kB / 0.5957 GB, free: 17.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.367e-05/0.4496, allocations: 67.41 kB / 0.5958 GB, free: 17.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.4496, allocations: 0 / 0.5958 GB, free: 17.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.4497, allocations: 0 / 0.5958 GB, free: 17.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.4498, allocations: 15.92 kB / 0.5958 GB, free: 17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.4498, allocations: 12.12 kB / 0.5958 GB, free: 16.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.45, allocations: 23.92 kB / 0.5958 GB, free: 16.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.851e-05/0.45, allocations: 4 kB / 0.5958 GB, free: 16.96 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.0001192/0.4501, allocations: 167.4 kB / 0.596 GB, free: 16.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.4501, allocations: 8.156 kB / 0.596 GB, free: 16.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.4502, allocations: 8.375 kB / 0.596 GB, free: 16.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.4502, allocations: 7.984 kB / 0.596 GB, free: 16.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4502, allocations: 4 kB / 0.596 GB, free: 16.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.4502, allocations: 3.984 kB / 0.596 GB, free: 16.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.4504, allocations: 189.6 kB / 0.5962 GB, free: 16.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4504, allocations: 0 / 0.5962 GB, free: 16.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.934e-05/0.4505, allocations: 15.97 kB / 0.5962 GB, free: 16.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4505, allocations: 0 / 0.5962 GB, free: 16.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.4505, allocations: 4 kB / 0.5962 GB, free: 16.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4505, allocations: 4 kB / 0.5962 GB, free: 16.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4505, allocations: 0 / 0.5962 GB, free: 16.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004348/0.4509, allocations: 242.6 kB / 0.5964 GB, free: 16.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.451, allocations: 85.11 kB / 0.5965 GB, free: 16.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.451, allocations: 11.94 kB / 0.5965 GB, free: 16.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.4512, allocations: 27.91 kB / 0.5966 GB, free: 16.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.4513, allocations: 35.95 kB / 0.5966 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.4513, allocations: 4 kB / 0.5966 GB, free: 16.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.536e-05/0.4514, allocations: 97.38 kB / 0.5967 GB, free: 15.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4514, allocations: 0 / 0.5967 GB, free: 15.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001976/0.4516, allocations: 31.94 kB / 0.5967 GB, free: 15.93 MB / 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 9.829e-05/0.4517, allocations: 103.2 kB / 0.5968 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004406/0.4521, allocations: 266.6 kB / 0.5971 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4521, allocations: 0 / 0.5971 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.4523, allocations: 139.3 kB / 0.5972 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.4526, allocations: 10.03 kB / 0.5972 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.453, allocations: 237.3 kB / 0.5974 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.4532, allocations: 0.6885 MB / 0.5981 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.803e-05/0.4532, allocations: 15.98 kB / 0.5981 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.4533, allocations: 15.44 kB / 0.5982 GB, free: 14.37 MB / 446.1 MB Notification: Performance of SimCode: time 1.393e-06/0.4533, allocations: 0 / 0.5982 GB, free: 14.37 MB / 446.1 MB Notification: Performance of Templates: time 0.003981/0.4573, allocations: 1.855 MB / 0.6 GB, free: 12.54 MB / 446.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)