Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.354/1.354, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 165 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 205 MB / 0.5767 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007767/0.0007768, allocations: 90.33 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004568/0.000457, allocations: 11.53 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2479, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.002019/0.2499, allocations: 1.211 MB / 0.8979 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.251, allocations: 0.5126 MB / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.725e-05/0.2511, allocations: 0 / 0.8984 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.2513, allocations: 7.922 kB / 0.8984 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.251e-05/0.2514, allocations: 11.92 kB / 0.8984 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.2517, allocations: 31.91 kB / 0.8985 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.2518, allocations: 87.77 kB / 0.8986 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.2519, allocations: 16.11 kB / 0.8986 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.2521, allocations: 47.83 kB / 0.8986 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.2522, allocations: 35.83 kB / 0.8986 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.2523, allocations: 4 kB / 0.8987 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.863e-05/0.2523, allocations: 4 kB / 0.8987 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.706e-05/0.2524, allocations: 11.98 kB / 0.8987 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.192e-05/0.2524, allocations: 35.8 kB / 0.8987 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.2526, allocations: 75.75 kB / 0.8988 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2526, allocations: 3.984 kB / 0.8988 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2526, allocations: 0 / 0.8988 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.2526, allocations: 3.938 kB / 0.8988 GB, free: 66.07 MB / 0.6042 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.0007645/0.2534, allocations: 438.6 kB / 0.8992 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.2534, allocations: 8.031 kB / 0.8992 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/0.2535, allocations: 12.92 kB / 0.8992 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.2537, allocations: 192.1 kB / 0.8994 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.2537, allocations: 4.375 kB / 0.8994 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.2537, allocations: 8.375 kB / 0.8994 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.2541, allocations: 133.7 kB / 0.8995 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.2541, allocations: 0 / 0.8995 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.2541, allocations: 4 kB / 0.8995 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2541, allocations: 4 kB / 0.8995 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.2544, allocations: 99.92 kB / 0.8996 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005751/0.255, allocations: 336.8 kB / 0.9 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.2553, allocations: 122.5 kB / 0.9001 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.2555, allocations: 76.94 kB / 0.9002 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.2555, allocations: 4 kB / 0.9002 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003326/0.2559, allocations: 139.3 kB / 0.9003 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.883e-06/0.2559, allocations: 0 / 0.9003 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0006541/0.2565, allocations: 295.1 kB / 0.9006 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.2566, allocations: 89.09 kB / 0.9007 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.791e-05/0.2567, allocations: 123.1 kB / 0.9008 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.2567, allocations: 37.7 kB / 0.9008 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.2568, allocations: 99.97 kB / 0.9009 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.2568, allocations: 15.81 kB / 0.9009 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.2568, allocations: 25.64 kB / 0.9009 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.168e-05/0.2569, allocations: 318.8 kB / 0.9013 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.2571, allocations: 71.95 kB / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.2573, allocations: 80.02 kB / 0.9014 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.2576, allocations: 202 kB / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2576, allocations: 3.938 kB / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004327/0.258, allocations: 280.8 kB / 0.9019 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.714e-05/0.2581, allocations: 63.41 kB / 0.9019 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.2581, allocations: 0 / 0.9019 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.2581, allocations: 0 / 0.9019 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.2582, allocations: 15.98 kB / 0.9019 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.2583, allocations: 0 / 0.9019 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.2584, allocations: 35.91 kB / 0.902 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.2584, allocations: 4 kB / 0.902 GB, free: 62.51 MB / 0.6042 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 9.563e-05/0.2585, allocations: 163.4 kB / 0.9021 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.2586, allocations: 7.906 kB / 0.9021 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.951e-05/0.2586, allocations: 12.38 kB / 0.9021 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2586, allocations: 0 / 0.9021 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2586, allocations: 0 / 0.9021 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.983e-05/0.2587, allocations: 88.98 kB / 0.9022 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.2587, allocations: 15.94 kB / 0.9022 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.2588, allocations: 23.98 kB / 0.9023 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.259, allocations: 31.95 kB / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005067/0.2595, allocations: 378 kB / 0.9027 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004288/0.2599, allocations: 408.3 kB / 0.9031 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001768/0.2601, allocations: 87.95 kB / 0.9031 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.261e-05/0.2602, allocations: 104.8 kB / 0.9032 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of Backend: time 3.01e-07/0.2602, allocations: 0 / 0.9032 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005516/0.2607, allocations: 289.1 kB / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005718/0.2613, allocations: 0.6876 MB / 0.9042 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of Templates: time 0.004128/0.2655, allocations: 1.749 MB / 0.9059 GB, free: 58.34 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)