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.646/1.646, allocations: 288.4 MB / 304.3 MB, free: 8.055 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.001074/0.001074, allocations: 176.5 kB / 372.9 MB, free: 10.17 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.796/1.796, allocations: 205.4 MB / 0.6316 GB, free: 9.926 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.0007987/0.0007986, allocations: 84.2 kB / 0.745 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.0004594, allocations: 15.88 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2226, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001382/0.224, allocations: 1.195 MB / 0.9819 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006008/0.2246, allocations: 472.8 kB / 0.9823 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.124e-05/0.2247, allocations: 3.938 kB / 0.9823 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.55e-05/0.2247, allocations: 7.938 kB / 0.9824 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.499e-05/0.2248, allocations: 11.88 kB / 0.9824 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.225, allocations: 31.95 kB / 0.9824 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.898e-05/0.2251, allocations: 79.77 kB / 0.9825 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.332e-05/0.2252, allocations: 16.17 kB / 0.9825 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.2253, allocations: 39.84 kB / 0.9825 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.873e-05/0.2254, allocations: 35.89 kB / 0.9826 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.2254, allocations: 4 kB / 0.9826 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.2254, allocations: 4 kB / 0.9826 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.011e-05/0.2254, allocations: 15.92 kB / 0.9826 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.566e-05/0.2255, allocations: 65.53 kB / 0.9826 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.374e-05/0.2256, allocations: 48.12 kB / 0.9827 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2256, allocations: 0 / 0.9827 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.744e-06/0.2256, allocations: 0 / 0.9827 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.2256, allocations: 0 / 0.9827 GB, free: 25.34 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.0005277/0.2261, allocations: 442.7 kB / 0.9831 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.2262, allocations: 8.031 kB / 0.9831 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.2262, allocations: 8.844 kB / 0.9831 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.2264, allocations: 192.2 kB / 0.9833 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.2264, allocations: 8.312 kB / 0.9833 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.2264, allocations: 12.36 kB / 0.9833 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.2267, allocations: 129.7 kB / 0.9835 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.2267, allocations: 0 / 0.9835 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.2267, allocations: 0 / 0.9835 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2267, allocations: 4 kB / 0.9835 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002699/0.227, allocations: 103.9 kB / 0.9836 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.2275, allocations: 344.6 kB / 0.9839 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.2277, allocations: 122.4 kB / 0.984 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.2279, allocations: 80.94 kB / 0.9841 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.2279, allocations: 4 kB / 0.9841 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002778/0.2282, allocations: 127.3 kB / 0.9842 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.2282, allocations: 3.938 kB / 0.9842 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0005958/0.2288, allocations: 299.1 kB / 0.9845 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.2289, allocations: 93.03 kB / 0.9846 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.116e-05/0.229, allocations: 125.8 kB / 0.9847 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.229, allocations: 29.7 kB / 0.9847 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.229, allocations: 88.14 kB / 0.9848 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.229, allocations: 27.8 kB / 0.9848 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.2291, allocations: 8 kB / 0.9849 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.744e-05/0.2291, allocations: 318.8 kB / 0.9852 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.2293, allocations: 71.95 kB / 0.9852 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.2295, allocations: 79.94 kB / 0.9853 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/0.2297, allocations: 197.8 kB / 0.9855 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.2298, allocations: 0 / 0.9855 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004038/0.2302, allocations: 272.9 kB / 0.9858 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.2302, allocations: 63.41 kB / 0.9858 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2302, allocations: 0 / 0.9858 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.2302, allocations: 0 / 0.9858 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.2304, allocations: 23.98 kB / 0.9858 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2304, allocations: 3.938 kB / 0.9858 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.2305, allocations: 35.88 kB / 0.9859 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.2305, allocations: 4 kB / 0.9859 GB, free: 21.79 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 8.313e-05/0.2306, allocations: 155.5 kB / 0.986 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.2306, allocations: 12 kB / 0.986 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.2307, allocations: 8.375 kB / 0.986 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2307, allocations: 0 / 0.986 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2307, allocations: 0 / 0.986 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.833e-05/0.2307, allocations: 89.09 kB / 0.9861 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.2308, allocations: 12.12 kB / 0.9861 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.2309, allocations: 27.98 kB / 0.9862 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.231, allocations: 43.94 kB / 0.9862 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004896/0.2315, allocations: 370 kB / 0.9866 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004086/0.2319, allocations: 412.3 kB / 0.987 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001728/0.2321, allocations: 83.94 kB / 0.987 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.807e-05/0.2322, allocations: 108.4 kB / 0.9871 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of Backend: time 4.01e-07/0.2322, allocations: 0 / 0.9871 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005081/0.2327, allocations: 285.2 kB / 0.9874 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004049/0.2331, allocations: 0.6925 MB / 0.9881 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of Templates: time 0.003429/0.2365, allocations: 1.701 MB / 0.9897 GB, free: 17.67 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)