Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.628/1.628, allocations: 287.4 MB / 303.2 MB, free: 8.352 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.001122/0.001123, allocations: 178.8 kB / 371.8 MB, free: 10.81 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.703/1.703, allocations: 205.4 MB / 0.6305 GB, free: 10.54 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.0008017/0.0008016, allocations: 99.5 kB / 0.7438 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.000403, allocations: 14.55 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2193, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001585/0.2209, allocations: 1.183 MB / 0.9804 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006673/0.2216, allocations: 476.1 kB / 0.9809 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/0.2217, allocations: 4 kB / 0.9809 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.392e-05/0.2218, allocations: 3.938 kB / 0.9809 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.149e-05/0.2218, allocations: 11.86 kB / 0.9809 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.222, allocations: 31.97 kB / 0.9809 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.2222, allocations: 83.69 kB / 0.981 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.2223, allocations: 16.19 kB / 0.981 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.2224, allocations: 39.89 kB / 0.9811 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.113e-05/0.2225, allocations: 35.83 kB / 0.9811 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.158e-05/0.2225, allocations: 4 kB / 0.9811 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.717e-05/0.2226, allocations: 4 kB / 0.9811 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.757e-05/0.2226, allocations: 15.92 kB / 0.9811 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.2227, allocations: 37.7 kB / 0.9812 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.526e-05/0.2228, allocations: 56.11 kB / 0.9812 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2228, allocations: 0 / 0.9812 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2228, allocations: 0 / 0.9812 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.2228, allocations: 0 / 0.9812 GB, free: 26.19 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.0006376/0.2234, allocations: 438.7 kB / 0.9816 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.2235, allocations: 8.031 kB / 0.9816 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.2235, allocations: 20.78 kB / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.2237, allocations: 196.1 kB / 0.9818 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.2238, allocations: 4.375 kB / 0.9818 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.2238, allocations: 4.375 kB / 0.9818 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.2241, allocations: 125.7 kB / 0.982 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2241, allocations: 4 kB / 0.982 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.2241, allocations: 8 kB / 0.982 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2241, allocations: 0 / 0.982 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/0.2244, allocations: 99.92 kB / 0.9821 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.2249, allocations: 352.6 kB / 0.9824 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.2252, allocations: 118.5 kB / 0.9825 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.2254, allocations: 76.94 kB / 0.9826 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.2254, allocations: 0 / 0.9826 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003203/0.2257, allocations: 131.3 kB / 0.9827 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.2257, allocations: 0 / 0.9827 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0006522/0.2264, allocations: 303.1 kB / 0.983 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.2265, allocations: 81.11 kB / 0.9831 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.953e-05/0.2265, allocations: 131.9 kB / 0.9832 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.2266, allocations: 37.7 kB / 0.9833 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.226e-05/0.2266, allocations: 92.12 kB / 0.9833 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.2266, allocations: 19.75 kB / 0.9834 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/0.2267, allocations: 4 kB / 0.9834 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.778e-05/0.2267, allocations: 322.8 kB / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.2269, allocations: 75.95 kB / 0.9837 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.2271, allocations: 71.95 kB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.2274, allocations: 201.8 kB / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2274, allocations: 0 / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004447/0.2278, allocations: 276.9 kB / 0.9843 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.37e-05/0.2279, allocations: 67.39 kB / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2279, allocations: 0 / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.2279, allocations: 0 / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.228, allocations: 19.92 kB / 0.9843 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.2281, allocations: 0 / 0.9843 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.2282, allocations: 39.88 kB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.2282, allocations: 4 kB / 0.9844 GB, free: 22.64 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 9.986e-05/0.2284, allocations: 159.5 kB / 0.9845 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.2284, allocations: 4 kB / 0.9845 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.2284, allocations: 16.36 kB / 0.9846 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.2284, allocations: 0 / 0.9846 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2284, allocations: 0 / 0.9846 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.2285, allocations: 81.02 kB / 0.9846 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.2285, allocations: 11.94 kB / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.2286, allocations: 31.97 kB / 0.9847 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.2288, allocations: 39.94 kB / 0.9847 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005454/0.2293, allocations: 378 kB / 0.9851 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000481/0.2298, allocations: 412.6 kB / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001957/0.23, allocations: 87.95 kB / 0.9856 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.412e-05/0.2301, allocations: 107.1 kB / 0.9857 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of Backend: time 8.21e-07/0.2301, allocations: 0 / 0.9857 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006219/0.2307, allocations: 289.1 kB / 0.9859 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0007165/0.2315, allocations: 0.6808 MB / 0.9866 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.004082/0.2355, allocations: 1.707 MB / 0.9883 GB, free: 18.51 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)