Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.849/1.849, allocations: 288.4 MB / 303.4 MB, free: 8.082 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 182.6 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.874/1.874, allocations: 205.4 MB / 0.6307 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007182/0.0007182, allocations: 90.19 kB / 0.7441 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005587/0.0005588, allocations: 14.55 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2984, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.00261/0.301, allocations: 1.18 MB / 0.9807 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.3024, allocations: 484.7 kB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.17e-05/0.3025, allocations: 3.938 kB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.3026, allocations: 4 kB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.425e-05/0.3028, allocations: 11.86 kB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.3031, allocations: 27.97 kB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.3034, allocations: 83.75 kB / 0.9813 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.3035, allocations: 16.17 kB / 0.9813 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.3038, allocations: 39.84 kB / 0.9814 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.3039, allocations: 35.89 kB / 0.9814 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.789e-05/0.304, allocations: 4 kB / 0.9814 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.581e-05/0.304, allocations: 4 kB / 0.9814 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.13e-05/0.3041, allocations: 15.91 kB / 0.9814 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.34e-05/0.3042, allocations: 41.64 kB / 0.9815 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.3043, allocations: 48.12 kB / 0.9815 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.036e-06/0.3043, allocations: 4 kB / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.785e-06/0.3044, allocations: 4 kB / 0.9815 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.3044, allocations: 0 / 0.9815 GB, free: 25.66 MB / 0.6198 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.0008847/0.3053, allocations: 438.5 kB / 0.9819 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.3053, allocations: 8.031 kB / 0.9819 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/0.3054, allocations: 15.91 kB / 0.982 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.3057, allocations: 198.8 kB / 0.9822 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.3057, allocations: 8 kB / 0.9822 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.3058, allocations: 4 kB / 0.9822 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004868/0.3063, allocations: 113.6 kB / 0.9823 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3063, allocations: 0 / 0.9823 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.3063, allocations: 8 kB / 0.9823 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3064, allocations: 4 kB / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005291/0.3069, allocations: 107.8 kB / 0.9824 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007797/0.3077, allocations: 336.8 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.3083, allocations: 122.5 kB / 0.9828 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/0.3086, allocations: 80.88 kB / 0.9829 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.3087, allocations: 0 / 0.9829 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005019/0.3092, allocations: 139.2 kB / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 2.715e-06/0.3092, allocations: 0 / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.001201/0.3104, allocations: 303.2 kB / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.3105, allocations: 85.06 kB / 0.9834 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.3106, allocations: 128.8 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.3107, allocations: 33.7 kB / 0.9836 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.3107, allocations: 96.05 kB / 0.9837 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.3108, allocations: 27.8 kB / 0.9837 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.656e-05/0.3108, allocations: 0 / 0.9837 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.486e-05/0.3109, allocations: 322.8 kB / 0.984 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/0.3113, allocations: 75.94 kB / 0.9841 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.3116, allocations: 71.95 kB / 0.9841 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.3119, allocations: 107.4 kB / 0.9842 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.312, allocations: 0 / 0.9842 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008251/0.3128, allocations: 280.8 kB / 0.9845 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.821e-05/0.3129, allocations: 67.39 kB / 0.9846 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3129, allocations: 0 / 0.9846 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.3129, allocations: 0 / 0.9846 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.3131, allocations: 19.98 kB / 0.9846 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.3132, allocations: 7.953 kB / 0.9846 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.3134, allocations: 27.97 kB / 0.9846 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.3135, allocations: 4 kB / 0.9846 GB, free: 22.21 MB / 0.6198 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.0001633/0.3137, allocations: 155.5 kB / 0.9848 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.3137, allocations: 7.906 kB / 0.9848 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.922e-05/0.3138, allocations: 12.38 kB / 0.9848 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.3138, allocations: 96 / 0.9848 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3138, allocations: 3.938 kB / 0.9848 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.3138, allocations: 3.953 kB / 0.9848 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.314, allocations: 193.6 kB / 0.985 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.314, allocations: 0 / 0.985 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.3142, allocations: 15.98 kB / 0.985 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.3142, allocations: 7.938 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/0.3143, allocations: 4.25 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.3143, allocations: 7.984 kB / 0.985 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3143, allocations: 0 / 0.985 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007855/0.3151, allocations: 262.6 kB / 0.9853 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.3152, allocations: 92.89 kB / 0.9854 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.3152, allocations: 4 kB / 0.9854 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.3155, allocations: 27.97 kB / 0.9854 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/0.3157, allocations: 39.95 kB / 0.9854 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.3157, allocations: 4 kB / 0.9854 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.994e-05/0.3158, allocations: 99.27 kB / 0.9855 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3158, allocations: 0 / 0.9855 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003778/0.3162, allocations: 20 kB / 0.9855 GB, free: 21.16 MB / 0.6198 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.0001406/0.3164, allocations: 107.2 kB / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007863/0.3172, allocations: 278.7 kB / 0.9859 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.3172, allocations: 0 / 0.9859 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004045/0.3176, allocations: 151.4 kB / 0.986 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.318, allocations: 22.19 kB / 0.9861 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007778/0.3188, allocations: 233.2 kB / 0.9863 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.319, allocations: 0.6888 MB / 0.987 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.921e-05/0.3191, allocations: 8.172 kB / 0.987 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.215e-05/0.3191, allocations: 11.44 kB / 0.987 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of SimCode: time 6.72e-07/0.3191, allocations: 0 / 0.987 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of Templates: time 0.006375/0.3255, allocations: 1.54 MB / 0.9885 GB, free: 18.05 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)