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.0009406/0.0009406, allocations: 83.69 kB / 21.74 MB, free: 2.512 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.0008826/0.0008826, allocations: 172.9 kB / 25.18 MB, free: 8.918 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 0.9007/0.9007, allocations: 177.1 MB / 205.6 MB, free: 5.395 MB / 186.7 MB " [Timeout remaining time 179] 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 1.899/1.899, allocations: 389.6 MB / 0.6364 GB, free: 12.23 MB / 0.6042 GB " [Timeout remaining time 178] 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 9.72e-07/9.72e-07, allocations: 0 / 0.7755 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.869e-06/1.084e-05, allocations: 3.219 kB / 0.7755 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001904/0.001915, allocations: 1.575 MB / 0.777 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006526/0.002567, allocations: 0.5231 MB / 0.7775 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.84e-05/0.002616, allocations: 0 / 0.7775 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 8.218e-05/0.002698, allocations: 7.922 kB / 0.7775 GB, free: 3.965 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.807e-05/0.002746, allocations: 12.86 kB / 0.7776 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.002918, allocations: 51.55 kB / 0.7776 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.003044, allocations: 98.12 kB / 0.7777 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.274e-05/0.003107, allocations: 24.03 kB / 0.7777 GB, free: 3.797 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.003246, allocations: 67.81 kB / 0.7778 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.502e-05/0.003301, allocations: 31.95 kB / 0.7778 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.003319, allocations: 8 kB / 0.7778 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.024e-05/0.003359, allocations: 12.59 kB / 0.7778 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.14e-05/0.003391, allocations: 19.91 kB / 0.7779 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.003428, allocations: 33.05 kB / 0.7779 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.003543, allocations: 75.78 kB / 0.778 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.003545, allocations: 0 / 0.778 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.31e-07/0.003545, allocations: 1.719 kB / 0.778 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.895e-06/0.003548, allocations: 0 / 0.778 GB, free: 3.555 MB / 0.7292 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.0003332/0.003881, allocations: 352 kB / 0.7783 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.003911, allocations: 10.12 kB / 0.7783 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.866e-05/0.004, allocations: 20.92 kB / 0.7783 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.004115, allocations: 138.4 kB / 0.7785 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.004124, allocations: 4.375 kB / 0.7785 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.004137, allocations: 11.56 kB / 0.7785 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.004265, allocations: 128.6 kB / 0.7786 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.004271, allocations: 192 / 0.7786 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.00428, allocations: 4.125 kB / 0.7786 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.004285, allocations: 4 kB / 0.7786 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.968e-05/0.004335, allocations: 57.67 kB / 0.7787 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002215/0.004557, allocations: 191 kB / 0.7788 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.995e-05/0.004637, allocations: 79.83 kB / 0.7789 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.492e-05/0.004682, allocations: 66.66 kB / 0.779 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.004689, allocations: 0 / 0.779 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/0.004791, allocations: 121 kB / 0.7791 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 8.21e-07/0.004792, allocations: 0 / 0.7791 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.000151/0.004943, allocations: 194.7 kB / 0.7793 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.004979, allocations: 89.09 kB / 0.7794 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.081e-05/0.00504, allocations: 137.5 kB / 0.7795 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.005054, allocations: 34.83 kB / 0.7795 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.313e-05/0.005087, allocations: 88.09 kB / 0.7796 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.316e-05/0.005101, allocations: 23.81 kB / 0.7796 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.005139, allocations: 30.77 kB / 0.7797 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002876/0.005426, allocations: 322.8 kB / 0.78 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.81e-05/0.005474, allocations: 79.39 kB / 0.78 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.494e-05/0.005519, allocations: 84.14 kB / 0.7801 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.599e-05/0.005595, allocations: 137.3 kB / 0.7803 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.005597, allocations: 4 kB / 0.7803 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001164/0.005714, allocations: 209.5 kB / 0.7805 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.005746, allocations: 70.05 kB / 0.7805 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/0.005749, allocations: 0 / 0.7805 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.631e-06/0.005755, allocations: 0.7188 kB / 0.7805 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.618e-05/0.005811, allocations: 19.92 kB / 0.7806 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.005813, allocations: 1.5 kB / 0.7806 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.691e-05/0.00587, allocations: 23.92 kB / 0.7806 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.005879, allocations: 4 kB / 0.7806 GB, free: 0.5781 MB / 0.7292 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 6.422e-05/0.005943, allocations: 152 kB / 0.7807 GB, free: 424 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.005957, allocations: 15.94 kB / 0.7807 GB, free: 408 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.929e-05/0.005977, allocations: 16.77 kB / 0.7808 GB, free: 396 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.005978, allocations: 0.7812 kB / 0.7808 GB, free: 396 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.005979, allocations: 0 / 0.7808 GB, free: 396 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.005982, allocations: 0.9688 kB / 0.7808 GB, free: 396 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.692e-05/0.006039, allocations: 77.88 kB / 0.7808 GB, free: 300 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.00604, allocations: 0 / 0.7808 GB, free: 300 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.453e-05/0.006064, allocations: 12.89 kB / 0.7808 GB, free: 288 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.91e-07/0.006065, allocations: 0 / 0.7808 GB, free: 288 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.006073, allocations: 4.969 kB / 0.7808 GB, free: 284 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.006074, allocations: 3.938 kB / 0.7809 GB, free: 280 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.006075, allocations: 0 / 0.7809 GB, free: 280 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.006183, allocations: 181.9 kB / 0.781 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.255e-06/0.006191, allocations: 3.953 kB / 0.781 GB, free: 64 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.006205, allocations: 4 kB / 0.781 GB, free: 60 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.709e-05/0.006252, allocations: 24.53 kB / 0.7811 GB, free: 36 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.006313, allocations: 31.97 kB / 0.7811 GB, free: 4 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.00632, allocations: 4.531 kB / 0.7811 GB, free: 0 / 0.7292 GB Notification: Performance of sorting global known variables: time 3.491e-05/0.006355, allocations: 21.59 kB / 0.7811 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006355, allocations: 0 / 0.7811 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001002/0.006455, allocations: 36.92 kB / 0.7811 GB, free: 15.94 MB / 0.7448 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 5.937e-05/0.006514, allocations: 85.3 kB / 0.7812 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00017/0.006684, allocations: 272.7 kB / 0.7815 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.006688, allocations: 0 / 0.7815 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.393e-05/0.006762, allocations: 131.3 kB / 0.7816 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.996e-05/0.006842, allocations: 19.98 kB / 0.7816 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/0.00723, allocations: 281.6 kB / 0.7819 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.256e-05/0.007273, allocations: 72.05 kB / 0.782 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.07e-05/0.007363, allocations: 80.05 kB / 0.782 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.007364, allocations: 0 / 0.782 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of Templates: time 0.001759/0.009123, allocations: 1.498 MB / 0.7835 GB, free: 13.44 MB / 0.7448 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 > Buildings_13_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.523447777144611]