Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002159/0.002159, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.654/1.654, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.212/3.212, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 1.001 GB, free: 13.08 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.067e-05/3.215e-05, allocations: 5.656 kB / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.003185/0.003217, allocations: 1.502 MB / 1.003 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.004307, allocations: 494.7 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.12e-05/0.004388, allocations: 7.938 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.00449, allocations: 7.875 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.377e-05/0.004564, allocations: 19.84 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.004887, allocations: 47.83 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.005103, allocations: 107.7 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.00522, allocations: 4.188 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.005475, allocations: 71.88 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.005576, allocations: 43.81 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.00561, allocations: 8 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.095e-05/0.005661, allocations: 12 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.606e-05/0.005707, allocations: 11.98 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.288e-05/0.00578, allocations: 27.92 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.006004, allocations: 107.7 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.006007, allocations: 0 / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.71e-07/0.006008, allocations: 0 / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.006013, allocations: 0 / 1.003 GB, free: 10.61 MB / 0.9636 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.0007918/0.006804, allocations: 377.4 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.006845, allocations: 9.344 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.006997, allocations: 20.89 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.007234, allocations: 133.7 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.007253, allocations: 8.375 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.007272, allocations: 4.375 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.007635, allocations: 147.8 kB / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.007644, allocations: 192 / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.007666, allocations: 12.12 kB / 1.004 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.007671, allocations: 0 / 1.004 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003443/0.008015, allocations: 121.6 kB / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005753/0.00859, allocations: 260.4 kB / 1.005 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.008961, allocations: 132.2 kB / 1.005 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.009196, allocations: 102.5 kB / 1.005 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.009213, allocations: 8 kB / 1.005 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003465/0.00956, allocations: 153 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.009561, allocations: 0 / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0008616/0.01042, allocations: 334.6 kB / 1.005 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.935e-05/0.0105, allocations: 81.11 kB / 1.005 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.01065, allocations: 138 kB / 1.005 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.483e-05/0.01069, allocations: 29.7 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.699e-05/0.01077, allocations: 100.1 kB / 1.006 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.0108, allocations: 15.91 kB / 1.006 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.548e-05/0.01088, allocations: 33.7 kB / 1.006 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.01106, allocations: 318.8 kB / 1.006 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.01131, allocations: 123.4 kB / 1.006 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.01154, allocations: 127.3 kB / 1.006 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003897/0.01193, allocations: 185.9 kB / 1.006 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01193, allocations: 0 / 1.006 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006296/0.01256, allocations: 328.2 kB / 1.007 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 7.433e-05/0.01264, allocations: 69.89 kB / 1.007 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01264, allocations: 0 / 1.007 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.01266, allocations: 0 / 1.007 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.01278, allocations: 15.98 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.01279, allocations: 0 / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.01295, allocations: 31.91 kB / 1.007 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.01297, allocations: 4 kB / 1.007 GB, free: 6.93 MB / 0.9636 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 (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.0001521/0.01313, allocations: 155.5 kB / 1.007 GB, free: 6.762 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.01315, allocations: 15.89 kB / 1.007 GB, free: 6.746 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.01319, allocations: 8.781 kB / 1.007 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.01319, allocations: 0 / 1.007 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.0132, allocations: 4 kB / 1.007 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.0132, allocations: 4.25 kB / 1.007 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.01334, allocations: 121.4 kB / 1.007 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.01335, allocations: 4 kB / 1.007 GB, free: 6.574 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.229e-05/0.01344, allocations: 15.92 kB / 1.007 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.01345, allocations: 7.984 kB / 1.007 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.01346, allocations: 0 / 1.007 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01346, allocations: 0 / 1.007 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01346, allocations: 3.938 kB / 1.007 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005999/0.01406, allocations: 280.5 kB / 1.007 GB, free: 6.242 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.01408, allocations: 15.83 kB / 1.007 GB, free: 6.227 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.01411, allocations: 7.984 kB / 1.007 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.01425, allocations: 19.98 kB / 1.007 GB, free: 6.199 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.0144, allocations: 43.88 kB / 1.007 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.01441, allocations: 0 / 1.007 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.759e-05/0.0145, allocations: 109.4 kB / 1.008 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.0145, allocations: 0 / 1.008 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002118/0.01471, allocations: 24 kB / 1.008 GB, free: 6.027 MB / 0.9636 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001454/0.01485, allocations: 103.2 kB / 1.008 GB, free: 5.914 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000633/0.01549, allocations: 343.8 kB / 1.008 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01549, allocations: 0 / 1.008 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.0158, allocations: 165 kB / 1.008 GB, free: 5.355 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.01601, allocations: 12 kB / 1.008 GB, free: 5.344 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005916/0.0166, allocations: 255 kB / 1.008 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.353e-05/0.01669, allocations: 75.33 kB / 1.008 GB, free: 4.965 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 6.129e-05/0.01675, allocations: 7.984 kB / 1.008 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.01679, allocations: 12.5 kB / 1.008 GB, free: 4.945 MB / 0.9636 GB Notification: Performance of SimCode: time 4.41e-07/0.01679, allocations: 4 kB / 1.008 GB, free: 4.941 MB / 0.9636 GB Notification: Performance of Templates: time 0.00629/0.02308, allocations: 2.046 MB / 1.01 GB, free: 2.926 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.98525241855532]